Programming - Send Commands
93
Modero G5 Touch Panels - Configuration and Programming
Button State Commands (Cont.)
?TEC
Get Text Effect Color Command. Get the current text effect color.
Syntax:
"'?TEC-<vt addr range>,<button states range>'"
Variables:
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)
Example:
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
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:
"'^TXT-<vt addr range>,<button states range>,<new text>'"
Variable:
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.
Example:
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.
Содержание Modero G5
Страница 58: ...Settings Menu 48 Modero G5 Touch Panels Configuration and Programming ...
Страница 62: ...Gestures 52 Modero G5 Touch Panels Configuration and Programming ...
Страница 66: ...MXA MP and MXA MPL Programming 56 Modero G5 Touch Panels Configuration and Programming ...
Страница 138: ...Appendix B Bargraph Functions 128 Modero G5 Touch Panels Configuration and Programming ...
Страница 143: ...Appendix C Video Streaming Troubleshooting 133 Modero G5 Touch Panels Configuration and Programming ...