User Manual
Programming with the PicoScope 4000 Series76
Copyright © 2008-2011 Pico Technology Ltd. All rights reserved.ps4000pg.en
4.10.51
ps4000SetSigGenBuiltIn
PICO_STATUS ps4000SetSigGenBuiltIn (
short handle,
long offsetVoltage,
unsigned long pkToPk,
short waveType,
float startFrequency,
float stopFrequency,
float increment,
float dwellTime,
SWEEP_TYPE sweepType,
PS4000_OPERATION_TYPES operationType,
unsigned long shots,
unsigned long sweeps,
SIGGEN_TRIG_TYPE triggerType,
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 oscilloscope will
sweep either up, down or up and down.
Applicability
PicoScope 4226, 4227 and 4262 only
Arguments
handle, the handle of the required oscilloscope
offsetVoltage, the voltage offset, in microvolts, to be applied
to the waveform
pkToPk, the peak-to-peak voltage, in microvolts, of the waveform
signal
waveType, the type of waveform to be generated by the
oscilloscope. See the table below.
startFrequency, the frequency at which the signal generator
should begin. Range: MIN_SIG_GEN_FREQ to
MAX_SIG_GEN_FREQ.
stopFrequency, the frequency at which the sweep should
reverse direction or return to the start frequency. Range:
MIN_SIG_GEN_FREQ to MAX_SIG_GEN_FREQ.
increment, the amount by which the frequency rises or falls
every dwellTime seconds in sweep mode
dwellTime, the time in seconds between frequency changes in
sweep mode