ImageNode

A widget that displays a given image file

  • Special Attributes
Name Type Description
geometry Rect A rectangle describing the position and dimensions of the widget
file String The filepath of the image to display
visibility String A pv that determines the visibility of the widget, visibility is turned off if the PV’s value is zero. This logic is inverted if the !Not tag is used instead of String
  • Examples
DiagramImage: !Image
    geometry: 400x200
    file: "/path/to/screens/img/Diagram.png"

A conditional image using visibility:

StatusIcon: !If:show-image
    - !Image { geometry: 40x60, file: "{image}" }