05-19-2010 10:43 PM
How would I create a 'Properties Page' for pumps, valves, etc.
We have a control system for one piece of equipment that when you click on a pump, or a valve, it pops up a page where you can alter settings like "Auto/Manual", "Component Protect On/Off", as well as view "Auto Demand", and even clear errors triggered on the item.
I figure that maybe a subvi would work? Using global variables to host the actual data?
What do you suggest? I want the best way of handling this.
05-20-2010 02:58 AM
05-20-2010 08:56 AM
Looking at that now. I am not sure how it would really help with what I am trying to do.
Let me try to describe a little more.
Say I have a boolean indicator that represents a pump. Red is the pump is off, Green its on. I would like to be able to click on the 'pump' and have 'properties' page show up, giving me more inidicators and controls that represent the pump more in depth. Making changes in the properties page, would save the state (like setting a pump from Auto to Manual) and return to the main VI.
05-20-2010 09:11 AM
05-20-2010 09:56 AM
05-20-2010 10:04 AM
Take a look at the example code I posted in this thread that demonstartes docking/undocking in LV.
Change my buttons to look like a valve, and modifiy the sub-VI to use your favorite Action Engine and you should be good to go.
Have fun,
Ben
05-20-2010 12:03 PM