Visa Connection works fine but when using the new Visadev it doesn't work

10 ビュー (過去 30 日間)
Dor Gotleyb
Dor Gotleyb 2022 年 4 月 14 日
編集済み: Harimurali 2024 年 3 月 20 日
Hello,
Until now I worked with the command:
INSTR = visa('ni','USB0::0x05E6::0x2450::[SerialNum]::INSTR');
And the connection worked fine. But there is a worning that matlab will stop support this function so I wanted to move to Visadev but it doesn't work
INSTR = visadeb('USB0::0x05E6::0x2450::[SerialNum]::INSTR');
I'm getting the following error:
Resource string is invalid or resource was not found.
What am I doing wrong?
Thanks
  1 件のコメント
Carol Koh
Carol Koh 2023 年 4 月 14 日
Hi I'm having the same issue as well. I was wondering if you managed to find a solution on this?
Thanks

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

回答 (1 件)

Harimurali
Harimurali 2024 年 3 月 19 日
編集済み: Harimurali 2024 年 3 月 20 日
Hi Dor,
This seems to be a known issue for MATLAB versions prior to R2022b and R2022a Update 4. Refer to the following bug report for detailed information about the issue: https://www.mathworks.com/support/bugreports/details/2617725
The fix for this is to use R2022b, R2022a Update 4, or future versions of MATLAB.
If this does not fix the issue, the error could be due to an issue with the VISA interface. Refer to the VISA interface troubleshooting page:

カテゴリ

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

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by