User's Manual
Programming
151
MVP-5200i Modero Viewpoint Widescreen Touch Panel
Dynamic Image Commands (Cont.)
^RAF
Add new
resources.
Adds any and all resource parameters by sending embedded codes and data.
Syntax:
"'^RAF-<resource name>,<data>'"
Variable:
resource name = 1 - 50 ASCII characters.
data = Refers to the embedded codes, see table below.
Example:
SEND_COMMAND Panel,"'^RAF-New Image,%P0%HAMX.COM%ALab/
Test_file%Ftest.jpg'"
Adds a new resource. The resource name is ’New Image’, %P (protocol) is an HTTP, %H
(host name) is
AMX.COM, %A (file path) is Lab/Test file, and %F (file name) is test.jpg.
Embedded Codes:
protocol
Parameter
’%P<0- 1>’
Embedde d Code
Set protocol. HTTP (0) or FTP (1).
Description
user
’%U<user>’
Set Username f or authentication.
password
’%S <passwor d>’
refr esh
file
’%R<refresh 1-65535>’
’%F<file>’
The number of seconds between
refr e shes in which the reso urce i s
downloaded again. Refreshing a
reso urce ca use s the b utt on
displaying that resource to refresh
also. The default value is 0 (only
download the resource once).
Full path to the location of the file or
program that will return the resource.
The path must be a valid HTTP URL
mi nus th e p rotoco l an d h ost . The
only e xcept ion t o th i s is t he in clusi on
of special escape sequences and in
t he ca se of th e FTP protoco l , regu l ar
expressions.
newe st
’%N<0- 1>’
Set the newest file. A value of 1
me ans tha t o nly the mo st r ece nt f ile
ma tching the patt er n is d own loaded .
host ’%H<host>’
Set Password for authentication.
Set Ho st Name (f ull y qu alified
DNS or IP Address).
path
’%A<path>’
Set Directory path. The path must
be a val id HTTP URL mi nus the
prot oco l, host, a nd fi l ename. Th e
only excepti on to th is is the
inclusion of special escape
sequences and in the case of the
FTP protocol, regular expressions.
preserve ’ %V<0-1 >’ S et the valu e o f the prese rve flag .
Default is 0. Currently preserve has
no function.