Problems with VISA connectivity (visadev)
Afficher commentaires plus anciens
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 commentaires
Nicholas Estes
le 2 Août 2021
I am getting the same error. I am a bit peeved that the MATLAB editor explicitly warns against using 'visa' instead of 'visadev', when the refactoring is empirically not as trivial as the documentation suggests.
My scripts using visa have been hanging on fclose(obj), so I had hoped changing to visadev would fix things, but it looks like they have gotten worse.
Nicholas Estes
le 2 Août 2021
I should clarify that I am using Keysight instruments, with the latest version of IO Libraries. Keysight Connection Expert can "see" the instruments, and I am able to communicate with them using the "visa" function and fprintf, query, etc.
Nicolas Garcia
le 3 Août 2021
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
le 11 Oct 2022
Anyone have any more ideas?
Réponse acceptée
Plus de réponses (1)
Andrei
le 20 Oct 2023
1 vote
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
Catégories
En savoir plus sur VISA Interface dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!