Programming the Mio R-4

 

 

 

 

 

 

"^" Button Commands (Cont.)

 

 

 

 

 

 

 

 

 

 

 

^GSN

Change the bargraph slider name or joystick cursor name. Slider names and cursor

 

Change the

names can be found in the TPDesign4 slider name and cursor drop-down list.

 

Syntax:

 

 

 

 

bargraph slider

 

 

 

 

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 Device,"'^GSN-500,Ball'"

 

 

 

 

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

 

 

 

 

 

 

 

 

^ICO

Set the icon to a button.

 

 

 

 

Set the icon to a

Syntax:

 

 

 

 

button

"'^ICO-<vt addr range>,<button states range>,<icon index>'"

 

 

 

 

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

 

 

 

 

• icon index range = 0 - 9900 (a value of 0 is clear).

 

 

 

 

Example:

 

 

 

 

 

SEND_COMMAND Device,"'^ICO-500.504&510.515,1&2,1'"

 

 

Sets the icon for On and Off states for buttons with variable text ranges of 500-504 &

 

 

510-515.

 

 

 

 

 

 

 

 

 

 

 

Mio Modero R-4

61

 

 

Page 67
Image 67
AMX Mio Modero R-4 Gsn, GSN-vt addr range,bargraph slider name, Ico, ICO-vt addr range,button states range,icon index