connect instruments with usb cable

5 views (last 30 days)
Thaís Camargo
Thaís Camargo on 26 Mar 2013
I need to connect a function generator (Agilent 33522-A) with matlab using a usb cable, but I don't know how. There exist any command that can I use? Just like for connection with gpib??

Answers (1)

Walter Roberson
Walter Roberson on 26 Mar 2013
Edited: Walter Roberson on 26 Mar 2013
  2 Comments
Thaís Camargo
Thaís Camargo on 26 Mar 2013
Edited: Walter Roberson on 26 Mar 2013
Hello, thanks for help! But I see at the Instrument Control Toolbox, and they don't said any thing about connection with USB, just with serial or GPIB and I need to USB. Just the commands to create an object, like the Example:
g1 = gpib('ni', 0, 1, 'Tag', 'Oscilloscope');
g2 = gpib('ni', 0, 2, 'Tag', 'FunctionGenerator');
out1 = instrfind('Type', 'gpib')
out2 = instrfind('Tag', 'Oscilloscope')
out3 = instrfind({'Type', 'Tag'}, {'gpib', 'FunctionGenerator'})
but for USB cable, do you know how can I do this?

Sign in to comment.

Categories

Find more on Instrument Control Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!