Chapter 2
51
Basic Operation
Using the Programmatic Interfaces
Basic Op
er
atio
n
if errorN ~= 0
disp(errorN);
disp(errorMsg);
disp('program stopped');
return
else
disp('ok');
end
[ errorN, errorMsg ] =
agt_awg_initiategeneration(instrumentHandle1);
if errorN ~= 0
disp(errorN);
disp(errorMsg);
disp('program stopped');
return
else
disp('ok');
end
disp('Press ENTER to close the instrument session
and conclude this example.');
pause;
disp('Abort Generation');
[ errorN, errorMsg ] =
agt_awg_abortgeneration(instrumentHandle2);
if errorN ~= 0
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com