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

5” modero g4 widescreen video touch panels
Hide thumbs Also See for NXD-CV5:
Table of Contents

Advertisement

Appendix A

Text Formatting Codes for Bargraphs/Joysticks

Text formatting codes for bargraphs provide a mechanism to allow a portion of a bargraphs text to be
dynamically provided 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
$P
$V
$L
$H
$S
$A
$R
$$
Buy changing the text on a button (via a VT command) you can modify the codes on a button. 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
$P
$V
$L
$H
$S
$A
$R
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
5" Modero Widescreen Touch Panel
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
N/A
Adjusted Level Value (Range Low Value
subtracted from the Raw Level Value)
Low Range subtracted from the High
Range
Dollar sign
Operation
(Current Value - Range Low Value / Range High Value - Range Low Value) x 100
Current Level Value
Range Low Value
Range High Value
Current State (if regular bargraph then resolves to nothing)
Current Value - Range Low Value
Range High Value - Range Low Value
Display
32%
32 out of 100
32 of 0 - 100
532 of 500 - 600
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
Appendix A
147

Advertisement

Table of Contents
loading

This manual is also suitable for:

Modero cv5 nxd-cv5Modero cv5

Table of Contents