Modero RMF Command
mpullin
Obvious Troll Account, Marked for Deletion
What's the exact syntax for this command? I know it has to do with dynamic images. Is it something like this:
SEND_COMMAND TouchPanels[zone], "'^RMF-Small Playing Cover,',AMX_MAX_IP,'/art/',PATH"Mine's not working (after executing the image contains nothing), so I want to make sure I have the syntax right, to begin with.
Comments
-
Out of Software History
Example:
SEND_COMMAND Panel,"'^RMF-Sports_Image%Lab_Test/
Images%Ftest.jpg'"
Changes the resource 'Sports_Image' file name to 'test.jpg' and the path to 'Lab_Test/Images'. -
I used code along these lines in a screensaver program to point a G4 dynamic image "slot" to a new file and refresh the image:
SEND_COMMAND TP,"'^RMF-i1%H192.168.1.21'" // set host address for resource 'i1' SEND_COMMAND TP,"'^RMF-i1%Apictures'" // set directory for resource SEND_COMMAND TP,"'^RMF-i1%Fnewpic.jpg'" // set file name for resource SEND_COMMAND TP,"'^RFR-i1'" // force refresh of resource
In this case, a graphic resource called i1 was already in the TPD4 file.
Looks like you can bunch up the embedded codes into a single send command if you want. I did it like this for readability.
- Chip -
Thanks. After studying the MAX UI file, I was able to get the command to work by using this:
SEND_COMMAND TouchPanels[zone], "'^RMF-Small Playing Cover,%P0%H',AMX_MAX_IP,'%A/art/%F',PARAM,'_s.jpg'"
Of course, I didn't really understand what was going on. But now I do!
%H - sets host
%A - sets directory
%F - sets filename
%P - sets protocol? (guess) -
Yup. P0 is HTTP.mpullin wrote:%P - sets protocol? (guess)
There's a whole chart in Software History that lists the embedded codes and what each one does.
Stop reverse-engineering code - Software History is your friend!
- Chip -
Yeah, sorry, I never scrolled that far down the software history before, didn't realize that there's a bunch of cool stuff down there. For instance, I found that the command 'SLEEP' puts a Modero Panel into standby; I always wondered how to do that.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums