How to connect to an USB Test and Measurement (IVI) device in MATLAB
69 views (last 30 days)
Show older comments
I downloaded the Instrument Control Toolbox™ Support Package for IVI and VXIplug&play Drivers and I typed 'ividevlist' in command window to find my device (SR860) as what the help file in MATLAB says, but I got the error message '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."
However, I can see the detail of this device in VISA Instrument Control which means this device was definitely connected to this computer.
How can I connect to this device in MATLAB so that I can send commands to control it?
3 Comments
Answers (1)
R
on 28 Dec 2023
Hi,
In order to use "ividevlist", there are three required dependecies:
- A supported vendor VISA library.
- Instrument Control Toolbox Support Package for IVI and VXIplug&play Drivers: https://www.mathworks.com/help/instrument/install-instrument-control-toolbox-support-package-for-ivi-and-vxiplugplay-drivers.html
- IVI Compliance Package: https://www.mathworks.com/products/instrument/supported/ivi.html
From your question, I understand that you've downloaded the "Instrument Control Toolbox Support Package for IVI and VXIplug&play Drivers" support package. Make sure that all of the above dependencies are fullfilled.
If the issue still persists, a potential reason could be that the settings for the VISA are not set up correctly. Check the VISA Conflict Manager settings in your vendor's software and make sure that at least one VISA implementation is enabled and that one is set as preferred.
Refer to the detailed explanation provided in the following MATLAB Answer:
Hope this helps!
0 Comments
See Also
Categories
Find more on Instrument Control Toolbox Supported Hardware in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!