LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Counting edges with external Counter clock

Hello,

I have a question regarding edge counting with Counters.

Looking here : http://zone.ni.com/reference/en-XX/help/370466V-01/TOC52.htm, I do not understand how I can count edges when the External Clock is high (and not when it is low). 

For instance (second picture), I would like to get 0 and 2 (instead of 3 and 6).
Many thanks !

W.

0 Kudos
Message 1 of 3
(2,576 Views)

You're misreading the help.  It's counting continuously.  On each rising edge of the external clock it puts into the buffer the number of edges counted since the last rising edge.  This is not about counting only when the external clock is high.

 

It may be possible to do what you want, I'm not very experienced with counters, but the help you badly linked to (trailing comma in the link) doesn't deal with that.

 

Kelly Bersch
Certified LabVIEW Developer
Kudos are always welcome
0 Kudos
Message 2 of 3
(2,542 Views)
I found the solution for M--series cards. You have to use count width.
0 Kudos
Message 3 of 3
(2,534 Views)