Programming

"^" Button Commands (Cont.)

^GRD

Syntax:

Change the

"'^GRD-<vt addr range>,<bargraph ramp down time>'"

bargraph

Variable:

ramp-down time in

variable text address range = 1 - 4000.

1/10th of a

 

second.

bargraph ramp down time = In 1/10th of a second intervals.

 

Example:

 

SEND_COMMAND Panel,"'^GRD-500,200'"

 

Changes the bargraph ramp down time to 20 seconds.

 

 

^GRU

Syntax:

Change the

"'^GRU-<vt addr range>,<bargraph ramp up time>'"

bargraph

Variable:

ramp-up time in

variable text address range = 1 - 4000.

1/10th of a

 

second.

bargraph ramp up time = In 1/10th of a second intervals.

 

Example:

 

SEND_COMMAND Panel,"'^GRU-500,100'"

 

Changes the bargraph ramp up time to 10 seconds.

 

 

^GSC

A user can also assign the color by Name and R,G,B value (RRGGBB or RRGGBBAA).

Change the

Syntax:

bargraph slider

"'^GSC-<vt addr range>,<color value>'"

color or joystick

Variable:

cursor color.

 

 

variable text address range = 1 - 4000.

 

color value = Refer to the RGB Values for all 88 Basic Colors table on page 119.

 

Example:

 

SEND_COMMAND Panel,"'^GSC-500,12'"

 

Changes the bargraph or joystick slider color to Yellow.

 

 

^GSN

Slider names and cursor names can be found in the TPDesign4 slider name and cursor

Change the

drop-down list.

 

bargraph slider

Syntax:

name or joystick

"'^GSN-<vt addr range>,<bargraph slider name>'"

cursor name.

Variable:

 

 

variable text address range = 1 - 4000.

 

bargraph slider name = See table below.

Bargraph Slider Names:

None

Ball

Circle -L

 

 

 

Circle -M

Circle -S

Precision

 

 

 

Rectangle -L

Rectangle -M

Rectangle -S

 

 

 

Windows

Windows Active

 

 

 

 

Joystick Cursor Names:

 

 

 

 

None

Arrow

Ball

 

 

 

Circle

Crosshairs

Gunsight

 

 

 

Hand

Metal

Spiral

 

 

 

Target

View Finder

 

 

 

 

Example:

SEND_COMMAND Panel,"'^GSN-500,Ball'"

Changes the bargraph slider name or the Joystick cursor name to ’Ball’.

7" Modero Widescreen Touch Panels

139

 

 

 

 

Page 147
Image 147
AMX NXT-CV7 GRD-vt addr range,bargraph ramp down time, Sendcommand Panel,GRD-500,200, Sendcommand Panel,GRU-500,100