Component Functions:
Name:
Channel:
Level: Command:
setLightOn(index,state)
Listener
Name: Light Listener
Interface: ILightComponentListener
Listener Functions:
Name:
Channel:
Level: Command:
processLightEvent
processLightEvent
processLightEvent
processLightEvent
processLightEvent
processLightEvent
processLightEvent
processLightEvent
processLightEvent
processLightEvent
processLightEvent
processLightEvent
processLightEvent
processLightEvent
processLightEvent
processLightEvent
processLightEvent
processLightEvent
processLightEvent
processLightEvent
processLightEvent
processLightLevelEvent
processLightLevel-
RampEvent
Standard NetLinx API (SNAPI) R 1.8.0
Constant:
LIGHTSTATE-<index>,<state>
ILightComponentListener
Constant:
LIGHTSTATE-1,<state>
LIGHTSTATE-10,<state>
LIGHTSTATE-11,<state>
LIGHTSTATE-12,<state>
LIGHTSTATE-13,<state>
LIGHTSTATE-14,<state>
LIGHTSTATE-15,<state>
LIGHTSTATE-16,<state>
LIGHTSTATE-17,<state>
LIGHTSTATE-18,<state>
LIGHTSTATE-19,<state>
LIGHTSTATE-2,<state>
LIGHTSTATE-20,<state>
LIGHTSTATE-3,<state>
LIGHTSTATE-4,<state>
LIGHTSTATE-5,<state>
LIGHTSTATE-6,<state>
LIGHTSTATE-7,<state>
LIGHTSTATE-8,<state>
LIGHTSTATE-9,<state>
LIGHTSTATE-<index>,<state>
LIGHTLEVEL-<index>,<level>
LIGHTRAMP-<index>,<state>
Notes:
Set the state of a light for the light at index <index>, where <state> is ON or OFF. This
command is relevant for light loads, presets, and scenes.
Notes:
Response to ?LIGHTSTATE-1
Response to ?LIGHTSTATE-10
Response to ?LIGHTSTATE-11
Response to ?LIGHTSTATE-12
Response to ?LIGHTSTATE-13
Response to ?LIGHTSTATE-14
Response to ?LIGHTSTATE-15
Response to ?LIGHTSTATE-16
Response to ?LIGHTSTATE-17
Response to ?LIGHTSTATE-18
Response to ?LIGHTSTATE-19
Response to ?LIGHTSTATE-2
Response to ?LIGHTSTATE-20
Response to ?LIGHTSTATE-3
Response to ?LIGHTSTATE-4
Response to ?LIGHTSTATE-5
Response to ?LIGHTSTATE-6
Response to ?LIGHTSTATE-7
Response to ?LIGHTSTATE-8
Response to ?LIGHTSTATE-9
State of a light changed for the light at index <index>, <state> is ON or OFF
Level of a light changed for the light at index <index>, <level> where <level> is 0-255
Light is ramping for the light at index <index>, <state> is UP, DOWN or STOP
71
Need help?
Do you have a question about the CAFE DUET STANDARD NETLINX API (SNAPI) COMPONENTS AND LISTENERS and is the answer not in the manual?
Questions and answers