Installation guide
PicoScope 4000 Series (A API) Programmer's Guide 25
Copyright © 2008-2014 Pico Technology Ltd. All rights reserved. ps4000apg.en r1
4.6
ps4000aEnumerateUnits
PICO_STATUS ps4000aEnumerateUnits
(
int16_t * count,
int8_t * serials,
int16_t * 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