52
Chapter 2
Basic Operation
Using the Programmatic Interfaces
B
a
si
c Op
er
at
io
n
disp(errorN);
disp(errorMsg);
disp('program stopped');
return
else
disp('ok');
end
[ errorN, errorMsg ] =
agt_awg_abortgeneration(instrumentHandle1);
if errorN ~= 0
disp(errorN);
disp(errorMsg);
disp('program stopped');
return
else
disp('ok');
end
agt_awg_close( instrumentHandle1 );
agt_awg_close( instrumentHandle2 );
disp('Session to the instrument closed
successfully.');
/rc = AGN6030A_close(session);
return 0;
}
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com