04-04-2007 11:35 AM
Basically what I am trying to do is change a set of 4 integer values simultaneously, in a series of steps to ramp up gas flows for a process. So I used a set of nested case structures and a event structure to control this.
The first case structure (outermost) flips from manual control to automatic via the “RxRamp Override” Boolean switch.
The second case structure controls the steps of the reactor startup, and is controlled via the “Step Up” and “Step Down” boolean switches and code within the event structure to increment or decrement the “Step #”.
The third case structure controls which way the process goes, either startup or shutdown.
~~~
So here is my issue, As long as those control structures are in my VI it screws with the code outside said structures.
For example, the Argon and Helium Isolation valves will only open when after clicking the boolean switches and then clicking the safety unlock for the step booleans (this makes the step booleans visible to prevent the operator from accidentally changing the gas flows before the rest of the step procedure is finished)
04-04-2007 01:08 PM
04-04-2007 01:09 PM
You have to replace those decorations on your diagram with structures that actually will execute your program.
Using the Run Continuous button is not the correct way to keep executing your code. It's more a debug tool than anything else. When you use it, it starts the VI, then stops, then starts again from the beginning, etc. It's like hitting the run button many times. You have no interaction with any of your 'structures' with run continuous.
You should also think about ways to eliminate all of those local variables.
04-04-2007 01:42 PM - edited 04-04-2007 01:42 PM
Message Edited by pkramer on 04-04-2007 11:44 AM