Programming

"^" Button Commands (Cont.)

^SKT

Syntax:

Enable socket

"'^SKT'"

touch

Example:

 

SEND COMMAND Panel,"'^SKT'"

 

Example:

 

Press,34,203

 

Release,34,21

 

Move,30,20

 

Opens up a listening TCP socket on port specified by send_command (must be > 1023).

 

User can connect to socket and read touch values for the panel. Format of the output is:

 

<Press/Release/Move>,<x-coordinate>,<y-coordinate>

 

 

^SHO

Syntax:

Show or hide a

"'^SHO-<vt addr range>,<command value>'"

button with a set

Variable:

variable text

variable text address range = 1 - 4000.

range.

command value = (0= hide, 1= show).

 

 

Example:

 

SEND_COMMAND Panel,"'^SHO-500.504&510.515,0'"

 

Hides buttons with variable text address range 500-504 & 510-515.

 

 

^STO

Syntax:

Set the timeout

"'^STO'"

value for

Example:

shutdown

SEND COMMAND Panel,"'^STO'"

 

 

Sets the timeout value for shutting down the panel.

 

 

^TEC

The Text Effect is specified by name and can be found in TPD4. You can also assign the

Set the text effect

color by name or RGB value (RRGGBB or RRGGBBAA).

Syntax:

color for the

specified

"'^TEC-<vt addr range>,<button states range>,<color value>'"

addresses/states

Variable:

to the specified

variable text address range = 1 - 4000.

color.

button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons

 

 

1 = Off state and 2 = On state).

 

color value = Refer to theRGB Values for all 88 Basic Colors table on page 101.

 

Example:

 

SEND_COMMAND Panel,"'^TEC-500.504&510.515,1&2,12'"

 

Sets the text effect color to Very Light Yellow on buttons with variable text 500-504

 

and 510-515.

 

 

^TEF

The Text Effect is specified by name and can be found in TPD4.

Set the text effect.

Syntax:

 

"'^TEF-<vt addr range>,<button states range>,<text effect name>'"

 

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).

 

text effect name = Refer to theText Effects table on page 126 for a listing of text

 

effect names.

 

Example:

 

SEND_COMMAND Panel,"'^TEF-500.504&510.515,1&2,Soft Drop Shadow

 

3'"

 

Sets the text effect to Soft Drop Shadow 3 for the button with variable text range 500-504

 

and 510-515.

 

 

MVP-8400i 8.4" Modero® ViewPoint® Touch Panel with Intercom

123

 

 

Page 137
Image 137
AMX MVP-8400i manual Skt, Sho, Sto, Tec, Tef