Select variable

The Select variable dialogue lists the definitions that are available in the project as a data source for a control element or a definition:

The content of the variable selection dialogue is usually filtered by the calling component. For example, variables of type VT_BSTR are not listed if the calling control element only supports numerical data types. The dialogue also includes the option of user-defined filtering of data types and access rights. Therefore, if a variable is not visible in the dialogue, you must first check whether a connection to the data type is possible at all. You must then check whether a user-defined filter excludes the variable from the view.

The selection of a variable is always based on the complete variable identifier (if applicable <channel name>.<variable alias>). If a variable is selected under the External node whose complete identifier appears again in the Variable adapter node, this is equivalent to the corresponding selection under the named node. The runtime system prioritises the connection to variable sets from variable adapters.

Further functions of the dialogue

A toolbar with the following controls is located at the top of the variable selection dialogue:

Suchtext

Input field for searching for a variable identifier. When entering a variable identifier, the search function selects the first possible hit in the variable view.

Weiter suchen (F3)

When the button is clicked, the selection in the variable view jumps to the next search hit. Keyboard shortcut: F3

Filtereinstellungen (F9)

Clicking on the button opens a dialogue in which criteria for filtering the variables can be selected. Keyboard shortcut: F9

The filter icon is only displayed if the Show filter settings option is activated in the Options dialogue(deactivated by default).

Hierarchische Ansicht

If the button is pressed, the variables are displayed in the hierarchical view (division of the process variables into namespaces).

Alphabetische Liste

If the button is pressed, the variables are displayed as an alphabetical list (flat sorted table of all variables).