Prog ramming the 3000A Series oscilloscopes120
Copyright © 2011-2013 Pico Technology Limited. All rights reserved.ps3000abpg.en r9
2.15
Driver status codes
Every function in the ps3000a driver returns a driver status code from the following
list of PICO_STATUS values. These definitions can also be found in the file
picoStatus.h, which is included in the PicoScope 3000A SDK. Not all codes apply to
the PicoScope 3000A SDK.
PICO_OK
The PicoScope is functioning correctly
PICO_MAX_UNITS_OPENED
An attempt has been made to open more than PS3000A_MAX_UNITS.
PICO_MEMORY_FAIL
Not enough memory could be allocated on the host machine
PICO_NOT_FOUND
No PicoScope could be found
PICO_FW_FAIL
Unable to download firmware
PICO_OPEN_OPERATION_IN_PROGRESS
PICO_NOT_RESPONDING
The PicoScope is not responding to commands from the PC
PICO_CONFIG_FAIL
The configuration information in the PicoScope has become corrupt or is
missing
PICO_KERNEL_DRIVER_TOO_OLD
The picopp.sys file is too old to be used with the device driver
PICO_EEPROM_CORRUPT
The EEPROM has become corrupt, so the device will use a default setting
PICO_OS_NOT_SUPPORTED
The operating system on the PC is not supported by this driver
PICO_INVALID_HANDLE
There is no device with the handle value passed
PICO_INVALID_PARAMETER
A parameter value is not valid
PICO_INVALID_TIMEBASE
The timebase is not supported or is invalid
PICO_INVALID_VOLTAGE_RANGE
The voltage range is not supported or is invalid
PICO_INVALID_CHANNEL
The channel number is not valid on this device or no channels have been set
PICO_INVALID_TRIGGER_CHANNEL
The channel set for a trigger is not available on this device
PICO_INVALID_CONDITION_CHANNEL
The channel set for a condition is not available on this device
PICO_NO_SIGNAL_GENERATOR
The device does not have a signal generator
PICO_STREAMING_FAILED
Streaming has failed to start or has stopped without user request
PICO_BLOCK_MODE_FAILED
Block failed to start - a parameter may have been set wrongly
PICO_NULL_PARAMETER
A parameter that was required is NULL