Tec; Txt - AMX Modero G5 Instruction Manual

X series g5 touch panels
Hide thumbs Also See for Modero G5:
Table of Contents

Advertisement

Button State Commands (Cont.)

?TEC

Get Text Effect Color Command. Get the current text effect color.
Syntax:
Variables:
Example:

^TXT

Set State Text Command.
Assign a Non-Unicode, non-UTF-8 text string to those buttons with a defined address range. Note that this
command has been replaced by ^UTF, but is being kept for backwards compatibility. It supports ASCII
characters, but extended ASCII (i.e. characters from 128-255) are interpreted according to the Latin-1
character set (ISO 8859-1). Unicode (i.e. characters > 255) are not supported.
Syntax:
Variable:
Example:
Modero G5 Touch Panels - Configuration and Programming
"'?TEC-<vt addr range>,<button states range>'"
variable text address range = 1 - 4000.
button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons, 1 = Off state and
2 = On state).
custom event type 1009:
Flag - Zero
Value1 - Button state number
Value2 - Actual length of string (should be 9)
Value3 - Zero
Text - Hex encoded color value (ex: #000000FF)
Text length - Color name length (should be 9)
SEND COMMAND Panel,"'?TEC-529,1'"
Gets the button 'OFF state' text effect color information.
The result sent to the Master would be:
ButtonGet Id = 529 Type = 1009
Flag = 0
VALUE1 = 1
VALUE2 = 9
VALUE3 = 0
TEXT = #5088F2AE
TEXT LENGTH = 9
"'^TXT-<vt addr range>,<button states range>,<new text>'"
variable text address range = 1 - 4000.
button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons 1 = Off state and
2 = On state).
new text = new text as ASCII characters.
SEND_COMMAND Panel,"'^TXT-500.504&510.515,1&2,Test Only'"
Sets the On and Off state text for buttons with the variable text ranges of 500-504 & 510-515.
Programming - Send Commands
93

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents