Why do I get an error with "visadev", "visadevlist" and VISA Explorer?

59 ビュー (過去 30 日間)
Why do I get an error with "visadev" and "visadevlist"? NI MAX, Keysight Connection Expert, and MATLAB legacy "visa" (and "instrhwinfo") work fine detecting and connecting to my instrument.
>> v=visadev('USB0::0x2A8D::0x1797::CN58236453::0::INSTR') Unable to get VISA installation information from shared library. >> visadevlist Unable to find any VISA resources during the specified timeout period. Open the vendor's control software to search for available VISA resources.
or
Unable to get VISA installation information from the shared library because no preferred VISA was found. Open the vendor's control software to set and enable the preferred VISA.  Related documentation
When trying to open VISA Explorer, I get:
Unable to open VISA Explorer because there is an issue with VISA library installation. Related documentation

採用された回答

MathWorks Support Team
MathWorks Support Team 2025 年 5 月 5 日
編集済み: MathWorks Support Team 2022 年 9 月 15 日
One possible reason is a misconfigured enabled & preferred VISA configuration.
Check the VISA Conflict Manager settings in your vendor's software
  • NI MAX for NI VISA
  • Keysight Connection Expert for Keysight VISA
Make sure that at least one VISA implementation is enabled and that one is set as preferred.
For example in Keysight Connection Expert, you can open the VISA Conflict Manager and change the settings as recommended.
*After you made the change, don't forget to save the changes made after exiting it.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInstrument Control Toolbox についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by