General settings

The general settings are settings that apply to all variables, regardless of the type of data source.

Data source

Here you select which data source the current variable belongs to.

Name

The name of the variable must be unique within a data source.

Alarm type

If this variable is an alarm (certain value of this variable should trigger a message at runtime), the type of alarm can be selected here. Read more about this in the Alarm variables section.

Data type

Depending on the type of data source, different data types are available to you. You can find out what these are in the respective articles for specific data source types.

Depending on the data type of the variable, only suitable values are accepted when writing and reading the variable.

Value manipulation

If the value of this variable is to be converted after reading or before writing, this can be set here. More on this in the Value adjustment chapter.

Address quick input

This is a text representation of the variable address. A change to this text automatically results in a change to the entry in the fields on the right-hand side of the window and vice versa.

Force read (from QuickHMI 14.4.1)

By default, variables that are not used are not requested from the data source at runtime. This improves the speed of the visualization by avoiding unnecessary read accesses.

If a variable is used, or if the variable is part of the external data source protocol, it is read regardless of this setting.

By activating this option, variables are actively requested from the data source regardless of their use. This can be useful, for example, if QuickHMI does not correctly recognize the use of a variable in a JavaScript. This is the case, for example, if variable names are constructed dynamically in the script.

In the data source, this setting can also be controlled globally for all variables of a data source.