Why can't I use my Keysight instrument with Data Acquisition Toolbox?
5 views (last 30 days)
Show older comments
MathWorks Support Team
on 23 Sep 2020
Answered: MathWorks Support Team
on 23 Sep 2020
I am trying to control a Keysight U2331a with MATLAB (R2020a). I am able to send text commands to the device using Instrument Control Toolbox, but I would also like to read data from the device using Data Acquisition Toolbox. When I try to find available hardware and receive the following error:
>> d=daq.getDevices
d =
No data acquisition devices available.
Click here for a list of known vendors.
Click here for troubleshooting tips.
Why isn't this device recognized by Data Acquisition Toolbox, and how do I resolve this issue?
Accepted Answer
MathWorks Support Team
on 23 Sep 2020
The reason that you are unable to connect to your device using these commands is that these commands are for our Data Acquisition Toolbox (DAQ), for which Keysight instruments are only supported in the 32-bit version of MATLAB (and DAQ). For more information, see the following MathWorks support page for DAQ:
If you wish to control this instrument and read data from it with your current MATLAB installation (R2020a), you can do so using Instrument Control Toolbox. The following documentation pages provide information about how to read data from this device using Instrument Control Toolbox:
Keysight Instruments and MATLAB: General Information/Getting Started
VISA (USB) Communication for Instrument Control Toolbox: Functions
0 Comments
More Answers (0)
See Also
Categories
Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!