
Prog ramming the 3000A Series oscilloscopes
42
Copyright © 2011-2013 Pico Technology Limited. All rights reserved.
ps3000abpg.en r9
2.12.19 ps3000aGetUnitInfo
PICO_STATUS ps3000aGetUnitInfo
(
short handle,
char * string,
short stringLength,
short * requiredSize,
PICO_INFO info
)
This function retrieves information about the specified oscilloscope. If the device fails
to open or no device is opened, only the driver version is available.
Applicability
All modes
Arguments
handle,
the handle of the device to query. If an invalid handle is
passed, only the driver versions can be read.
* string,
on exit, the information string selected specified by the
info
argument. If
string
is NULL, only
requiredSize
is
returned.
stringLength,
on entry, the maximum number of chars that may
be written to
string
.
* requiredSize,
on exit, the required length of the
string
array.
info,
a number specifying what information is required. The
possible values are listed in the table below.
PICO_OK
PICO_INVALID_HANDLE
PICO_NULL_PARAMETER
PICO_INVALID_INFO
PICO_INFO_UNAVAILABLE
PICO_DRIVER_FUNCTION