Function
The picture display object enables the positioning of a picture (graphic, image, etc) in the QPanel surface. A picture file can be loaded statically, or the picture file name can be specified via a text signal or a text channel, so that the picture can change dynamically.
Configuration
In the properties dialog, the update interval and background color can be defined.
For the display mode, there are 3 options available:
-
Centered: the picture will always be placed in the middle of the object in its original size.
-
Fit: the picture will be fitted into the object, though in original proportions
-
Stretch: the picture will be adjusted in terms of height and width of the object
In the Transform picture drop-down menu, there are several options to choose from for transforming the picture:
-
Rotate 90 degrees
-
Rotate 180 degrees
-
Rotate 270 degrees
-
Flip horizonzally
-
Flip vertically
The picture can be permanently converted by selecting the desired transformation type. Or you can set the value 0..5 via an analog signal to convert dynamically.
Picture file path
The picture file path can be entered statically or dynamically. Select one of the following options from the drop-down list. The following input fields change depending on the selection.
-
Static
-
Dynamic
-
Monitor folder
Static
Choose a picture file in the data file browser. The pictures can have every bitmap-image-format, like e. g. bmp, jpg, png etc.
If this option is not selected, but an image with path is entered anyway, then this image is displayed as default image and replaces the iba default image.
Dynamic
You can provide the name of the picture files via a previously created text signal or text channel. To do so, the entire image file path must be specified. The image file path may also follow a particular pattern, it must contain a placeholder and may contain wildcards (*). Enter the pattern for the text signal with a placeholder. Example: C:\images\picture{0}. You can select the text signal from the drop-down menu.
Monitor folder
Folders can be monitored for new image files. To do this, specify the folder and the image file format. When selected, you can define whether the newest, second-newest image, etc. should be displayed. “0" selects the newest picture, “1” the second newest, etc.
It is also possible to save the picture in the layout file. As with all QPanel elements, the position and visibility of the picture can be controlled by a signal in the sub branches “Position” and “Visibility”. Using the display of moving images, plants can be visualized, movement simulated or optical warning messages issued when reaching a certain state.

