Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 4.3 KB

File metadata and controls

17 lines (12 loc) · 4.3 KB

Graphical Panel Controls: LED

LED controls can be used as indicators, and have a number of properties that allow them be used in a variety of applications; Figure 1 shows a few of the styles that can be configured.

Figure 1: Example uses of the LED control.

able 1 lists the properties specific to an LED control. A list of common properties can be found under Common Control Properties.

Table 1: LED Control Properties

Function and Options
LED On Color Double-click to open the standard Windows color picker, where you can select the color shown when in the On state.
LED Off Color Double-click to open the standard Windows color picker, where you can select the color shown when in the Off state.
NumLEDs Sets the number of LEDs to display in the control; can be used to display LED bar graphs or binary values.
LEDStyle

Specifies the style for the LED control when the value of the NumLEDs property is greater than 1:

  • 0-Binary: Displays a numeric value as a binary sequence.
  • 1-Bargraph: Displays a numeric value as a bar graph.
  • 2-Cylon: Lights up the LED that matches the assigned value.
  • 3-Reverse Binary: Displays a numeric value as a binary sequence with On and Off states reversed.
Shape

Specifies the shape of the control:

  • 0-Circle
  • 1-Square