PicoScope 7 Software
Available on Windows, Mac and Linux
Code: Select all
%% Arbitrary Waveform Generator - Output Shots
[status.setSigGenArbitrary] = invoke(sigGenGroupObj, 'setSigGenArbitrary', 0, 1, y, 0, 0, 2, 0, 0, 4, 0);
% Trigger the AWG
% State : 1
[status.sigGenSoftwareControl] = invoke(sigGenGroupObj, 'ps3000aSigGenSoftwareControl', 1);
Code: Select all
%% Arbitrary Waveform Generator - Output Shots
% Increment : 0 (Hz)
% Dwell Time : 1 (s)
% Arb. Waveform : y (defined above)
% Sweep Type : 0 (ps3000aEnuminfo.enPS3000ASweepType.PS3000A_UP)
% Operation : 0 (ps3000aEnuminfo.enPS3000AExtraOperations.PS3000A_ES_OFF)
% Shots : 2
% Sweeps : 0
% Trigger Type : 0 (ps3000aEnuminfo.enPS3000ASigGenTrigType.PS3000A_SIGGEN_RISING)
% Trigger Source : 4 (ps3000aEnuminfo.enPS3000ASigGenTrigSource.PS3000A_SIGGEN_SOFT_TRIG)
% Ext. Threshold : 0
[status.setSigGenArbitrary] = invoke(sigGenGroupObj, 'setSigGenArbitrary', 0, 1, y, 0, 0, 0, 2, 0, 0, 4, 0);
% Trigger the AWG
% State : 1
[status.sigGenSoftwareControl] = invoke(sigGenGroupObj, 'ps3000aSigGenSoftwareControl', 1);