NI GPIB device connected shown in connection expert but not in visadevlist
21 次查看(过去 30 天)
显示 更早的评论
Hi, I have a couple of devices connected through NI GBIP and the devices are online in Keysight connection expert. But when I try to list them using visadevlist, I have the following warning no matter the Timeout:
Unable to find any VISA resources during the specified timeout period. Open the vendor's control software to search for available VISA resources.
Related documentation
The keysight connection expert setting is checked using these steps. Knowing the IP address, when I tried to create a GPIB object in MATLAB some devices show the following error:
>> visadev(['GPIB1::5::INSTR'])
Resource string is invalid or resource was not found.
See related documentation for troubleshooting steps.
but the same IP works for visa()
>> visa('agilent', ['GPIB1::5::INSTR']);
Warning: visa will be removed in a future release. Use visadev instead.
As I mentioned, some devices are working with visadev and some wont.
MATLAB release: 2022a Update 3
Is this a bug in the toolbox or am I missing something?
0 个评论
回答(1 个)
Harimurali
2024-3-19
编辑:Harimurali
2024-3-20
Hi Akshayaa,
This is a known issue with MATLAB R2022a Update 3 and previous versions. 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, one can get this error if the specified VISA resource is not valid, or the instrument is not connected. Refer to connection error troubleshooting page:
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!