
Prog ramming the 3000A Series oscilloscopes
88
Copyright © 2011-2013 Pico Technology Limited. All rights reserved.
ps3000abpg.en r9
Arguments
increment,
the amount of frequency increase or decrease in sweep
mode
dwellTime,
the time for which the sweep stays at each frequency,
in seconds
sweepType,
whether the frequency will sweep from
startFrequency
to
stopFrequency,
or in the opposite direction,
or repeatedly reverse direction. Use one of these constants:
PS3000A_UP
PS3000A_DOWN
PS3000A_UPDOWN
PS3000A_DOWNUP
operation,
the type of waveform to be produced, specified by one
of the following enumerated types (MSO and B models only):
, normal signal generator operation specified by
wavetype.
, the signal generator produces white noise
and ignores all settings except
pkToPk
and
offsetVoltage.
, produces a random bitstream with a bit rate
specified by the start and stop frequency.
shots,
0
: sweep the frequency as specified by
sweeps
1...
the number of cycles of the
waveform to be produced after a trigger event.
sweeps
must be
zero.
PS3000A_SHOT_SWEEP_TRIGGER_CONTINUOUS_RUN
start and
run continuously after trigger occurs
sweeps,
0
: produce number of cycles specified by
shots
1..
the number of times to sweep
the frequency after a trigger event, according to
sweepType.
shots
must be zero.
PS3000A_SHOT_SWEEP_TRIGGER_CONTINUOUS_RUN
start a
sweep and continue after trigger occurs
triggerType,
the type of trigger that will be applied to the signal
generator:
PS3000A_SIGGEN_RISING
trigger on rising edge
PS3000A_SIGGEN_FALLING
trigger on falling edge
PS3000A_SIGGEN_GATE_HIGH
run while trigger is high
PS3000A_SIGGEN_GATE_LOW
run while trigger is low