PicoScope 3000A Series Prog rammer's Guide 87
Copyright © 2011-2013 Pico Technology Limited. All rights reserved. ps3000abpg.en r9
2.12.51
ps3000aSetSigGenBuiltIn
PICO_STATUS ps3000aSetSigGenBuiltIn
(
short handle,
long offsetVoltage,
unsigned long pkToPk,
PS3000A_WAVE_TYPE waveType,
float startFrequency,
float stopFrequency,
float increment,
float dwellTime,
PS3000A_SWEEP_TYPE sweepType,
PS3000A_EXTRA_OPERATIONS operation,
unsigned long shots,
unsigned long sweeps,
PS3000A_SIGGEN_TRIG_TYPE triggerType,
PS3000A_SIGGEN_TRIG_SOURCE triggerSource,
short extInThreshold
)
This function sets up the signal generator to produce a signal from a list of built-in
waveforms. If different start and stop frequencies are specified, the device will sweep
either up, down or up and down.
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.
Note that if the signal voltages described by the combination of
offsetVoltage and pkToPk extend outside the voltage range of the
signal generator, the output waveform will be clipped.
waveType, the type of waveform to be generated.
The following waveTypes apply to B and MSO models only.
half (full-wave rectified) sine
startFrequency, the frequency that the signal generator will
initially produce. For allowable values see
PS3000A_SINE_MAX_FREQUENCY and related values.
stopFrequency, the frequency at which the sweep reverses
direction or returns to the initial frequency