Light:Set State Method

Short Name: Light.Set State

Requires: Full Development System

Class: SceneObject Methods

To Use: Create a method.

Sets a state for the light.

Parameters

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.

Remarks

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