48
Chapter 2
Basic Operation
Using the Programmatic Interfaces
B
a
si
c Op
er
at
io
n
else
disp('ok');
end
disp('Setup the Master');
[ errorN, errorMsg ] = agt_awg_setstate(
instrumentHandle1, 'syncmode', 'master');
if errorN ~= 0
disp(errorN);
disp(errorMsg);
disp('program stopped');
return
else
disp('ok');
end
disp('Setup the Slave');
[ errorN, errorMsg ] = agt_awg_setstate(
instrumentHandle2, 'syncmode', 'slave');
if errorN ~= 0
disp(errorN);
disp(errorMsg);
disp('proram stopped');
return
else
disp('ok');
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com