beautypg.com

14 scripting – Matrix Orbital GLK24064R-25-1U User Manual

Page 52

background image

Command Summary

47

6.14 Scripting

14.1 Upload a
Script File

Dec
Hex
ASCII

254 92 2

FE 5C 02

■ \

STX

ID Length Data
ID Length Data
ID Length Data

v8.3

Save a list of commands to be executed at a later time. Bytes are saved as if they are being sent by the host, for
upload protocol see the

File Transfer Protocol or XModem Transfer Protocol entries.

ID

Short

Unique identification number of the script, value between 0 and 1023.

Length

Integer

Length of the script in bytes.

Data

Byte(s)

Data to be sent to the display when the script executes.


14.2 Set
Scripted Key

Dec
Hex
ASCII

254 141

FE 8D

■ ì

ID Row Column Down Script Up Script
ID Row Column Down Script Up Script
ID Row Column Down Script Up Script

v8.4

Create a key behaviour that responds to a press event by executing an uploaded script.

ID

Byte

Unique key identification number, maximum based on number of keys available.

Row

Byte

The row value of the key to be linked to the specified scripts.

Column

Byte

The column value of the key to be linked to the specified scripts.

Down Script

Short

Identification number of the script to run on a down event, value between 0 and 1023.

Up Script

Short

Identification number of the script to run on an up event, value between 0 and 1023.

*Note:

The command number for Set Scripted Key is 142 at all firmware revisions less than 8.4.

14.3 Set Scripted
Button

Dec
Hex
ASCII

254 142

FE 8E

■ Ä

ID X Y Width Height Type Down Script Up Script
ID X Y Width Height Type Down Script Up Script
ID X Y Width Height Type Down Script Up Script

v8.3

Create a button region that responds to a touch event by executing an uploaded script.

ID

Byte

Identification number of the touch region, value between 0 and 31

X

Byte

Leftmost coordinate.

Y

Byte

Topmost coordinate.

Width

Byte

Width of touch region.

Height

Byte

Height of touch region.

Type

Byte

Type of touch region. Must be 1.

Down Script

Short

Identification number of the script to run on a down event, value between 0 and 1023.

Up Script

Short

Identification number of the script to run on an up event, value between 0 and 1023.


14.4 Run
Script File

Dec
Hex
ASCII

254 93

FE 5D

■ ]

ID
ID
ID

v8.3

Execute a previously loaded script. Script 0 is loaded automatically on startup, unless in override mode.

ID

Short

Identification number of the script to run, value between 0 and 1023.



This manual is related to the following products: