ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

While loop stops before countdown has finished

Solved!
Go to solution

The code I showed you was not designed to be paused since the Express VI doesn't have that capability. You can use a second shift register to keep track of the elapsed time. This is a pretty simple change. Try it. Smiley Wink

 

If you're going to make this program any more complicated, then I suggest looking into creating a state machine, as previously mentioned. Application Design Patterns: State Machines

 

Also, why did you remove the Decrement function after the Array Size? There was a reason why it was there.

Message 11 of 13
(759 Views)
Solution
Accepted by Theis Thorn

Question RE-ASKED here, along with solution posted: http://forums.ni.com/t5/LabVIEW/Pause-While-Loop-disrupts-everything/td-p/1663942

 

Grrrrrrr......

0 Kudos
Message 12 of 13
(755 Views)

I'm so sorry for having annoyed anyone. Double post will never happen again, I just wasn't sure if this thread was kinda "closed". Thank you everyone for the answers!

 

I'll keep studying and some day I might be able to help any of you 😉

0 Kudos
Message 13 of 13
(744 Views)