LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SubVI within a case structure not executing correctly after the 1st iteration

Solved!
Go to solution

OK I figured out what the issue is. My elapsed time function was not resetting upon the second call of my sub vi. This caused my sub vi to think that the allotted time had already passed when it was called the 2nd, 3rd... nth time and it stopped execution after the first iteration of the loop. I put the reset parameter of the elapsed time function in a case structure to check if the iteration i==0. Every time i==0 it restarts the timer from zero. Done. 

Thank you for all your assistance! Back to building.

 

0 Kudos
Message 11 of 11
(196 Views)