
PicoScope 3000A Series Prog rammer's Guide
29
Copyright © 2011-2013 Pico Technology Limited. All rights reserved.
ps3000abpg.en r9
2.12.6 ps3000aEnumerateUnits
PICO_STATUS ps3000aEnumerateUnits
(
short * count,
char * serials,
short * serialLth
)
This function counts the number of PicoScope 3000A units connected to the computer,
and returns a list of serial numbers as a string.
Applicability
All modes
Arguments
* count,
on exit, the number of PicoScope 3000A units found
* serials,
on exit, a list of serial numbers separated by commas
and terminated by a final null. Example:
AQ005/139,VDR61/356,ZOR14/107
. Can be NULL on entry if
serial numbers are not required.
* serialLth,
on entry, the length of the char buffer pointed to
by
serials;
on exit, the length of the string written to
serials
PICO_OK
PICO_BUSY
PICO_NULL_PARAMETER
PICO_FW_FAIL
PICO_CONFIG_FAIL
PICO_MEMORY_FAIL
PICO_CONFIG_FAIL_AWG
PICO_INITIALISE_FPGA