Open topic with navigationDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
xlAcquireLED
CAPL Functions » General » Function Overview » xlAcquireLEDTool Availability
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
Description
Acquires the specified LEDs of a hardware device in order to set their operation mode with xlSetLED afterwards. This function is only supported on VN8900 devices. Note that for every successful call ofxlAcquireLED on a specific LED, you have to call xlReleaseLED to release this LED again.
Parameters
- ledBitMask: The LEDs you want to acquire. Note that you can bitwise combine the values to specify multiple LEDs. The following LEDs are available for VN8900 devices:
- Module (M): 0x001
- CAN Channel 1: 0x008
- CAN Channel 2: 0x010
- CAN Channel 3: 0x020
- CAN Channel 4: 0x040
- FlexRay Channel 1 A: 0x080
- FlexRay Channel 1 B: 0x100
- Keypad S1: 0x200
- Keypad S2: 0x400
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.