Visualization element ‘Lamp’

Symbol: 12cd332bf818d9a7c0a8640e017c5995_123b2b7882906be3c0a8640e00c3f28c

Tag: Lamps/Switches/images

This element is used for displaying the values of a Boolean variable. TRUE: lamp on; FALSE: lamp off.

Element properties

Element name

Optional

Tip: Assign individual names for elements so that they are found faster in the element list.

Example: Lamp_green.

Element type lamp

Element property ‘Position’

The position defines the location and size of the element in the visualization window. These are based on the Cartesian coordinate system. The origin is located at the upper left corner of the window. The positive horizontal x-axis runs to the right. The positive vertical y-axis runs downwards.

X

X coordinate of the upper left corner of the element

Specified in pixels.

Example: 10.

Y

Y coordinate of the upper left corner of the element

Specified in pixels.

Example: 10.

Width

Specified in pixels.

Example: 150

Height

Specified in pixels.

Example: 30

Note

You can also change the values by dragging the box symbols ( 12cd332bf818d9a7c0a8640e017c5995_7b449e02d0393877c0a8640e01fd8c9e ) to other positions in the editor.

See also

Variable

Variable (BOOL).

The value of the variables TRUE and FALSE indicates the state of the lamp.

Image settings

Transparency 12cd332bf818d9a7c0a8640e017c5995_9a3f06830c0506c5c0a8640e012f0ace : The Transparent color property is selected.
Transparent color

Pixels in this color are displayed as transparent.

Requirement: Transparency is activated.

  • 12cd332bf818d9a7c0a8640e017c5995_2be833ef7deb1e6ec0a8640e0056e76c The Color dialog box opens.
  • 12cd332bf818d9a7c0a8640e017c5995_379d3b8945773148c0a8640e0139d9cb : A drop-down list with style colors opens.
Scaling type

Reaction of the element when the dimension of the Frame element is changed:

  • Isotropic: The height and width of the image are resized proportionally to the Frame.

    Please note: To retain the alignment of elements also within a scaled Frame element, define the Horizontal alignment or Vertical alignment explicitly with Centered.

  • Anisotropic: The image fills the entire Frame regardless of its proportions.

Horizontal alignment

Horizontal alignment of the image within the element frame or element

  • Left
  • Centered
  • Right

Requirement: Scaling type is Isotropic.

Vertical alignment

Vertical alignment of the image within the element frame or element

  • Top
  • Centered
  • Bottom

Requirement: Scaling type is Isotropic.

Element property ‘Texts’

Tooltip String display as tooltip for the element. Example: Valid access.

Element property ‘State variables’

The variables control the element behavior dynamically.

Invisible

Variable (BOOL). Toggles the visibility of the element.

TRUE: The element is not visible at runtime.

Deactivate inputs

Variable (BOOL). Toggles the operability of the element.

TRUE: User inputs do not have any effect in runtime more. The element is shown as deactivated.

Element property ‘Background’

Image

Drop-down list with background colors

Depends on the visualization style

Element property ‘Access rights’

Requirement: User management is set up for the visualization.

Access rights

Opens the Access rights dialog box for changing the access rights for the element.

Status messages:

  • Not set. All rights.: Access rights for all user groups : operable
  • Rights are assigned: limited rights: Access is restricted for at least one group.

See also