Chapter 2
49
Basic Operation
Using the Programmatic Interfaces
Basic Op
er
atio
n
end
disp('Transfering the waveform to the instrument');
[ waveformHandle, errorN, errorMsg ] =
agt_awg_storewaveform( instrumentHandle1,
waveform);
if errorN ~= 0
disp(errorN);
disp(errorMsg);
disp('program stopped');
return
else
disp('ok');
end
[ waveformHandle, errorN, errorMsg ] =
agt_awg_storewaveform( instrumentHandle2,
waveform);
if errorN ~= 0
disp(errorN);
disp(errorMsg);
disp('program stopped');
return
else
disp('ok');
end
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com