Tnb-Tooltype; Text Formatting Codes For Bargraphs/Joysticks - AMX TPI-PRO-2 Operation/Reference Manual

Total presentation interface
Hide thumbs Also See for TPI-PRO-2:
Table of Contents

Advertisement

NetLinx Programming
TakeNote Query Commands (Cont.)

?TNB-TOOLTYPE

Queries the current tool type
Programming - Button Properties
The following sections describe various button properties, which are set within the TPDesign4 Touch Panel
Design program. TPDesign4 is available to download from www.amx.com. Refer to the TPDesign4 online
help for detailed instructions on setting button.

Text Formatting Codes for Bargraphs/Joysticks

Text formatting codes for bargraphs provide a mechanism to allow a portion of a bargraph's text to be
dynamically provided information about the current status of the level (multi-state 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
$$
By 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
160
Syntax:
SEND_COMMAND <DEV>,"'?TNB-<addr>,TOOLTYPE'"
Example:
SEND_COMMAND Panel,"'?TNB-5,TOOLTYPE'"
Example response:
"Custom Event: ID: 1, Type: 1500, Flag 6, Value1: 8
Text: Polygon"
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
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
TPI-PRO/DVI (Total Presentation Interface)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tpi-pro-4

Table of Contents