Button Commands; Button Query Commands; Ppon - AMX MST-1001 Configuration Manual

Modero s series tabletop touch panel and landscape wall mount touch panel
Table of Contents

Advertisement

Page Commands (Cont.)

PPON

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:
"'PPON-<popup page name>;<page name>'"
• Variables:
• Example:
SEND_COMMAND Panel,"'PPON-Popup1; Main'"
• Example:
SEND_COMMAND Panel,"'PPON-Popup1'"

Button Commands

These Button Commands are used in NetLinx Studio and are case insensitive. All commands that begin with "^" have the capability
of assigning a variable text address range and button state range. A device must f irst be def ined in the NetLinx programming
language with values for the Device: Port: System (in all programming examples - Panel is used in place of these values).
Variable text ranges allow you to target 1 or more variable text channels in a single command.

Button State ranges allow you to target 1 or more states of a variable text button with a single command.

"." Character is used for the 'through' notation, also the "&" character is used for the 'And' notation.


Button Query Commands

Button Query commands reply back with a custom event. There will be one custom event for each button/state combination. Each
query is assigned a unique custom event type.
The following example is for debug purposes only:
NetLinx Example: CUSTOM_EVENT[device, Address, Custom event type]
DEFINE_EVENT
CUSTOM_EVENT[TP,529,1001]
CUSTOM_EVENT[TP,529,1002]
CUSTOM_EVENT[TP,529,1003]
CUSTOM_EVENT[TP,529,1004]
CUSTOM_EVENT[TP,529,1005]
CUSTOM_EVENT[TP,529,1006]
CUSTOM_EVENT[TP,529,1007]
CUSTOM_EVENT[TP,529,1008]
CUSTOM_EVENT[TP,529,1009]
CUSTOM_EVENT[TP,529,1010]
CUSTOM_EVENT[TP,529,1011]
CUSTOM_EVENT[TP,529,1012]
CUSTOM_EVENT[TP,529,1013]
CUSTOM_EVENT[TP,529,1014]
CUSTOM_EVENT[TP,529,1015]
{
SEND_STRING Id=',ITOA(CUSTOM.ID),' Type=',ITOA(CUSTOM.TYPE)"
SEND_STRING 0,"'Flag
SEND_STRING 0,"'VALUE1 =',ITOA(CUSTOM.VALUE1)"
SEND_STRING 0,"'VALUE2 =',ITOA(CUSTOM.VALUE2)"
SEND_STRING 0,"'VALUE3 =',ITOA(CUSTOM.VALUE3)"
SEND_STRING 0,"'TEXT
SEND_STRING 0,"'TEXT LENGTH =',ITOA(LENGTH_STRING(CUSTOM.TEXT))"
}
All custom events have the following 7 fields:
Custom Event Fields
Field
Uint Flag
slong value1
slong value2
slong value3
string text
text length (string encode)
These fields are populated differently for each query command. The text length (String Encode) field is not used in any command.
Modero S Series Touch Panels - Configuration & Programming Manual
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.
Activates the popup page 'Popup1' on the Main page.
Activates the popup page 'Popup1' on the current page.
// Text
// Bitmap
// Icon
// Text Justification
// Bitmap Justification
// Icon Justification
// Font
// Text Effect Name
// Text Effect Color
// Word Wrap
// ON state Border Color
// ON state Fill Color
// ON state Text Color
// Border Name
// Opacity
=',ITOA(CUSTOM.FLAG)"
=',CUSTOM.TEXT"
Description
0 means text is a standard string, 1 means Unicode encoded string
button state number
actual length of string (this is not encoded size)
index of first character (usually 1 or same as optional index
the text from the button
button text length
Programming
49

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msd-701-lMst-431Msd-431-lMsd-1001-lMst-701

Table of Contents