Tab: Settings
Function: The tab includes settings for all visualizations throughout the application.
Symbol:
Note
Not all settings are available for an integrated CODESYS visualization.
Group: General Settings
Use unicode strings |
|
Use CurrentVisu variable |
It contains the name of the active visualization at application runtime. In the application code, the variable can be read in order to retain the name of the active visualization. The variable can be written to for calling a switch of visualizations. The switch is done at the same time on all display devices. Example: A TargetVisu display variant and several WebVisu display variants are active. When the CurrentVisu variable is written to, all display variants switch to this visualization. Requirement: The application includes a visualization that calls other visualizations. Example:
|
Support client animations and overlay of native elements |
This function is possible only for browsers of a CODESYS WebVisu and in a CODESYS TargetVisu. However, CODESYS TargetVisu has to support this function. Then, additional properties are visible in the visualization elements. Moreover, native elements, which are integrated in the visualization (for example, a web browser), can be overlaid with native CODESYS elements. This is not possible with CODESYS versions before 3.5.16.0. NoteThe following restriction applies currently: In the case of nested frames combined with a scaling, elements can be positioned in a slightly different manner. |
Group: Style Settings
Tip
You can use the Visualization Style Editor to create new styles, review them, and install them in the visualization style repository.
Selected style |
|
![]() | Opens a list box with styles that are installed in the Visualization Style Repository |
Display all versions (for experts only) |
|
Button: | Opens list box with commands for using the Visualization Style Editor |
Open Style Editor | The Visualization Style Editor opens. |
Create and Edit Derived Style | The Visualization Style Editor opens with the Create New Visualization Style dialog. The dialog contains the settings for the first configuration step. Requirement: In Selected style, a base style is selected. NoteA derived style makes sense for adapting or extending only a few style properties. |
Copy and Edit Style | The Visualization Style Editor opens with the Open Existing Style as Copy dialog. The dialog contains the settings for the first configuration step. Requirement: A style is selected in Selected style. |
Preview | The displayed elements represent the style that is specified in Selected style. |
Group: Language Settings
Selected language | Language used by the display variant when starting a visualization |
Group: Additional Settings
Multitouch handling | This property defines what handles the touch events. This is done either by the visualization or, in the case of the WebVisu, by the browser. With this setting, touch gestures can be performed on various visualization elements.
Affected elements
|
Scroll elements with scrollbar |
The visualization elements Table, Alarm Table, Combo Box, Integer, Combo Box, Array, and Frame with the Fixed and scrollable property are affected by this option. |
Semi-transparent drawing |
When defining a color, you can also specify the gradient value for transparency. This value is defined in the Transparency property. The leading byte is evaluated in color variables. Default: enabled. Requirement: You have created a new visualization and the display variants can paint with semitransparency. |
Standard keyboard handling | The following user input is provided by default:
|
Paint disabled elements grayed out |
The following results in the disabling of an element:
|
Call after visu initialization | Function name. The function is called after initialization. That is the right time to register an additional event handler for the Example: Implementation of // This function is called after visu initialization (see Visualization Manager 'Call after visu initialization') FUNCTION VisuInit : BOOL VAR_INPUT END_VAR // Set the mouse event handler VisuElems.VisuElemBase.g_VisuEventManager.SetMouseEventHandler(PLC_PRG.evHandler); Another user case is the registration of the |
Responsive visualization size |
The client size can be queried with the
Example: Container.Width - Visu.Width Container.Width - Visu.Width - 50 |