Configure an LED
Add an LED object and edit its properties.
- InProject view, inUI, right-click a container and select .
- InProperties, configure theLEDsettings:
- Create a dynamic link betweenActiveand a Boolean variable.For more information about dynamic links, see Create dynamic links.For example, create a dynamic link to theActiveproperty of an alarm. This makes the LED active when the alarm is active. For more information about alarms, see Alarms.
- SetBlink when activeto either:
- False. LED does not blink when active.
- True. LED blinks when active.
- A dynamic link to a Boolean variable to control LED blinking through the linked variable value.
- (optional) InProperties, configureAppearance:
- Visible. Display or hide the LED at runtime.
- Enabled. Enable user interaction with the LED at runtime.
- Opacity. Set the LED opacity from0(transparent) to100(opaque).
- Rotation. Rotate the LED by a specified number of degrees.
- Appearance. Select eitherCircularorRectangularto change the LED shape.
- Color. Set the LED color.
- (optional) InPropertiesor in the editor, configure theSize and layoutsettings.
- (optional) To display text in the LED, inProperties, configureText and font:
- Text. Enter text to display in the LED or create a dynamic link to a string variable.
- Text color. Set color for the text.
- Text position. Select the text position in relation to the LED.
- Word wrap. Wrap words when the text is wider than the container.
- Text trimming. Replace text that does not fit the container with....
- Font family. Select font family for the text.
- Font size. Set font size for the text.
- Font weight. Select font weight for the text.
- Font italic. Apply italic font to the text.
- (optional) To display an image in the LED, inProperties, configureImage:
- Image path. Select an image to display in the LED.TIP: SelectBrowseand then either selectto add an image to the project or select an existing image in the project.
Import file(s) - Image position. Select the image position in relation to the LED.
- Image width. Set specific image width.
- Image height. Set specific image height.
Provide Feedback