Input commands, Embedded codes, Cal ^kps ^vks – AMX Modero NXD-CV5 User Manual

Page 134

Advertising
background image

Programming

122

NXD-CV5 5" Modero Wall/Flush Mount Touch Panel

Input Commands

These Send Commands are case insensitive.

Embedded codes

The following is a list of G4 compatible embedded codes:

Input Commands

^CAL

Put panel in
calibration mode.

Syntax:

"'^CAL'"

Example:

SEND COMMAND Panel,"'^CAL'"

Puts the panel in calibration mode.

^KPS

Set the
keyboard
passthru.

Syntax:

"'^KPS-<pass data>'"

Variable:

pass data:
<blank/empty> = Disables the keyboard.
0 = Pass data to G4 application (default). This can be used with VPC or text areas.
1 - 4 = Not used.
5 = Sends out data to the Master.

Example:

SEND COMMAND Panel,"'^KPS-5'"

Sets the keyboard passthru to the Master. Option 5 sends keystrokes directly to the
Master via the Send Output String mechanism. This process sends a virtual keystroke
command (^VKS) to the Master.
Example 2:

SEND COMMAND Panel,"'^KPS-0'"

Disables the keyboard passthru to the Master.
The following point defines how the parameters within this command work:
• Accepts keystrokes from any of these sources: attached USB keyboard or Virtual

keyboard.

^VKS

Send one or more
virtual key strokes
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 122 that define 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

Advertising