Short Name: Light.Set State
Requires: Full Development System
Class: SceneObject Methods
To Use: Create a method.
Sets a state for the light.
| Data type | Name | Required | Description | ||||||
|---|---|---|---|---|---|---|---|---|---|
![]()  | Light State | Yes | Specifies whether to enable the state of the light.
  | ||||||
![]()  | Light Number | Yes | The number that identifies the light. The default is 0. | 
The following table lists the characteristics of this method.
| Data type | No return value | 
| Available in Run-Time Engine | Yes (Read/Write) | 
| Available in Real-Time Operating System | No | 
| Settable when the VI is running | Yes | 
| Loads the front panel into memory | No | 
| Need to authenticate before use | No | 
| Loads the block diagram into memory | No | 
| Remote access allowed | Yes |