Skip to main content

Implementing access to an image

At locations in the application where an image should to be accessed, the image ID can be briefly specified. This is especially the case with visualizations. There you can configure elements which can display images with the image ID (qualified with <name of image pool>.<image ID>).

. Elements with static image display:
  • Image visualization element: Static ID property

  • Button visualization element: Static ID property

  • Image Switcher visualization element: Image on, Image off, and Image clicked properties

  • Cartesian XY Chart visualization element: Configuration of the background in the Dialog: XY Chart Configuration dialog

If an element should dynamically display multiple images one after the other, then a string variable is specified for it, not the image ID itself. The variable is set programmatically (in IEC code) to change the image IDs. In this way, a dynamic image display in the visualization element is achieved.

. Elements with dynamic image display:
  • Image visualization element: Image ID variable property

  • Button visualization element: Image ID variable property