User manual

PicoScope 6000 Series Programmer's Guide 25
Copyright © 2009-2013 Pico Technology Ltd. All rights reserved. ps6000pg.en r9
3.9.4
ps6000EnumerateUnits
PICO_STATUS ps6000EnumerateUnits
(
short * count,
char * serials,
short * serialLth
)
This function counts the number of PicoScope 6000 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 6000 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
Returns
PICO_OK
PICO_BUSY
PICO_NULL_PARAMETER
PICO_FW_FAIL
PICO_CONFIG_FAIL
PICO_MEMORY_FAIL
PICO_ANALOG_BOARD
PICO_CONFIG_FAIL_AWG
PICO_INITIALISE_FPGA