RMSProjectorMod default thresholds?
annuello
Junior Member
By default, the RMSProjectorMod module has a default Lamp Hour threshold set to 1000 hours. How do I increase that to 1700 hours? I'd like to do it programatically when the NetLinx registers with RMS, rather than via the web interface. I'm in the process of adding around 40 projectors (on 25 masters) which need this default threshold changed.
From the RMS web GUI, I'm also having trouble clearing the threshold. I've first increased the threshold to 1700 hours (being wary of the string contatenation bug in the "hours" field). I've tried to reset the parameter via the Reset Parameter option using a value which is less than the threshold value. The new (reset) value does not get applied, and the parameter remains triggered.
As always, any clues are appreciated.
Roger McLean
Swinburne University
From the RMS web GUI, I'm also having trouble clearing the threshold. I've first increased the threshold to 1700 hours (being wary of the string contatenation bug in the "hours" field). I've tried to reset the parameter via the Reset Parameter option using a value which is less than the threshold value. The new (reset) value does not get applied, and the parameter remains triggered.
As always, any clues are appreciated.
Roger McLean
Swinburne University
Comments
-
The default Lamp Hour threshold of 1000 hours can be found in the DEFINE_CONSTANT section of the RMSProjectorMod.axs. The source of all the support modules including the Projector module are part of the RMS-SDK installation.
There your can find the definition:DEFINE_CONSTANT ... RMS_DEVICE_STATUS_LIMIT = 1000
If you change the value to 1700 and compile the module, all following projectors should have the 1700 hours as upper limit. If you use Code Crafter for code generation then it will copy the modified module into your project and the 1700 hours will be the default (for the registration of all new projectors).
The threshold of existing projectors (meaning already registered on the server) in your project should stay in my opinion because existing or modified threshold values are not overwritten by code. They only take effect on the first registration of a device/parameter.
Hope this helps.
Best regards, Harald -
Roger.
It's a 3-step process:
1 - delete the Lamp Hours parameter for the projector on the RMS console
2 - modify the threshold as Harald said previously (and compile). Be careful there isn't another (unmodified) copy of the RMSProjectorMod.tko that Studio can pickup during compile - that caught me out a few times.
3 - compile & download room code.
Simply changing the threshold on the RMS console won't clear the alert once it's triggered - even though everything looks right. If you change the threshold before it triggers, it seems to work OK. Less than intuitive!
Another tip - set the threshold slightly under the maunfacturer's lamp threshold. If you set them the same, the RMS maintenance alert & the 'replace lamp' message happen simultaneously. If you set the threshold lower, you get some advance warning in RMS - before the end user complains.
Cheers
...Phil
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