Discrete value display
- Last UpdatedJul 26, 2024
- 1 minute read
The following elements can be specified for a discrete value animation link.
|
Elements |
Description |
|---|---|
|
Title |
Object name. Optional. |
|
OnMessage |
The string to display when the value of the animation link is True. Default text is On. |
|
OffMessage |
The string to display .when the value of the animation link is False. Default text is Off. |
|
Expression |
Discrete tag or expression. Required. Object is not created if the expression is invalid or missing. |
Example:
<ValueDisplayDiscrete>
<Title>ValueDisplayDiscrete1</Title>
<Expression>
<![CDATA[dTag001]]>
</Expression>
<OnMessage>
<![CDATA[Pump is On]]>
</OnMessage>
<OffMessage>
<![CDATA[Pump is Off]]>
</OffMessage>
</ValueDisplayDiscrete>
Minimal example:
<ValueDisplayDiscrete>
<Expression>dTag001</Expression>
</ValueDisplayDiscrete>