User Manual

PicoScope 4000 Series Programmer's Guide 23
Copyright © 2008-2011 Pico Technology Ltd. All rights reserved. ps4000pg.en
4.10.4
ps4000EnumerateUnits
PICO_STATUS ps4000EnumerateUnits
(
short * count,
char * serials,
short * serialLth
)
This function counts the number of PicoScope 4000 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 scopes 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