connect instruments with usb cable

16 vues (au cours des 30 derniers jours)
Thaís Camargo
Thaís Camargo le 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??

Réponses (1)

Walter Roberson
Walter Roberson le 26 Mar 2013
Modifié(e) : Walter Roberson le 26 Mar 2013
  2 commentaires
Thaís Camargo
Thaís Camargo le 26 Mar 2013
Modifié(e) : Walter Roberson le 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?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Instrument Control Toolbox Supported Hardware dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by