Appendix A - Text Formatting Codes; Text Formatting Codes For Bargraphs/Joysticks - AMX NXD-500i Operation/Reference Manual

5" modero wall/flush mount touch panel with intercom
Hide thumbs Also See for NXD-500i:
Table of Contents

Advertisement

Appendix A - Text Formatting Codes

Text Formatting Codes for Bargraphs/Joysticks

Text formatting codes for bargraphs provide a mechanism to allow a portion of a bargraphs text to be provided
dynamically generated information about the current status of the level (multistate and traditional). These codes would
be entered into the text field along with any other text.
The following is a code list used for bargraphs:
Bargraph Text Code Inputs
Code
Bargraph
$P
Display the current percentage of the bargraph
(derived from the Adjusted Level Value as it falls
between the Range Values)
$V
Raw Level Value
$L
Range Low Value
$H
Range High Value
$S
N/A
$A
Adjusted Level Value (Range Low Value subtracted
from the Raw Level Value)
$R
Low Range subtracted from the High Range
$$
Dollar sign
The codes on a button may be modified by changing the text on a button via a VT command. When one of the Text
Formatting Codes is encountered by the firmware, it is replaced with the correct value. These values are derived from the
following operations:
Formatting Code Operations
Code
Operation
$P
(Current Value - Range Low Value / Range High Value - Range Low Value) x 100
$V
Current Level Value
$L
Range Low Value
$H
Range High Value
$S
Current State (if regular bargraph then resolves to nothing)
$A
Current Value - Range Low Value
$R
Range High Value - Range Low Value
Given a current raw level value of 532, a range low value of 500, and a high range value of 600, the following text
formatting codes would yield the following strings as shown in the table below:
Example
Format
$P%
$A out of $R
$A of 0 - $R
$V of $L - $H
NXD-500i 5" Modero Wall/Flush Mount Touch Panel with Intercom
Display
32%
32 out of 100
32 of 0 - 100
532 of 500 - 600
Appendix A - Text Formatting Codes
Multi-State Bargraph
Display the current percentage of the bargraph (derived
from the Adjusted Level Value as it falls between the
Range Values)
Raw Level Value
Range Low Value
Range High Value
Current State
Adjusted Level Value (Range Low Value subtracted
from the Raw Level Value)
Low Range subtracted from the High Range
Dollar sign
123

Advertisement

Table of Contents
loading

Table of Contents