User manual
PicoScope 6000 Series Programmer's Guide 73
Copyright © 2009-2013 Pico Technology Ltd. All rights reserved. ps6000pg.en r9
Applicability
PicoScope 6402/3/4, including B and D variants
Arguments
handle, the handle of the required device
offsetVoltage, the voltage offset, in microvolts, to be applied to
the waveform
pkToPk, the peak-to-peak voltage, in microvolts, of the waveform
signal
startDeltaPhase, the initial value added to the phase counter as
the generator begins to step through the waveform buffer
stopDeltaPhase, the final value added to the phase counter
before the generator restarts or reverses the sweep
deltaPhaseIncrement, the amount added to the delta phase
value every time the dwellCount period expires. This determines
the amount by which the generator sweeps the output frequency in
each dwell period.
dwellCount, the time, in units of dacPeriod, between successive
additions of deltaPhaseIncrement to the delta phase counter.
This determines the rate at which the generator sweeps the output
frequency.
Minimum value: PS6000_MIN_DWELL_COUNT
* arbitraryWaveform, a buffer that holds the waveform pattern
as a set of samples equally spaced in time. If pkToPk is set to its
maximum (4 V) and offsetVoltage is set to 0, then:
a sample of 32768 corresponds to 2 V
a sample of +32767 corresponds to +2 V
arbitraryWaveformSize, the size of the arbitrary waveform
buffer, in samples, from PS6000_MIN_SIG_GEN_BUFFER_SIZE to
PS6000_MAX_SIG_GEN_BUFFER_SIZE.
sweepType, determines whether the startDeltaPhase is swept
up to the stopDeltaPhase, or down to it, or repeatedly swept up
and down. Use one of these values: -
PS6000_UP
PS6000_DOWN
PS6000_UPDOWN
PS6000_DOWNUP
operation, see ps6000SigGenBuiltIn
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:
PS6000_SINGLE
PS6000_DUAL
PS6000_QUAD