CAPL Script

xlSetLED

Syntax

dword xlSetLED(dword ledBitMask, dword ledMode);

Function

Sets the LEDs specified byledBitMaskto the operation mode specified byledMode. A successful call ofxlAcquireLEDis necessary before the operation mode of an LED can be set with this function. This function is only supported onVN8900devices. Note that for every successful call ofxlAcquireLEDon a specific LED, you have to callxlReleaseLEDto release this LED again.

Parameters

ledBitMask The LEDs you want to set. You can bitwise combine the values to specify multiple LEDs. The following LEDs are available forVN8900devices:

ledMode

The operation mode which shall be valid for the specified LEDs. The operation modes are mutually exclusive and only one LED can be in one operation mode. The following operation modes are available:

Return Values

0: no error, function succeeded.

!= 0: error, function failed. Check whether your device supports this function and you have an appropriate driver installed on the device.

SeexlAcquireLED