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:

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.

Figure 1. "Initialization" window - object type ellipse
Figure 2. "Initialization" window - object type text field
Figure 3. "Initialization" Window - Change color"

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.

Figure 4. "Initialization" Window Option "Change Color"
Figure 5. "Initialization" window - Remove script