01-04-2010 09:26 AM
Attached is a VI that I am working on. I do not mind having to start the timer automatically but I would really like to have it start when the selected pressure is reached.
Once reached, if the pressure drops below the desired pressure, the timer should stop, restart at 0 and start again when the pressure is reached (meaning the timer will only run while the pressure is >= user input and must go for at least 3 minutes to complete.). As a side note, if I pause the timer manually, time still continues to accumulate and when it is started again it is as if it were never paused.
I have tried to work through this with the enegineers but they do not seem to get what I'm talking about. Any help is appreciated.
Solved! Go to Solution.
01-04-2010 10:28 AM
01-04-2010 10:34 AM
I'm sorry, but I didn't notice any difference in the code or functions. I have tried so many ways to figure this out....
01-04-2010 10:39 AM
If you hit the start test button once the pressure is above the desired pressure it will start counting elapsed time. If thie pressure drops back down it should reset the time.
You will have to hit the start test button to get it to prompt for the pressure level. From there it will start evaluating the time. I also changed the slide control to precent done. See the attached code.
01-05-2010 07:43 AM
01-05-2010 08:18 AM
01-05-2010 08:23 AM
01-05-2010 08:44 AM
By chance, how do you think the best way to only start the timer when the dialog box is complete would be? The graph going is fine, but the timer should only start when the user has chosen a pressure. Because as it is, the timer starts when the VI starts and when you do hit Start Test, it just picks up (say at 15 seconds) and starts... but it needs to either start when the test does or at least reset to 0 when the user chooses it.
Just some hints would help 🙂 I can probably figure it out
01-05-2010 08:52 AM
01-05-2010 09:24 AM