Problems with VISA connectivity (visadev)

190 ビュー (過去 30 日間)
Eduardo Muller
Eduardo Muller 2021 年 7 月 5 日
コメント済み: carl oros 2023 年 11 月 21 日
Using the function
visadev('TCPIP0::127.0.0.1::inst0::INSTR')
Gives the error
Unable to get VISA installation information from shared library.
And
visadevlist
returns
Unable to find any VISA resources during the specified timeout period. Open the vendor's control software to search for available
VISA resources.
  4 件のコメント
Nicolas Garcia
Nicolas Garcia 2021 年 8 月 3 日
I am also getting this error when connecting to Keysight instruments. It is particularly frustrating because there appears to be no change in the hardware or connectivity setup parameters. I didn't run into this issue using the original 'visa'
Zahra Vaziri
Zahra Vaziri 2022 年 10 月 11 日
I'm having the same problem! @Lukas Grundmann answer did not help...
Anyone have any more ideas?

サインインしてコメントする。

回答 (2 件)

Lukas Grundmann
Lukas Grundmann 2021 年 11 月 2 日
Hello,
I had the exact same problem and fixed it as follows:
  1. Open your Keysight Connection Expert
  2. In the top right hand corner, click the little gear symbol to open the settings dialogue
  3. Go to "Tools"
  4. Got to "VISA Conflict Manager"
  5. In the tab "General VISA Settings", no implmentations were enabled when I first opened it. I have multiple implementations installed and now enabled "Keysight VISA" and "Keysight VISA.NET". Also, I selected them as the "Preferred Implementation".
  6. Press "Apply" and "OK"
After this, the
visadev
command worked again for me.
  3 件のコメント
Roel
Roel 2023 年 4 月 19 日
worked for me, thanks!
carl oros
carl oros 2023 年 11 月 21 日
I had same issue. Worked perfectly! Thank you!!

サインインしてコメントする。


Andrei
Andrei 2023 年 10 月 20 日
This can be fixed in the vendor's VISA Conflict Manager utility. Refer to https://www.mathworks.com/matlabcentral/answers/1684554-why-do-i-get-an-error-with-visadev-and-visadevlist

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by