Status variables
In QuickHMI, from version 9.1.0.0 Gazelle, you can display the status of data sources in the visualization.
For each data source created, corresponding system variables are automatically created in the background.
- ds_“Name Der Datenquelle“_last_read_status
Type: String / Status message of the last read operation
- ds_“Name Der Datenquelle“_last_read
Type: DataTime / Timestamp of the last read operation
- ds_“Name Der Datenquelle“_ status
Type: String / General status of the data source
- ds_“Name Der Datenquelle“_is_running
Type: Boolean / Is the data source running or not / True or False
The status variables can now be used like all variables in QuickHMI. For example, a breaker button can be used to indicate
whether a data source is running or not. For this purpose, a rule must be created for the control.
In the rules of the element, the system variable to be accessed must be selected at “Value”.
Thus, a rule is created on the “On” property of the control, which displays the “ds_webservice dq_is_running” status of the web service variable.
These variables are read-only -> So, they cannot be written.
Switching the data source is therefore not possible with this.