Introduction

The Media Led widget is a highly configurable widget that allows you to place a Led indicator on the screen in any colour and in a variety of styles can be useful for indicating the status of an output. It also can display a symbol or text on top of the widget.

How it works

The Media Led widget has many design-time options and as it is dynamic it’s state can be changed during runtime indicating an on or off state.

Implementation

To select the Media Led widget when using the Architect or Genius environments simply click on Graphics and then click on Add Widget.

Click on the Media Led widget under the Led tab and click on Confirm.

The Media Led will be placed on the graphic representation of the TIMI display with default properties set.

You can now change the Property Values to get the desired look of the Media Led widget.

Left and Top Property

The Left and Top property can be changed by entering the value of a known Left and Top coordinate.

Or the Media Led can be positioned by simply clicking on it and dragging it into the desired position. If the width or height of the Media Led object is set to the maximum size of the display top or left dragging will not function.

Width and Height Property

The width and height properties can be changed by entering the value of a known width and Height in pixels.

Or the width and height can be simply changed by dragging the red dotted widget outline to the required size.

Background Color Property

The Media Led can be made to look recessed on the panel or background on which is placed. The colour for this recessed area can be changed to match the background colour by simply clicking on the Background Color property and the Colour selector will appear.

Background Thickness

The recessed area of the Media Led and be altered by clicking on the property value

If a recessed look is not required a 0 needs to be entered as the property value.

Bevel Color Property

The Bevel Color property sets the colour of the outer edge (not the recess) and the next adjoining area that makes up of the parts of the Media Led widget. You can set the property by clicking on the value and using the colour selector in the same manner as the Background Color. Clicking on the property value will open the Colour Selector.

Bevel Thickness Property

The Bevel Thickness Property sets the width of the outer edge.

Face Color Property

The Face Color Property sets the colour of the ring outside the central Led.

LED Color On / LED Color Off Property

The LED Color properties set the appearance of the dynamic Led part when it is set to On or Off status. Usually, the Off colour will be a much darker shade than the On colour but they can be set to different colours if desired. You can set these properties by clicking on the value and using the colour selector.

Style Property

The Media Led has 12 styles to choose from.

The style can be chosen by clicking on the property value and select from the drop-down menu.

Symbol Property

The Media Led can display a symbol or text centered in the central Led. The selection can be made from the drop-down menu by clicking on the property value.

If no Symbol or Text is required select No Symbol from the menu. If Text is required Select Text Symbol from the menu.

Symbol Color Property

The Symbol or Text colour can be changed by clicking on the property value and using the Colour Selector to choose the colour.

Text Property

The Text property can be changed by clicking on the area of the text in the Property Value or double click the Value to highlight the entire text and then type in the new text.

Clicking outside of the Text Property will set the new text.

Font Property

The TIMI display has 3 system fonts to choose from and can be selected from the drop-down box.

Font Size

Each font can have its size changed by altering the multiplier Value in the Font Size Property.

Demonstration

For this demonstration we will using 2 Media Led widgets to show a green tick and a red cross.

Add a Media Led and then set the properties as shown on the right.

Add another Media Led and then set the properties as shown on the right.

Click on Confirm and set the properties as shown on the right.

If the Genius environment is being used the demonstration can be tested by entering simple code in the code window.

Ensure that the Port is set to the correct port that the TIMI module is connected to.

And then click on the Upload Button to Upload the entire project to the display.

When the Upload has completed you should see the Tick and Cross flash alternately.

Or the page can be used in the Commander environment by saving the Page and clicking in the Object Selector to choose Page0.

Then Click on Save Configuration.

A Save Dialogue Window will appear. Enter a filename (TickCrossIndicator) then click on Save

You can find out further information about the Commander Environment in the ‘Getting Started with the Commander Environment’ tutorial.

Back to Resource Centre

Share this article on socials

Introduction

The Media Led widget is a highly configurable widget that allows you to place a Led indicator on the screen in any colour and in a variety of styles can be useful for indicating the status of an output. It also can display a symbol or text on top of the widget.

How it works

The Media Led widget has many design-time options and as it is dynamic it’s state can be changed during runtime indicating an on or off state.

Implementation

To select the Media Led widget when using the Architect or Genius environments simply click on Graphics and then click on Add Widget.

Click on the Media Led widget under the Led tab and click on Confirm.

The Media Led will be placed on the graphic representation of the TIMI display with default properties set.

You can now change the Property Values to get the desired look of the Media Led widget.

Left and Top Property

The Left and Top property can be changed by entering the value of a known Left and Top coordinate.

Or the Media Led can be positioned by simply clicking on it and dragging it into the desired position. If the width or height of the Media Led object is set to the maximum size of the display top or left dragging will not function.

Width and Height Property

The width and height properties can be changed by entering the value of a known width and Height in pixels.

Or the width and height can be simply changed by dragging the red dotted widget outline to the required size.

Background Color Property

The Media Led can be made to look recessed on the panel or background on which is placed. The colour for this recessed area can be changed to match the background colour by simply clicking on the Background Color property and the Colour selector will appear.

Background Thickness

The recessed area of the Media Led and be altered by clicking on the property value

If a recessed look is not required a 0 needs to be entered as the property value.

Bevel Color Property

The Bevel Color property sets the colour of the outer edge (not the recess) and the next adjoining area that makes up of the parts of the Media Led widget. You can set the property by clicking on the value and using the colour selector in the same manner as the Background Color. Clicking on the property value will open the Colour Selector.

Bevel Thickness Property

The Bevel Thickness Property sets the width of the outer edge.

Face Color Property

The Face Color Property sets the colour of the ring outside the central Led.

LED Color On / LED Color Off Property

The LED Color properties set the appearance of the dynamic Led part when it is set to On or Off status. Usually, the Off colour will be a much darker shade than the On colour but they can be set to different colours if desired. You can set these properties by clicking on the value and using the colour selector.

Style Property

The Media Led has 12 styles to choose from.

The style can be chosen by clicking on the property value and select from the drop-down menu.

Symbol Property

The Media Led can display a symbol or text centered in the central Led. The selection can be made from the drop-down menu by clicking on the property value.

If no Symbol or Text is required select No Symbol from the menu. If Text is required Select Text Symbol from the menu.

Symbol Color Property

The Symbol or Text colour can be changed by clicking on the property value and using the Colour Selector to choose the colour.

Text Property

The Text property can be changed by clicking on the area of the text in the Property Value or double click the Value to highlight the entire text and then type in the new text.

Clicking outside of the Text Property will set the new text.

Font Property

The TIMI display has 3 system fonts to choose from and can be selected from the drop-down box.

Font Size

Each font can have its size changed by altering the multiplier Value in the Font Size Property.

Demonstration

For this demonstration we will using 2 Media Led widgets to show a green tick and a red cross.

Add a Media Led and then set the properties as shown on the right.

Add another Media Led and then set the properties as shown on the right.

Click on Confirm and set the properties as shown on the right.

If the Genius environment is being used the demonstration can be tested by entering simple code in the code window.

Ensure that the Port is set to the correct port that the TIMI module is connected to.

And then click on the Upload Button to Upload the entire project to the display.

When the Upload has completed you should see the Tick and Cross flash alternately.

Or the page can be used in the Commander environment by saving the Page and clicking in the Object Selector to choose Page0.

Then Click on Save Configuration.

A Save Dialogue Window will appear. Enter a filename (TickCrossIndicator) then click on Save

You can find out further information about the Commander Environment in the ‘Getting Started with the Commander Environment’ tutorial.

Back to Resource Centre

Share this article on socials