connect instruments with usb cable

16 Ansichten (letzte 30 Tage)
Thaís Camargo
Thaís Camargo am 26 Mär. 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??

Antworten (1)

Walter Roberson
Walter Roberson am 26 Mär. 2013
Bearbeitet: Walter Roberson am 26 Mär. 2013
  2 Kommentare
Thaís Camargo
Thaís Camargo am 26 Mär. 2013
Bearbeitet: Walter Roberson am 26 Mär. 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?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Instrument Control Toolbox Supported Hardware finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by