|
<< Click to Display Table of Contents >> Navigation: Components > Display and Signal > Value driven text |
Purpose
Using the 'Value driven Text' component you can display value dependent different text . This applies to the states on / off / undefined, also as the display of values, such as
temperatures within a text.
The component is not a control element.
Formatting:
The formatting for values received via the data point Value Display is set at Text Undefined.
For strings and other values, '#' can be used as a placeholder. In this case, #'s are hidden if a value is present. If the value "0" is to be displayed, a 0 must be used as a placeholder instead of #.
In this case, # are hidden if a value is present. If the value "0" is to be displayed, the 0 must be used as a placeholder instead of the #.
To protect the character string from unwanted formatting, it must be framed with "" or ''.
For value displays and presentation, see Formatting. The formatting applies to "Text On", "Text Off" and "Text at Undefined".
Text display format:
You can set the following properties for the displaying text:
· The display format defines the representation of values within the text.
· #0,000 for. three digits, int
· %H:%M:%S for hours of operation,
· hh:mm:ss for hours/minutes/seconds,
· dd.MM.yyyy für day/month/year. The rule is: MM=month, dd=day, yy=year, HH=hours,
mm=minutes, ss=seconds.
· Text #,#; Text -#,#; Text 0.0
· "Text positive" ##0,##; "Text negative" -##0,##;"Text 0"
For strings and other values '#' are used as a placeholder for a digit. To protect a string against
unwanted formatting, it must be framed with "..." or '...'. Between the different formatting sections
these must be separated with; (semicolon).
Properties
Alignment |
see chapter Alignment |
Look |
see chapter Look |
On Text |
A Text which is displayed in the state "On" |
Off Text |
A Text which is displayed in the state "Off" |
Undef Text |
A Text which is displayed in the state "Undefined" |
Text Color Status On |
A Text is displayed in the choosen color in the state "On" |
Text Color Status Off |
A Text is displayed in the choosen color in the state "Off" |
Text Color Status Undef |
A Text is displayed in the choosen color in the state "Undef" |
Rights |
see chapter Rights |
Settings |
see chapter Settings |
Factor |
The received value is multiplied with the factor value and shown in the text. |
Text List |
Predefined list of strings, which can be shown dependend on the received value |
Show string from list |
switch between value or list presentation |
Data points of the component
Name |
Type |
Function |
|---|---|---|
Lock operation (display only) |
Input |
If this input is not used, the component can be operated normally. If the input is connected with an on-signal, the component will be locked can not be operated. It only has display function. The locked state of a component is displayed, with a padlock sign on a slightly gray background. |
Mouseover |
Output |
Sends out an On signal, if you hover over the component with the mouse pointer. |
Input |
||
Visible |
Input |
If this input is not used, the component is always visible. The component can be made invisible with an off signal on this datapoint and visible with an on-signal on this data point. |
Text color [ARGB-HEX] |
Input |
The font colour can be changed via this data point (if available). The desired colour is transferred as a character string. It is possible to copy the colour from the brush editor (hexadecimal value without #) in order to be able to change the colour via a text entry. |
Value display |
Input |
Receives the value that is displayed. |
Status |
Input |
To highlight certain value a received On/Off will change the status of the background, see above On Text, Off Text and can also change the font color |
Note: When using the % character it must be in quotation marks, otherwise the arithmetic operation %
is calculated (Multiplication will be calculated with 100). Should be: "%" Format values