LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

stopping/playing a for loop

Solved!
Go to solution

Hallo ,

 

I have some three radio buttons (play / stop / pause), and a for loop that (to make it simple) displays an increasing number in a number indicator.

 

I would like that my buttons would act like this:

- play button: starts the loop (the indicators starts display an increasing number)
- pause button: freeze/pause the loop (the indicator stops increasing the number and displays a number)

- stop button: it resets the loop to 0 ( the indicator shows 0, the starting number).

 

The situation I have is in this picture:Untitled-1.jpg

 

Does someone has a suggestion?

thanks

0 Kudos
Message 1 of 3
(2,492 Views)
Solution
Accepted by topic author davico

Hi davico,

 

I think you are almost there. Just remove the for loop, instead use shift register and +1 to increase the number like an example attached.

 

Cheers,

 

 

w15nu

0 Kudos
Message 2 of 3
(2,474 Views)
thanks a lot
0 Kudos
Message 3 of 3
(2,468 Views)