Programming
161
Modero VG Series Touch Panels - Instruction Manual
"^" Button Commands (Cont.)
^TOP Enables/disables touch output to Master. If enabled, Press/Move/Release events are sent to the Master as string events.
Syntax:
"'^TOP-<state>'"
<state> is 0(disable) 1(presses/releases), 2(moves), 3(press/move/release).
Note: Move should be used with caution. This setting can generate a significant amount of traffic to the master depending on
user interaction.
Example command: "'^TOP-1'"
Example Response: "String Event: Text: Press,320,480"
Example Response: "String Event: Text: Release,320,480"
^TXT Assign a text string to those buttons with a defined address range. Sets Non-Unicode text.
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 = 1 - 50 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.
^UNI Set Unicode text. For the ^UNI command (%UN and ^BMF command), the Unicode text is sent as ASCII-HEX nibbles.
Syntax:
"'^UNI-<vt addr range>,<button states range>,<unicode 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).
unicode text = Unicode HEX value.
Example:
SEND_COMMAND Panel,"'^UNI-500,1,0041'"
Sets the button’s unicode character to ’A’.
Note: To send the variable text ’A’ in unicode to all states of the variable text button 1, (for which the character code is 0041
Hex), send the following command:
SEND_COMMAND TP,"'^UNI-1,0,0041'"
Note: Unicode is always represented in a HEX value. TPD4 generates (through the Text Enter Box dialog) unicode HEX values.
Refer to the TPDesign4 Instruction Manual for more information.
^VTO Virtual touch press. Simulates a touch/release/pulse at the given coordinate.
Syntax:
^VTP-<0=Release, 1=Press, 2=Pulse>,<x>,<y>