Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

pause counter 6602

Hi all,
 
I'm a newby in Labview and have a little problem.
 
I use the continious digital pulse generate Vi from the examples.
With a second Vi from the help i count the pulse which are generated by the other vi.
Now I want to pause and start the counting of the pulse again with a true/false Button, but I don't want to stop the counting task.
 
How can I do that?
 
I use Labview 8.01 and have the NI-6602 Card.
 
Thanks for your help.
 
Best regards
 
Buchenberg
0 Kudos
Message 1 of 4
(3,661 Views)
Hi Buchenberg,

there is an Example, where you can test it, with an external Button/Trigger (see Attachment).

I tried it with the Demobox(jpeg Attachment), there is an Digital Trigger on it, which is PFI0. Every time, if  I pressed the Trigger on this board, the VI counts.

So you could wire an external switch, and use this to make a pause.


Programmatically it is possible to pause the counter with start and stop trigger.

Dippi
Download All
0 Kudos
Message 2 of 4
(3,642 Views)
Hello Buchenberg,

I found one more example. It is about Analog Input.
It only measure, if a Button in LabView is pressed. The Button is wired to an Case Structures, and only the true Case is filled with function.
So perhaps you can use this example to realize your counter.

Dippi

0 Kudos
Message 3 of 4
(3,635 Views)

Hi Dippi,

thanks for your answer.

I will try it with your suggestions.

Best regards

Buchenberg

0 Kudos
Message 4 of 4
(3,630 Views)