User manual
Programming with the PicoScope 6000 Series26
Copyright © 2009-2013 Pico Technology Ltd. All rights reserved.ps6000pg.en r9
3.9.5
ps6000FlashLed
PICO_STATUS ps6000FlashLed
(
short handle,
short start
)
This function flashes the LED on the front of the scope without blocking the calling
thread. Calls to ps6000RunStreaming and ps6000RunBlock cancel any flashing started
by this function. It is not possible to set the LED to be constantly illuminated, as this
state is used to indicate that the scope has not been initialized.
Applicability
All modes
Arguments
handle, the handle of the scope device
start, the action required: -
< 0
:
flash the LED indefinitely.
0
:
stop the LED flashing.
> 0
:
flash the LED start times. If the LED is already flashing
on entry to this function, the flash count will be reset to
start.
Returns
PICO_OK
PICO_HANDLE_INVALID
PICO_BUSY
PICO_DRIVER_FUNCTION
PICO_NOT_RESPONDING