User manual

PicoScope 6000 Series Programmer's Guide 27
Copyright © 2009-2013 Pico Technology Ltd. All rights reserved. ps6000pg.en r9
3.9.6
ps6000GetAnalogueOffset
PICO_STATUS ps6000GetAnalogueOffset
(
short handle,
PS6000_RANGE, range
PS6000_COUPLING coupling
float * maximumVoltage,
float * minimumVoltage
)
This function is used to get the maximum and minimum allowable analog offset for a
specific voltage range.
Applicability
Not PicoScope 6407
Arguments
handle, the value returned from opening the device.
range, the voltage range to be used when
gathering the min and max information.
coupling, the type of AC/DC coupling used.
* maximumVoltage, a pointer to a float, an out parameter set to
the maximum voltage allowed for the range, may be NULL.
* minimumVoltage, a pointer to a float, an out parameter set to
the minimum voltage allowed for the range, may be NULL.
If both maximumVoltage and minimumVoltage are set to NULL the
driver will return PICO_NULL_PARAMETER.
Returns
PICO_OK
PICO_INVALID_HANDLE
PICO_DRIVER_FUNCTION
PICO_INVALID_VOLTAGE_RANGE
PICO_NULL_PARAMETER