06-03-2011 06:02 PM
I have a Piping Diagram on my front panel in which I place a custom control for switching a valve on and off. My program has a number of automated sequences as well as a "manual" mode. In manual mode I would like change the state of my valve by simply pressing the control (which looks like a valve on the diagram). This part I can do now. However I would also like for the valve control to change state via my code during the automated sequence--i.e. I would like to force the control via code instead of via front panel interaction so that my piping diagram displays my valve status during the automated sequence. Alternatively I could have the valve on the diagram be a indicator instead of a control, but I want the manual control to occur by pushing the valve on the diagram, not somewhere else. So I could do that by having an invisible control right on top of the indicator, but I don't know how to do that either.
Is it clear what Im asking?
Can anyone help?
Thanks,
Ron
Solved! Go to Solution.
06-03-2011 06:13 PM
Yes you can put a button over another indicator
06-03-2011 06:14 PM
If you want a simple way, just create a local variable of the control and write to it.
06-03-2011 06:54 PM
Yes, local variable makes this quite easy. I didn't even know what they were before this.
Thanks,
Ron