LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Resettable counter?

I am attempting to use an increment and feedback loop to tell me the number of iterations a case structer has under gone (I only want to save a desired number of files). Attached is a basic example of what I'm doing...
 
It works well the first tiem though, but is there a way to reset this counter when I turn the switch off and back on again?
 
Is there a better way to incorporate a counter just for the case structure?
 
Thank you,
 
Brent
0 Kudos
Message 1 of 3
(3,125 Views)
Try my attached example.  It is better to use the shift register than the feedback loop, it follows the dataflow programming style.  I think it is what you were looking for but be sure to let me know if I misinterpreted your request.

Cheers!
0 Kudos
Message 2 of 3
(3,119 Views)
Perfect! thank you so much.
0 Kudos
Message 3 of 3
(3,105 Views)