Initialize
When initializing a panel, graphics attributes are activated or dynamic value displays are calculated by simple scripts. In most cases, the "Initialize" event is used to register a DPE for updating in the panel (hotlink, function dpConnect()). This is necessary, for example, to ensure that every value change from the periphery is also updated on the display.
When initializing a graphics object, the following attributes can be specified:
-
Initialize/Display value (only for objects like text field that can display a value)
-
Scale object (only for objects like ellipse that can be scaled)
-
Rotate object (only for objects like ellipse that can be rotated)
Depending on the data point change, the object's position or color, for example, will change automatically.
In addition, by using "Evaluate invalid bit" you can select one data point (of all data points specified in this part of Simple Configuration) and the program checks whether the invalid bit of this data point has been set. If the invalid bit has been set, the related object will be displayed with the background color "_invalid".
The following screen shot of the Initialization window shows the attributes that can be activated on initialize. Parameters that are not available for a graphics object appear dimmed.
After configuring and clicking on Finish, the Initialization is displayed as in the following figure.
The option "Change color" has been marked.
The simple configuration of the attributes can be changed with the "..." button. Click on the attribute selection. A prompt will be displayed that you have to confirm before the configuration will actually be deleted. Click Yes to delete the configuration of an attribute (see the last figure below). This does not affect any other attributes.