LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

stop trigger for edge counting

Hi

 

I need to program a function to exactly count the edges of a quadrature signal between the rising edges of the start and stop signal.

I'm using the NI USB-6361 and i not very familiar with their counter functions.

 

Signals.jpg

 

 

So, this is my test code...

 

QuadCnt.png

 

The start trigger is working perfectly but stop counting by polling digital input is not working very reliable, because the polling rate is much to slow. 

 

Is there any trigger like the "AamStart" or a way to stop the counting task at the rising edge of the stop signal?

 

Thanks

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

Hi there,

 

I would recommand you to use the reference trigger:

 

http://digital.ni.com/public.nsf/allkb/BA775B0E445BFA79482571FE0032CCEB

 

https://decibel.ni.com/content/docs/DOC-11792

 

 

Certified LabVIEW Architect (CLA)
0 Kudos
Message 2 of 3
(2,761 Views)

Thanks for your reply, i will try it in this way.

0 Kudos
Message 3 of 3
(2,710 Views)