Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop measurement with a button?

I've a 6602 Counter/Timer Board.

In Attach File, you can see my application.

How to stop this measurement when you want?

I'd like stop it with a button.

Can you help me?
0 Kudos
Message 1 of 4
(4,045 Views)
The usual way to stop with a button is have your application run in a while loop and have an event structure
that controls the execution of your loop.
setup the logic so that when the button is pressed, the event structure is true, which stops the while loop from running, which stops execution.
0 Kudos
Message 2 of 4
(4,011 Views)
Thanks to NI. I've found a solution. If somebody are interesting I post it.
0 Kudos
Message 3 of 4
(4,008 Views)
Hello, I have encounted the same problem with you, You said you have solved this problem,  can you send me a example  to help me!
        thanks !
0 Kudos
Message 4 of 4
(3,764 Views)