
USB DrDAQ Programmer's Guide
27
Copyright © 2010-2011 Pico Technology Ltd. All rights reserved.
usbdrdaqpg.en
3.5.18 UsbDrDaqSetSigGenArbitrary
PICO_STATUS UsbDrDaqSetSigGenArbitrary(
short
handle,
long
offsetVoltage,
unsigned long
pkToPk,
short
* arbitraryWaveform,
short
arbitraryWaveformSize,
long
updateRate
)
This function allows full control of the arbitrary waveform generator by allowing an
arbitrary waveform to be passed to the driver.
Arguments:
handle:
or
offsetVoltage:
The offset voltage in microvolts. The offset voltage
must be in the range -1.5 V to 1.5 V.
pkToPk:
The peak-to-peak voltage in microvolts. The maximum
allowed is 3 V.
arbitraryWaveform:
A pointer to an array containing the
waveform. The waveform values must be in the range -1000 to 1000.
arbitraryWaveformSize:
The number of points in the waveform.
updateRate
: This is the rate at which the AWG steps through the
points in the waveform. This value must be in the range 1 to 2000000
points per second.
Returns:
11
23
37
37
37
37
Summary of Contents for DrDAQ
Page 2: ......