light

Block category: Signal Consumer

Input: Scalar.

Description: The light block is a tri-state indicator that you can customize with color, images, and sound. You define the three states (lower, safe, and upper) for the indicator by specifying upper and lower bounds for the signal, then assigning a color, image, or sound to each state.

When you apply both a color and an image to a specific state, Embed displays the image.

Associations

Color: Associates a color with the selected setting.

Image: Associates a BMP file with the selected setting.

Play Sound: Plays the sound for the selected setting.

Sound: Associates a WAV file with the selected setting.

Beep If Value Exceeds Upper Bound: Forces the light block to beep when the signal value exceeds the specified upper bound.

Properties

Lower Bound: Indicates the lower bound for the signal. When the signal is less than the specified lower bound, the light block performs the action (emits a color, sound, or image) associated with the Lower setting. The default is 0.

Upper Bound: Indicates the upper bound for the signal. When the signal is greater than the specified upper bound, the light block performs the action (emits a color, sound, or image) associated with the Upper setting. The default isĀ 0.5.

Value: Indicates the signal value. The initial value is 0.

Settings

Background: Lets you associate a background color for the light block.

Lower: Lets you associate a color, sound, or image with a signal when it is less than the specified lower bound.

Safe: Lets you associate a color, sound, or image with a signal when it is less than or equal to the specified upper bound and greater than or equal to the specified lower bound.

Upper: Lets you associate a color, sound, or image with a signal when it is greater than the specified upper bound.