NetLinx Programming
160
TPI-PRO/DVI (Total Presentation Interface)
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:
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:
TakeNote Query Commands (Cont.)
?TNB-TOOLTYPE
Queries the current tool type
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 Text Code Inputs
Code
Bargraph
Multi-State Bargraph
$P
Display the current percentage of the
bargraph (derived from the Adjusted
Level Value as it falls between the
Range Values)
Display the current percentage of the
bargraph (derived from the Adjusted
Level Value as it falls between the
Range Values)
$V
Raw Level Value
Raw Level Value
$L
Range Low Value
Range Low Value
$H
Range High Value
Range High Value
$S
N/A
Current State
$A
Adjusted Level Value (Range Low Value
subtracted from the Raw Level Value)
Adjusted Level Value (Range Low Value
subtracted from the Raw Level Value)
$R
Low Range subtracted from the High
Range
Low Range subtracted from the High
Range
$$
Dollar sign
Dollar sign
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
Summary of Contents for TPI-PRO-4
Page 14: ...xii TPI PRO Total Presentation Interface Table of Contents ...
Page 76: ...TPI PRO DVI Configuration Pages 70 TPI PRO DVI Total Presentation Interface ...
Page 172: ...Terminal Telnet Commands 166 TPI PRO DVI Total Presentation Interface ...
Page 180: ...Upgrading Firmware 174 TPI PRO DVI Total Presentation Interface ...
Page 208: ...Supported Input and Output Modes 202 TPI PRO DVI Total Presentation Interface ...
Page 214: ...Appendix 208 TPI PRO DVI Total Presentation Interface ...
Page 217: ...Troubleshooting 203 TPI PRO Total Presentation Interface ...