Programming

"^" Button Commands (Cont.)

^DPF

Syntax:

 

Delete page flips

"'^DFP-<vt addr range>,<actions>,<page name>'"

from button if it

Variable:

 

already exists.

variable text address range = 1 - 4000.

 

actions =

Stan[dardPage] - Flip to standard page

 

 

Prev[iousPage] - Flip to previous page

 

 

Show[Popup] - Show Popup page

 

 

Hide[Popup] - Hide Popup page

 

 

Togg[lePopup] - Toggle popup state

 

 

ClearG[roup] - Clear popup page group from all pages

 

 

ClearP[age] - Clear all popup pages from a page with the

 

 

specified page name

 

 

ClearA[ll] - Clear all popup pages from all pages

 

page name = 1 - 50 ASCII characters.

 

Example:

 

 

SEND COMMAND Panel,"'^DPF-409,Prev'"

 

Deletes the assignment of a button from flipping to a previous page.

 

 

 

^ENA

Syntax:

 

Enable or

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

disable buttons

Variable:

 

with a set

variable text address range = 1 - 4000.

variable text

command value = (0= disable, 1= enable)

range.

Example:

 

 

 

 

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

 

Disables button pushes on buttons with variable text range 500-504 & 510-515.

 

 

^FON

Font ID numbers are generated by the TPDesign4 programmers report.

Set a font to a

Syntax:

 

specific Font ID

"'^FON-<vt addr range>,<button states range>,<font value>'"

value for those

Variable:

 

buttons with a

variable text address range = 1 - 4000.

defined address

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

range.

1 = Off state and 2 = On state).

 

 

font value = range = 1 - XXX. Refer to theDefault Font Styles and ID Numbers table on

 

page 105.

 

 

Example:

 

 

SEND_COMMAND Panel,"'^FON-500.504&510.515,1&2,4'"

 

Sets the font size to font ID #4 for the On and Off states of buttons with the variable text

 

range of 500-504 & 510-515.

 

 

 

The Font ID is generated by TPD4 and is located in TPD4 through the Main menu.

Panel > Generate Programmer's Report >Text Only Format >Readme.txt.

120

MVP-7500/8400 Modero Viewpoint Wireless Touch Panels

Page 134
Image 134
AMX MVP-7500/8400 manual Dpf, Ena, Fon