Installation guide

API functions70
Copyright © 2008-2014 Pico Technology Ltd. All rights reserved.ps4000apg.en r1
indexMode, specifies how the signal will be formed from the arbitrary waveform
data. SINGLE, DUAL and QUAD index modes are possible (see AWG index modes).
shots, the number of cycles of the waveform to be produced after a trigger event.
If this is set to a non-zero value [1, MAX_SWEEPS_SHOTS], then sweeps must be set
to zero.
sweeps, the number of times to sweep the frequency after a trigger event,
according to sweepType. If this is set to a non-zero value [1,
MAX_SWEEPS_SHOTS], then shots must be set to zero.
triggerType, the type of trigger that will be applied to the signal generator:
SIGGEN_RISING:
rising edge
SIGGEN_FALLING:
falling edge
SIGGEN_GATE_HIGH:
high level
SIGGEN_GATE_LOW:
low level
triggerSource, the source that will trigger the signal generator:
SIGGEN_NONE:
no trigger (free-running)
SIGGEN_SCOPE_TRIG:
the selected oscilloscope channel (see
ps4000aSetSimpleTrigger)
SIGGEN_SOFT_TRIG:
a software trigger (see
ps4000aSigGenSoftwareControl)
If a trigger source other than SIGGEN_NONE is specified, then either shots or
sweeps, but not both, must be set to a non-zero value.
extInThreshold, not used
Returns
0: if successful.
Error code: if failed