02-13-2024 03:50 AM
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.
02-13-2024 10:28 AM
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