connect instruments with usb cable

조회 수: 16 (최근 30일)
Thaís Camargo
Thaís Camargo 2013년 3월 26일
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??

답변 (1개)

Walter Roberson
Walter Roberson 2013년 3월 26일
편집: Walter Roberson 2013년 3월 26일
  댓글 수: 2
Thaís Camargo
Thaís Camargo 2013년 3월 26일
편집: Walter Roberson 2013년 3월 26일
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?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Instrument Control Toolbox Supported Hardware에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by