FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kLight_SetOutputState ( kLight  light,
kBool  state 
)

Sets output state of the light in SetBySoftware mode.

In SetBySoftware control mode, the SetOutputState function can be used at any time (e.g., node Ready or Running states) to turn the light on or off.

Light masking and lockout features have greater priority than the output state specified via the SetOutputState function.

Parameters
lightLight object.
stateNew light output state (kTRUE: on, kFALSE: off).
Returns
Operation status.