Instrument control hangs on tekvisa search

3 visualizzazioni (ultimi 30 giorni)
Jonas
Jonas il 11 Ott 2016
Commentato: Vinod il 18 Apr 2017
After moving my matlab license to a new computer, I'm unable to connect to instruments with tekvisa and instrument control. The most obvious error is that instrument control toolbox hangs when I scan for instruments through visa. I have also seen this exception: Exception: PRIVATEFINDHWINFO returned unexpected results or errored out.
Communicating directly with the instrument with a non-IVI driver works. I can also use the tekvisa "OpenChoice" tool to communicate. This is all tested with a Tektronix MSO4104 oscilloscope. I have installed the latest tekvisa and IVI shared components. I use Matlab R2015a with Windows 10.
  2 Commenti
Feng
Feng il 12 Apr 2017
I encountered the exact same problem with my system. Everything works fine two days ago and nothing changed. Just wondering if you got the problem resolved and how? Thanks, Feng
Vinod
Vinod il 18 Apr 2017
TekVISA is known to have some bugs with certain configurations. Perhaps you can try my solution below - uninstall TekVISA and install either the Agilent or the NI Hardware Support Package for VISA.

Accedi per commentare.

Risposte (1)

Vinod
Vinod il 11 Ott 2016
I would generally recommend Keysight (Agilent) VISA or National Instruments VISA. In my experience these are far more mature implementations that implement the most current VISA specification. If you are on one of the new versions of MATLAB, you can start by installing this using the Hardware Support Package . You may need to uninstall Tek VISA to get things working correctly.
  1 Commento
Jonas
Jonas il 13 Ott 2016
Ok, thank you. That is a workaround that I will keep as the last option. Mathworks still claims that they are compatible with tekVISA so it should work. And it did work before i switched computer.

Accedi per commentare.

Categorie

Scopri di più su Instrument Control Toolbox in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by