Programming

^RAF, ^RMF - Embedded Codes (Cont.)

Parameter

Embedded Code

Description

 

 

 

newest

’%N <0-1>’

Set the newest file. A value of 1 means that only the most

 

 

recent file matching the pattern is downloaded.

 

 

Note: The 'newest file' option only applies to FTP Dynamic

 

 

Images, and only those that have pattern matching as part of

 

 

their filename. Neither 'newest file' nor pattern matching apply

 

 

to HTTP Dynamic Images.

 

 

When set, the panel will first pull a list of files matching the

 

 

given pattern from the specified FTP server and path. The

 

 

timestamps of the items in the list will be compared, with the

 

 

newest one being displayed on the panel. This is useful for

 

 

source devices that place a uniquely named still image in a

 

 

folder at constant intervals, allowing the panel always to

 

 

display the most recent one.

 

 

 

preserve

’%V <0-1>’

Set the value of the preserve flag.

 

 

Default is 0. Currently preserve has no function.

 

 

 

Escape Sequences

The ^RAF and ^RMF commands support the replacement of any special escape sequences in the filename (specified by the %F embedded code) with the corresponding data obtained from the system as outlined in the table below:

Escape Sequences

Sequence

Panel Information

 

 

$DV

Device Number

 

 

$SY

System Number

 

 

$IP

IP Address

 

 

$HN

Host Name

 

 

$MC

Mac Address

 

 

$ID

Neuron ID (Only supported on panels that use ICSNet; ignored on all other panels)

 

 

$PX

X resolution of current panel mode/file

 

 

$PY

Y resolution of current panel mode/file

 

 

$ST

Current state

 

 

$AC

Address code

 

 

$AP

Address port

 

 

$CC

Channel code

 

 

$CP

Channel port

 

 

$LC

Level code

 

 

$LP

Level port

 

 

$BX

X Resolution of Current button

 

 

$BY

Y Resolution of Current button

 

 

$BN

Name of Button

 

 

For instance, http://www.amx.com/img.asp?device=$DV

would become

http://www.amx.com/img.asp?device=10001.

MVP-8400i 8.4" Modero® ViewPoint® Touch Panel with Intercom

149

 

 

Page 163
Image 163
AMX MVP-8400i manual Escape Sequences