Raf, ^Rmf - Embedded Codes; Rfrp; Rmf; Rsr - AMX Modero ViewPoint MVP-8400i Operation/Reference Manual

8.4" modero viewpoint touch panel with intercom
Hide thumbs Also See for Modero ViewPoint MVP-8400i:
Table of Contents

Advertisement

Dynamic Image Commands (Cont.)

^RFRP

Force a refresh for
a given resource
regardless of 
current view.

^RMF

Modify an 
existing resource.

^RSR

Change the
refresh rate for a
given resource.

^RAF, ^RMF - Embedded Codes

The ^RAF and ^RMF commands add and modify any and all resource parameters by sending embedded codes
and data:
"'^RAF-<resource name>,<data>'"
"'^RMF-<resource name>,<data>'"
The <data> variable uses the embedded codes described in the following table:
^RAF, ^RMF - Embedded Codes
Parameter Embedded Code
protocol
user
password
host
MVP-8400i 8.4" Modero® ViewPoint® Touch Panel with Intercom
This command can be used by programmers to prefetch images that will be needed soon.
Syntax:
"'^RFRP-<resource name>'"
Variable:
resource name = 1 - 50 ASCII characters.
Example:
SEND_COMMAND Panel, "'^RFRP-DopplerRadarDFW'"
Performs an update or prefetch on the resource named "DopplerRadarDFW", even if the
image is not in the current view.
Modifies any and all resource parameters by sending embedded codes and data.
Since the embedded codes are preceded by a '%' character, any '%' character contained
in the URL must be escaped with a second '%' character (see example).
The file name field (indicated by a %F embedded code) may contain special escape
sequences as shown in the ^RAF, ^RMF - Embedded Codes section on page 166.
Syntax:
"'^RMF-<resource name>,<data>'"
Variables:
• resource name = 1 - 50 ASCII characters
• data = Refers to the embedded codes, see the ^RAF, ^RMF - Embedded Codes section
on page 166.
Example:
SEND_COMMAND Panel,"'^RMF-Sports_Image,%ALab%%5FTest/
Images%Ftest.jpg'"
Changes the resource 'Sports_Image' file name to 'test.jpg' and the path to 'Lab_Test/
Images'.
Note that the %%5F in the file path is actually encoded as %5F.
Syntax:
"'^RSR-<resource name>,<refresh rate>'"
Variable:
resource name = 1 - 50 ASCII characters.
refresh rate = Measured in seconds.
Example:
SEND_COMMAND Panel,"'^RSR-Sports_Image,5'"
Sets the refresh rate to 5 seconds for the given resource ('Sports_Image').
'%P <0-1>'
'%U <user>'
'%S <password>'
'%H <host>'
Description
Set protocol. HTTP (0) or FTP (1).
Set Username for authentication.
Set Password for authentication.
Set Host Name (fully qualified DNS or IP Address).
Programming
165

Advertisement

Table of Contents
loading

Table of Contents