connect instruments with usb cable

16 visualizzazioni (ultimi 30 giorni)
Thaís Camargo
Thaís Camargo il 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??

Risposte (1)

Walter Roberson
Walter Roberson il 26 Mar 2013
Modificato: Walter Roberson il 26 Mar 2013
  2 Commenti
Thaís Camargo
Thaís Camargo il 26 Mar 2013
Modificato: Walter Roberson il 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?

Accedi per commentare.

Categorie

Scopri di più su Instrument Control Toolbox Supported Hardware in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by