Light:Set State Method

FlexRIO Help

Edition Date: November 2015

Part Number: 372614J-01

»View Product Info

»Download the Help in ZIP Format

Short Name: Light.Set State

Requires: Full Development System

Class: SceneObject Methods

To Use: Create a method.

Sets a state for the light.


Data typeNameRequiredDescription
Light StateYesSpecifies whether to enable the state of the light.

0Inherit Value (default)—The light inherits the state of a parent object.
1Off—Disables the light.
2On—Enables the light.
Light NumberYesThe number that identifies the light. The default is 0.


The following table lists the characteristics of this method.

Data typeNo return value
Available in Run-Time EngineYes (Read/Write)
Available in Real-Time Operating SystemNo
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes


Not Helpful