User Manual

Programming with the PicoScope 4000 Series74
Copyright © 2008-2011 Pico Technology Ltd. All rights reserved.ps4000pg.en
dwellCount, the time, in 50 ns steps, between successive
additions of deltaPhaseIncrement to the delta phase counter.
This determines the rate at which the generator sweeps the output
frequency.
arbitraryWaveform, a pointer to a buffer that holds the
waveform pattern as a set of samples equally spaced in time.
Sample value ranges are as follows:
PicoScope 4226 and 4227:
[0, 4095]
PicoScope 4262:
[-32768, 32767]
arbitraryWaveformSize, the size of the arbitrary waveform
buffer, in samples:
PicoScope 4226 and 4227:
up to 8192
PicoScope 4262:
up to 4096
sweepType, determines whether the startDeltaPhase is swept
up to the stopDeltaPhase, or down to it, or repeatedly swept up
and down. Use one of the following values:
UP
DOWN
UPDOWN
DOWNUP
whiteNoise, If TRUE, the signal generator produces white noise
and ignores all settings except pkToPk and offsetVoltage. If
FALSE, the generator produces the arbitrary waveform.
indexMode, specifies how the signal will be formed from the
arbitrary waveform data. Single, dual and quad index modes are
possible. Use one of these constants:
SINGLE
DUAL
QUAD
shots, see ps4000SigGenBuiltIn
sweeps, see ps4000SigGenBuiltIn
triggerType, see ps4000SigGenBuiltIn
triggerSource, see ps4000SigGenBuiltIn
extInThreshold, see ps4000SigGenBuiltIn
Returns
0: if successful.
Error code: if failed