LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Counter that keeps a running total of FOR LOOP executions

I am writing a vi that turns ovens on and off and would like to keep track of the cycle number(FOR LOOP execution) on the front panel(On, then off is one FOR LOOP execution). This is going to be a long term test and will be started and ended daily, with no supervision. I have made a counter, but it prompts user after each cycle. Other attempts yielded counters that started over each time the program was stopped and run.
0 Kudos
Message 1 of 2
(2,828 Views)
If i understand your question properly you could use a shift register (i am assuming you are surrounding these for loops with a while somewhere) you could use a shift register.
if you are not using a while loop you could always use globals too i guess.
see attached (lv7)
0 Kudos
Message 2 of 2
(2,828 Views)