Keep bargraph levels despite panel/controller upload ?
bia@jdm.dk
Junior Member
Hi
Got a Bargraph controlling a floorheatvalve with 0-10V.
Everytime I upload a new project to either the touch panel or the controller - the bargraph and hereby the 0-10V is set to 0....
Are there anyway I can set the bargraph to at least a fixed value, upon panel or controller startup...?
Regards Brian A
Got a Bargraph controlling a floorheatvalve with 0-10V.
Everytime I upload a new project to either the touch panel or the controller - the bargraph and hereby the 0-10V is set to 0....
Are there anyway I can set the bargraph to at least a fixed value, upon panel or controller startup...?
Regards Brian A
Comments
-
Update it in an online event for the panel. If it were me, I'd force, if possible, a query to the device on the online event, then send that ... it might still read zero for a few moments while everything is starting up, but once the dust settles it will be the actual value.
-
You can protect a touch panel reboot/reload from affecting the level by also having a channel assigned to the button. Only affect the actual level if the channel is pushed when the level changes. This might also help with the processor reboot as well.
Jeff -
Spire_Jeff wrote: »You can protect a touch panel reboot/reload from affecting the level by also having a channel assigned to the button. Only affect the actual level if the channel is pushed when the level changes. This might also help with the processor reboot as well.
Jeff
This is my current favorite method. Assign the level a channel number too and use it to set a var or just track this channel's state. If using the var method clear the var upon release. Now in the level event use this var or channel state in an "if" conditional to qualify the level event so if it wasn't iniated by a button push it's likely a system reboot or the panel fell offline so do nothing but if your flag of choice is set then act upon the level change. -
I was under the assumption that if you declare virtual touch panel and then do a define_combine to the touch panels , then the level value never goes to zero
-
Spire_Jeff wrote: »You can protect a touch panel reboot/reload from affecting the level by also having a channel assigned to the button. Only affect the actual level if the channel is pushed when the level changes. This might also help with the processor reboot as well.
Jeff
OMG that's brilliant! I have been setting a bunch of flags during offline and online events and various other things that seem well stupid now, Thanks! -
bia@jdm.dk wrote: »Hi
Got a Bargraph controlling a floorheatvalve with 0-10V.
Everytime I upload a new project to either the touch panel or the controller - the bargraph and hereby the 0-10V is set to 0....
Are there anyway I can set the bargraph to at least a fixed value, upon panel or controller startup...?
Regards Brian A
Seems like there are various methods to achieve what you want. I only update levels if the panel is online. Otherwise I leave them alone.
Paul
Leave a Comment
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
