Send arbitrary text from RMS
chill
Posts: 186
I'm trying to set up an RMS system so the user can click a button on a web page, enter some text in a dialog box, and have that text sent to the room system.
The Programmer's Guide says you can do an ADD ACTION followed by an ADD SARG for that action, which seems like exactly what I need. However, it doesn't work correctly for me, and tech support tells me that it's broken. This is RMS 3.3 BTW.
So...
-Question for programmers: Have you done anything like this? If so, how?
-Question for AMX: will SARG be unbroken anytime soon? If not, how would I implement such a thing?
Thanks much.
The Programmer's Guide says you can do an ADD ACTION followed by an ADD SARG for that action, which seems like exactly what I need. However, it doesn't work correctly for me, and tech support tells me that it's broken. This is RMS 3.3 BTW.
So...
-Question for programmers: Have you done anything like this? If so, how?
-Question for AMX: will SARG be unbroken anytime soon? If not, how would I implement such a thing?
Thanks much.
0
Comments
First off, args are not tied independently to a single master in RMS. Rather, they are tied to a single server. So all of your args are shared and you must have a unique action ID and a unique Action Name for each action for each netlinx master for that server.
For now, it is recommended to use blocks of IDs per master, so they don't walk on each other. Also note that once you set args, the only way to change them is to purge the actions from the server (and reboot each master) or to choose a new unique action ID for your specific master (my choice). Once registered, you CANNOT modify the args, I repeat you CANNOT modify the args.
Here's a sample that worked for me. Notice that lighting uses 27 and hvac uses 71.
Lighting using a NARG:
HVAC using an EARG:
//
// Chad Reynoldson, CTS
// 4035 South 81st Lincoln,NE 60506
// w:402.489.1220 m:402.525.9209
// http://www.ReynoldsonControl.com/blog/
// http://twitter.com/chadrey/
//
That is a veritable gold nugget. I will give it a shot. Thanks!