« Back to Product

Documentation

LCN_SetLamp

 boolean LCN_SetLamp (int $InstanceID, int $Lamp, string $Action) 

Parameters

InstanceID

Instance ID; the ID of the splitter instance, not the device instance

Lamp

Selection of the panel lamps to be switched (1..12)

Action

What action to take.

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

Switches the panel lamp Lamp of the instance with the ID InstanceID to the value Action.

Action Description
'A' Turn off
'B' Flash
'E' Turn on
'F' Flicker

Example

// Blink panel light 2 of module with ID 12345.
LCN_SetLamp(12345, 2, 'B');
Any questions?