Resource Send Commands; Raf; Rmf - AMX Modero G5 Instruction Manual

X series g5 touch panels
Hide thumbs Also See for Modero G5:
Table of Contents

Advertisement

Resource Send Commands

Resource Send Commands

^RAF

^RMF

Modero G5 Touch Panels - Configuration and Programming
Resource Add Command.
Add new resources. Adds 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 table on page 104.
Syntax:
"'^RAF-<resource name>,<data>'"
Variables:
resource name = name of the resource to add.
data = Refers to the embedded codes, see the ^RAF, ^RMF - Embedded Codes on page 104.
Example:
SEND_COMMAND Panel,"'^RAF-New Image, %P0%HAMX.COM%ALab/
Test%%5Ffile%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
%F (file name) is test.jpg.
Note: the %%5F in the file path is actually encoded as %5F.
Resource Modify Command.
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 table on page 104.
Syntax:
"'^RMF-<resource name>,<data>'"
Variables:
resource name = name of the resource to modify
data = Refers to the embedded codes, see the ^RAF, ^RMF - Embedded Codes on page 104.
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: the %%5F in the file path is actually encoded as %5F.
Programming - Send Commands
101

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents