Chapter 2
43
Basic Operation
Using the Programmatic Interfaces
Basic Op
er
atio
n
return;
end
disp('Transfering the waveform to the instrument');
[ waveformHandle, errorN, errorMsg ] =
agt_awg_storewaveform( instrumentHandle, waveform);
if( errorN ~= 0 )
% An error occurred while trying to transfer the
waveform.
disp('Could not transfer the waveform to the
instrument');
return;
end
disp('Initiating playback of the waveform on the
instrument');
[ errorN, errorMsg ] = agt_awg_playwaveform(
instrumentHandle, waveformHandle );
if( errorN ~= 0 )
% An error occurred while trying to playback the
waveform.
disp('Could not initiate playback of the
waveform on the instrument');
return;
end
disp('Press ENTER to close the instrument session
and conclude this example.');
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com