LED Display
Component Palette Icon
The LED display is a stylized numeric or alphanumeric label. It has three different visual styles which all correspond to a kind of physical display: 7-segment, 14-segment, and 5x7 matrix. By default this component is in numeric mode, which means you should use its Value property. If you need to display characters as well, switch the mode to alphanumeric, and use the Text property.
Properties
Name | Description | Property Type | Scripting | Category |
---|---|---|---|---|
Background Color | The color of the background. | Color | .background | Appearance |
Border | The border surrounding this component. NOTE that the border is unaffected by rotation. | Border | .border | Common |
Cursor | The mouse cursor to use when hovering over this component. | int | .cursorCode | Common |
Data Quality | The data quality code for any tag bindings on this component. | int | .dataQuality | Data |
Horizontal Alignment | Determines the alignment of the display's contents along the X axis. | int | .horizontalAlignment | Layout |
LED Lit | The color of lit LED segments. | Color | .glyphForeground | Appearance |
LED Unlit | The color of unlit LED segments. | Color | .glyphBackground | Appearance |
Letter Gap | The percentage of the height to be used as an inter-character spacing. | float | .gap | Layout |
Margin | The margin for the interior of the display. | Insets | .margin | Layout |
Mode | The mode of the display. | int | .mode | Behavior |
Mouseover Text | The text that is displayed in the tooltip which pops up on mouseover of this component. | String | .toolTipText | Common |
Name | The name of this component. | String | .name | Common |
Number Format Pattern | The number formatting string used to format the value. | String | .numberFormat | Behavior |
Style | The visual style of the display. | int | .style | Appearance |
Styles | Contains the component's styles. | Dataset | .styles | Appearance |
Text | The text value of the display, used when Mode is Alphanumeric | String | .text | Data |
Value | The numeric value of the display, used when Mode is Numeric | double | .value | Data |
Visible | If disabled, the component will be hidden. | boolean | .visible | Common |
Scripting
Scripting Functions
This component does not have scripting functions associated with it.
Extension Functions
This component does not have extension functions associated with it.
Event Handlers
Event handlers allow you to run a script based off specific triggers. See the full list of available event handlers on the Component Events page
Customizers
Examples
Custom LED Component
Property Name | Value |
---|---|
Mode | Alphanumeric |
Text | ERR-28 |
Background Color | 0,0,0 |
LED Lit | 255,0,0 |
LED Unlit | 0,0,0 |
Custom LED Component
Property Name | Value |
---|---|
Mode | Alphanumeric |
Text | Hello World |
Horizontal Alignment | Center |
Custom LED Component
Property Name | Value |
---|---|
Border | Line Border |
Mode | Alphanumeric |
Text | 852.23 lbs |
Style | 7 Segment |
Background Color | 255,255,255 |
LED Lit | 0,0,0 |
LED Unlit | 255,255,255 |
Custom LED Component
Property Name | Value |
---|---|
Style | 5x7 Matrix |
Background Color | 64,64,64 |