LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I count the number of rising and falling edges at the same time

Hi

Using CI Cnt Edges I can count the number of rising or falling edges but I would like to count the number of rising "and"  falling edges at the same time by using only one counter input channel. Is it possible to count both edges in one channel?

Many thanks

0 Kudos
Message 1 of 2
(2,525 Views)

Hello,

 

Generally speaking, you would need to use two counters for this task configured for alternate edges and sum them together. But the method varies depending on the hardware you are using.

 

Could you provide some further information on the hardware you are using and the application itself? Are you using a quadrature encoder of some sort?

 

Kind Regards,

0 Kudos
Message 2 of 2
(2,488 Views)