Appendix A: Text Formatting
126
Modero G5 Touch Panels - Configuration and Programming
Input Mask Output Examples
The following are some common input masking examples:
URL Resources
A URL can be broken into several parts. For example, with the URL
http://www.amx.com/company-info-home.asp
, this
URL indicates that the protocol in use is
http
(HyperText Transport Protocol) and that the information resides on a host
machine named
www.amx.com
. The image on that host machine is given an assignment (
by the program
) name of
company-info-home.asp (Active Server Page)
.
The exact meaning of this name on the host machine is both protocol dependent and host dependent. The information
normally resides in a file, but it could be generated dynamically. This component of the URL is called the file
component, even though the information is not necessarily in a file.
A URL can optionally specify a port, which is the port number to which the TCP/IP connection is made on the remote
host machine. If the port is not specified, the default port for the protocol is used instead. For example, the default port
for http is
80
. An alternative port could be specified as:
http://www.amx.com:8080/company-info-home.asp
.
Special Escape Sequences
The system has only a limited knowledge of URL formats, as it transparently passes the URL information onto the server
for translation. A user can then pass any parameters to the server side programs such as CGI scripts or active server
pages. However; the system will parse the URL looking for special escape codes. When it finds an escape code, it
replaces that code with a particular piece of panel, button, or state information.
For example, "http://www.amx.com/img.asp?device=$DV" would become
http://www.amx.com/img.asp?device=10001
.
Other used escape sequences include:
Output Examples
Common Name
Input Mask
Input
IP Address Quad
[0|255]{.}
Any value from 0 to 255
Hour
[1|12]{:}
Any value from 1 to 12
Minute/Second
[0|59]{:}
Any value from 0 to 59
Frames
[0|29]{:}
Any value from 0 to 29
Phone Numbers
(999) 000-0000
(555) 555-5555
Zip Code
00000-9999
75082-4567
Any legal HTTP syntax can be used.
Escape Sequences
Sequence
Panel Information
$DV
Device Number
$SY
System Number
$IP
IP Address
$HN
Host Name
$MC
Mac Address
$PX
X Resolution of current panel mode/file
$PY
Y Resolution of current panel mode/file
$BX
X Resolution of current button
$BY
Y Resolution of current button
$BN
Name of button
$ST
Current state
$AC
Address Code
$AP
Address Port
$CC
Channel Code
$CP
Channel Port
$LC
Level Code
$LP
Level Port
Содержание Modero G5
Страница 58: ...Settings Menu 48 Modero G5 Touch Panels Configuration and Programming ...
Страница 62: ...Gestures 52 Modero G5 Touch Panels Configuration and Programming ...
Страница 66: ...MXA MP and MXA MPL Programming 56 Modero G5 Touch Panels Configuration and Programming ...
Страница 138: ...Appendix B Bargraph Functions 128 Modero G5 Touch Panels Configuration and Programming ...
Страница 143: ...Appendix C Video Streaming Troubleshooting 133 Modero G5 Touch Panels Configuration and Programming ...