Programming
121
TPI-PRO Total Presentation Interface - Pro Edition
Embedded Codes

The following is a list of G4 compatible embedded codes:

Input Commands (Cont.)

^TPO
Sets the display
for G4 graphics.
Selects which of the 2 outputs display G4 graphics.
Syntax:
SEND_COMMAND <DEV>,"'^TPO-<Output Value>'"
Variable:
Output Value:
0 - None (should not be used in a typical installation)
1 - G4 Graphics on output 1 only
2 - G4 Graphics on output 2 only
3 - G4 Graphics on both outputs 1 and 2 (default)
Note: Any G4 graphics that appear over a Video Window when the ^TPO Command is
used to turn off G4 graphics on an output may leave a “hole” in the video display if the
button opacity is too high. The upper limit of opacity for any graphic over a video window
is panel design dependant. The more layers of graphics over a video window, the lower
you need to set the opacity for the layers. A single layer of graphics has shown that an
opacity value of 250 or lower is sufficient to correct the problem.
Example:
SEND_COMMAND Panel,"'^TPO-3'"
Sets G4 Graphics on both outputs 1 & 2
^VKS
Send one or more
virtual keystrokes
to the G4
application.
Key presses and key releases are not distinguished except in the case of CTRL, ALT, and
SHIFT.
Refer to theEmbedded Codes table on page 121 that defines special characters which
can be included with the string but may not be represented by the ASCII character set.
Syntax:
"'^VKS-<string>'"
Variable:
string = Only 1 string per command/only one stroke per command.
Example:
SEND COMMAND Panel,"'^VKS-'8"
Sends out the keystroke 'backspace' to the G4 application.

Embedded Codes

Decimal numbers Hexidecimal values Virtual keystroke
8($08) Backspace
13 ($0D) Enter
27 ($1B) ESC
128 ($80) CTRL key down
129 ($81) ALT key down
130 ($82) Shift key down
131 ($83) F1
132 ($84) F2
133 ($85) F3
134 ($86) F4
135 ($87) F5
136 ($88) F6
137 ($89) F7
138 ($8A) F8