Level Events from Active Level Buttons
TurnipTruck
Junior Member
Greetings,
When a G4 panel has an active bargraph on it (one that creates a level event when touched), I've noticed that a level event with a value of zero is sent to the master when the panel goes offline or comes online. This pretty much makes the active touch function useless for panels that may drop offline or any panel that you may want to upload a new file to during normal system operation. I have eight active bargraphs on my office panel for lighting zones. A panel upload results in all of my lights going dark!
Anyone else experienced this or have a workaround?
Thanks.
When a G4 panel has an active bargraph on it (one that creates a level event when touched), I've noticed that a level event with a value of zero is sent to the master when the panel goes offline or comes online. This pretty much makes the active touch function useless for panels that may drop offline or any panel that you may want to upload a new file to during normal system operation. I have eight active bargraphs on my office panel for lighting zones. A panel upload results in all of my lights going dark!
Anyone else experienced this or have a workaround?
Thanks.
Comments
-
I would try using an Offline event handler for the TPs to set a flag. If the the TP is offline don't process level_events for that TP. I assume the current level is stored as a variable somewhere so in the TPs online event handler send the TP the stored value and then reset offline flag.
Of course this won't work unless the offline event handler triggers before the panel sends the level 0. -
this might be handy ))
http://amxforums.com/showthread.php?t=3461 -
yuri had some good advice in this thread:
http://www.amxforums.com/showthread.php?t=3570TurnipTruck wrote:I have eight active bargraphs on my office panel for lighting zones. A panel upload results in all of my lights going dark! -
Actually Jimweir192 had the best advice in the above thread. If you combine devices/channels/levels that can go offline (eg. touchpanels) with devices/channels/levels that can't go offline (ie. on a virtual device), you won't get the 'no value' events when the external device goes offline. The value of the channels/levels is maintained by the local (virtual) device and when the external device comes back online it is updated to match the values on the local device.
There's a couple of methods of doing this; combine_channels/levels/devices and define_connect_level spring to mind. -
Auser wrote:Actually Jimweir192 had the best advice in the above thread. If you combine devices/channels/levels that can go offline (eg. touchpanels) with devices/channels/levels that can't go offline (ie. on a virtual device), you won't get the 'no value' events when the external device goes offline. The value of the channels/levels is maintained by the local (virtual) device and when the external device comes back online it is updated to match the values on the local device.
There's a couple of methods of doing this; combine_channels/levels/devices and define_connect_level spring to mind.
when you upload a program to the master, it will still set the levels to 0 right? (you now, reboot of master and all)
Furthermore, i do like the method of using a virtual device, i had never used it until i read about it on the forums
-
It would be pretty boring if we all did things the same, wouldn't it?yuri wrote:when you upload a program to the master, it will still set the levels to 0 right? (you now, reboot of master and all)
Furthermore, i do like the method of using a virtual device, i had never used it until i read about it on the forums
-
Auser wrote:It would be pretty boring if we all did things the same, wouldn't it?

dunno, then i wouldnt have a problem reading through someone else's code
-
Setting a flag for the device with the active bargraph being online and limiting the string events from occuring only when the device is online solved the problem.
Thanks.
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
