Analog or Boolean point initialization. |
|
Text point initialization. |
Analog or Boolean point initialization
Select the Virtual tab.
Specify the source for the point's initial value when the software is started up or reset.
Options include:
Option |
Description |
|
None |
(Default) No reset/startup condition is defined.
|
|
Initialized |
Requires an initial value.
|
|
|
Initial value |
Integer A constant value. Each element in an array is initialized to the initial value. Example A UINT point:
|
Saved |
The last saved value of the point when the project is stopped.
Choices for when to save the point are:
|
|
Saved or Initialized |
The last saved value of the point if there is one; otherwise the constant entered in the Initial Value field.
|
Text point initialization
Point initialized values can be specified for points and arrays.
Select the Virtual tab of the Point Properties dialog box.
Specify the source for the point's initial value when the software is started up or reset.
Options include:
Option |
Description |
|
None |
No reset/startup condition is defined.
|
|
Initialized |
A constant value entered in the Initial Value field (C) is initialized.
Following are examples of an initial value based on the array type. |
|
|
Array type |
Initial Value |
|
Multi-character |
Each element in the array is initialized to the Initial Value. Example A String array:
|
|
Single character |
Each element in the array is initialized with the corresponding character in the Initial Value field. Example A String array:
|
Saved |
The last saved value of the point when the project starts.
Choices are:
|
|
Saved or Initialized |
The last saved value of the point if there is one; otherwise the constant entered in the Initial Value field.
|
Important: When working with
initialization values for string arrays, if:
Too many elements are given in
Initial Value, the string truncates at
the number of elements.
The Initial
Value does not specify enough elements, the remaining
elements of the string are initialized to the Null character.
Step 3. Enter virtual point virtual properties. |