Ppn; Ppt; Ppx; Pse - AMX Modero G4 Instruction Manual

Configuration and programming
Table of Contents

Advertisement

Programming
Page Commands (Cont.)

@PPN

@PPT

@PPX

@PSE

@PSP

58
Activate a specific popup page to launch on either a specified page or the current page. If the page name
is empty, the current page is used (see example 2). If the popup page is already on, do not re-draw it. This
command works in the same way as the 'Show Popup' command in TPDesign4.
Syntax:
"'@PPN-<popup page name>;<page name>'"
Variables:
popup page name = 1 - 50 ASCII characters. Name of the popup page.
page name = 1 - 50 ASCII characters. Name of the page the popup is displayed On.
Examples:
SEND_COMMAND Panel,"'@PPN-Popup1;Main'"
Activates 'Popup1' on the 'Main' page.
SEND_COMMAND Panel,"'@PPN-Popup1'"
Activates the popup page 'Popup1' on the current page.
Set a specific popup page to timeout within a specified time. If timeout is empty, popup page will clear the
timeout.
Syntax:
"'@PPT-<popup page name>;<timeout>'"
Variables:
popup page name = 1 - 50 ASCII characters. Name of the popup page.
timeout = Timeout duration in 1/10ths of a second.
Example:
SEND_COMMAND Panel,"'@PPT-Popup1;30'"
Sets the popup page 'Popup1' to timeout within 3 seconds.
Close all popups on all pages. This command works in the same way as the 'Clear All' command in
TPDesign4.
Syntax:
"'@PPX'"
Example:
SEND_COMMAND Panel,"'@PPX'"
Close all popups on all pages.
Set the show effect for the specified popup page to the named show effect.
Syntax:
"'@PSE-<popup page name>;<show effect name>'"
Variables:
popup page name = 1 - 50 ASCII characters. Name of the page the popup is displayed On.
show effect name = Refers to the popup effect name being used.
Example:
SEND_COMMAND Panel,"'@PSE-Popup1;Slide from Left'"
Sets the Popup1 show effect name to 'Slide from Left'.
Set the show effect position. Only 1 coordinate is ever needed for an effect; however, the command will
specify both. This command sets the location at which the effect will begin.
Syntax:
"'@PSP-<popup page name>;<x coordinate>,<y coordinate>'"
Variable:
popup page name = 1 - 50 ASCII characters. Name of the page the popup is displayed On.
Example:
SEND_COMMAND Panel,"'@PSP-Popup1;100,0'"
Sets the Popup1 show effect x-coordinate value to 100 and the y-coordinate value to 0.
Modero G4 Touch Panels - Configuration and Programming

Advertisement

Table of Contents
loading

Table of Contents