11-19-2009 03:26 AM
Hey
I am trying to get a time measurement triggered by an input from a NI USB-6009. The setup is a diode and a light sensitivity device. These will then pass each other a few times and I want to store the time each time they pass each other. Since I am fairly new to labview I have no idea how to tackle this problem, so I hope someone can help :).
Best regards Jesper
Solved! Go to Solution.
11-20-2009 03:13 AM
Hi Jepser.
I presume that the USB-6009 is measuring from the light sensitivity device. Is the signal from the device Digitial? What is the timing requriments for your application?
There is a build-in counter on USB-6009 that you can use for Edge Counting applications. By counting the edges and store the timestamp for each edges in Labview you can then calculate the time between the edges.
Please let me know if it works for you.
Thanks!
11-20-2009 06:22 AM
It worked to use the digital counter and then count on edges with labview giving the timestamps. It would have been nice to get it to go below 1 ms in precision ( just to 1/10 ms) but it does work with ms, but if there is an easy way to get to a precision of 1/10 ms it would be nice.
Best regards Jesper
11-20-2009 06:33 AM
Hi Jesper,
Great news that you got th edge counting working in Labview.
The issue now is we are currently using Windows Timing to calculate the time difference between the edges. That's why we can only get ms resolution at best.
For getting higher timing resolution out of the application you will need a counter boards such as PCI-66xx or USB cDAQ system with a digital module. With those hardware you will be able to setting up Periode/Frequcency measurements in Labview, where the times between the edges are been handled in hardware.
Thanks!