Rfr - AMX Modero G5 Instruction Manual

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

Advertisement

Programming - Send Commands
Resource Send Commands (Cont.)

^RFR

102
Resource Refresh Command.
Force a refresh of the given resource. The command will refresh when the resource is visible
onscreen. If it is not onscreen, it will be deferred until it is visible to do the refresh. An optional
notification option can be set to receive a custom event from the panel when the resource refresh is
complete. Optional width and height parameters can be specified to refresh the image at a specific
resolution. If width and height parameters are not specified, the resource will be refreshed at the
resolution(s) of any active buttons to which it is assigned. If there are no active buttons currently
assigned that resource, it will be refreshed at its native resolution adjusted by any project scale factor.
Syntax:
"'^RFR-<resource name>,[notification option],[width],[height]'"
Variables:
Resource name = name of the resource to refresh
Notification option = An 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.
Width = Specifies the width at which the resource should be refreshed (the image will be scaled as
needed).
Height = Specifies the height at which the resource should be refreshed (the image will be scaled
as needed).
Examples:
SEND_COMMAND Panel, '^RFR-Sports_Image,on'
Force a refresh on 'Sport_Image' when the resource is visible onscreen and enable completion
notifications.
SEND_COMMAND Panel, '^RFR-Sports_Image,off'
Force a refresh on 'Sport_Image' when the resource is visible onscreen and disable completion
notifications.
SEND_COMMAND Panel, '^RFR-Sports_Image,once'
Force a refresh on 'Sport_Image' when the resource is visible onscreen and enable a onetime
completion notification.
SEND_COMMAND Panel, '^RFR-Sports_Image,once,800,600'
Force a refresh on 'Sport_Image' at the resolution 800x600 when the resource is visible
onscreen and enable a onetime completion notification.
Modero G5 Touch Panels - Configuration and Programming

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents