필터 지우기
필터 지우기

How to get rid of this error?

조회 수: 2 (최근 30일)
Z
Z 2013년 7월 9일
I am trying to connect to a function generator and here is my code:
tmtool
>> g=gpib('ni',0,11);
>> fopen(g);
>> f=fgen();
>> f.Resource= 'GPIB0::11::INSTR';
>> f.Driver= 'tektronix_afg3022c.mdd';
>> connect(f)
I get the error: Failed to connect to instrument, please check instrument connection. So I tried using this command
obj = icdevice('tektronix_afg3022c.mdd',g)
connect(obj)
But that's only creating the interface- it will not connect to the function generator.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Generic Instrument Drivers에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by