LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Countdown_with_options STOP

Here is a countdown counter I am using with control buttons to simulate inputs.  This will be used as part of a main program.

 

The way I will use this code will be to set the time to fault in the TIME IN MINUTES in the Front Panel Numeric Control.  I will feed a temperature from a thermocouple into the PAUSE button (Block Diagram) and when the correct set temperature is reached the countdown counter will PAUSE prior to DISPLAY FAULT and signalling the PLC to stop test.  I will use DISPLAY FAULT to output a Fault or signal that the temperature was not reached and Time Remaining went to zero and to shutdown or stop the main program.  This input will be fed to a PLC to terminate the test and do an ordered shutdown of the UUT.

 

I have gotten this VI to function pretty much as I want but when the PAUSE button is pressed I do not want the DISPLAY to FAULT, it should remaining RUNNING because the time has not been reached.

 

Please feel free to take this as far as you would like.  I will be happy to see a way to have the PAUSE button not FAULT the program.  Thanks for any help. 

0 Kudos
Message 1 of 2
(2,516 Views)
Here is the way that I think I would handle this sort of. I would make it a little more complicated but I left it as easy as I could. I did not understand your fault situation so I did not hook that up.
Tim
GHSP
0 Kudos
Message 2 of 2
(2,494 Views)