LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timing a Case Selector

Once the remainder hits zero, how would I restart the iteration of the while loop back to 0?
0 Kudos
Message 11 of 12
(569 Views)
Hello musser,

You shouldn't need to reset the while loop count to zero once your remainder is zero (i.e. You've executed your three cases for the required number of iterations).  Since all you care about is the remainder of dividng the count register by a particular value, you just need to check if the remainder is between 0 - 500, and then you would execute case 1.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 12 of 12
(552 Views)