Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Counting time between two impulsion of two signals with NI-USB 6009

Hello, 

 

I want to do a program that can count time between two impulsions of two different signals and acquire those signals with the input of a NI-USB 6009. How can I do? 

 

I want to display this time with a precision of 0.001 second.

Thank you.

 

 

0 Kudos
Message 1 of 2
(688 Views)

You probably can't do that with the limited-capability counter on a USB-6009, which only supports simple edge counting.  (Higher-spec devices have counters that can natively perform "two edge separation measurement".)

 

With a 6009, you'll probably need to capture the two signals using an AI task with a sample rate well above 1 kHz and then do some software post-processing to find the time difference you're interested in.

 

 

-Kevin P

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 2 of 2
(663 Views)