AMX MVP-8400i manual Dynamic Image Commands

Models: MVP-8400i

1 192
Download 192 pages 12.44 Kb
Page 161
Image 161

Programming

Dynamic Image Commands

The following table describes Dynamic Image Commands.

Dynamic Image Commands

^BBR

Syntax:

Set the bitmap of

"'^BBR-<vt addr range>,<button states range>,<resource name>'"

a button to use a

Variable:

particular

variable text address range = 1 - 4000.

resource.

button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons

 

 

1 = Off state and 2 = On state).

 

resource name = 1 - 50 ASCII characters.

 

Example:

 

SEND_COMMAND Panel,"'^BBR-700,1,Sports_Image'"

 

Sets the resource name of the button to ’Sports_Image’.

 

 

^RAF

Adds any and all resource parameters by sending embedded codes and data.

Add new

Since the embedded codes are preceded by a '%' character, any '%' character contained

resources.

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 below.

 

Syntax:

 

"'^RAF-<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 148.

 

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 that the %%5F in the file path is actually encoded as %5F.

 

 

^RFR

Syntax:

Force a refresh for

"'^RFR-<resource name>'"

a given resource.

Variable:

 

resource name = 1 - 50 ASCII characters.

 

Example:

 

SEND_COMMAND Panel,"'^RFR-Sports_Image'"

 

Forces a refresh on ’Sports_Image’.

 

 

^RFRP

This command can be used by programmers to prefetch images that will be needed soon.

Force a refresh for

Syntax:

a given resource

“’^RFRP-<resource name>’”

regardless of

Variable:

current view.

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.

 

 

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

147

 

 

Page 161
Image 161
AMX MVP-8400i manual Dynamic Image Commands