Text has the following Array Display Value properties:
Array expression
Enter the expression which is to return one or more integers. For each returned integer, a different piece of text is displayed.
If the return value is:
To insert a tag or a function, click the Wizard button to the right of this field. This button displays two options: Insert Tag and Insert Function.
Array text
The text that is to display for each integer returned by the Array expression entered above. You can enter any keyboard character(s).
For example, to display different messages about the status of a motor, you could fill out the Array expression and Array text fields as follows:
Array expression |
Array text |
|
---|---|---|
MOTOR_STATUS |
0 1 2 3 4 5 |
Running Starting Stopping Stopped - Normal Stopped - Error Isolated |
In this example, MOTOR_STATUS is an analog variable tag representing the status of a motor. When the motor changes state, an integer is returned (0 = Running, 1 = Starting etc.) and the appropriate text displays.
Click Clear Property to clear property details and disable the property.
See Also