Programming
97
Modero G4 Touch Panels - Configuration and Programming
Dynamic Image Commands (Cont.)
^RFRP
Force a refresh of the given resource, pre-fetching the resource. The command will "prefetch" the
resource even if it is not currently visible.
Syntax:
"'^RFRP-<resource name>, <notification option>'"
This command has new optional notification option at the end of the command with the following possible
values:
•
on
- notifications are sent whenever the named dynamic image resource is loaded/refreshed.
•
off
- notifications are not sent (default).
•
once
- notifications are sent one time whenever the named dynamic image resource is loaded/
refreshed. Notifications are not sent on subsequent loads/refreshes.
Examples:
SEND_COMMAND Panel, '^RFRP-Sports_Image,on'
Force a refresh on 'Sport_Image' immediately and enable completion notifications.
SEND_COMMAND Panel, '^RFRP-Sports_Image,off'
Force a refresh on 'Sport_Image' immediately and disable completion notifications.
SEND_COMMAND Panel, '^RFRP-Sports_Image,once'
Force a refresh on 'Sport_Image' immediately and enable a one-time completion notification.
^RMF
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 98.
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 98.
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
.
^RSR
Change the refresh rate for a given resource.
Syntax:
"'^RSR-<resource name>,<refresh rate>'"
Variables:
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’).
Содержание Modero G4
Страница 12: ...Modero G4 Configuration and Programming 2 Modero G4 Touch Panels Configuration and Programming ...
Страница 134: ...Appendix A Text Formatting 124 Modero G4 Touch Panels Configuration and Programming ...
Страница 139: ...Appendix B Video Streaming Troubleshooting 129 Modero G4 Touch Panels Configuration and Programming ...