11-04-2007 06:46 AM
11-06-2007 04:42 PM - edited 11-06-2007 04:43 PM
Hi arifat2k,
If I understand you correctly, you want to measure the duration of a counter acquisition.
I recommend starting with some of the shipping examples. In LabVIEW, if you go to Help » Find Examples… the Example Finder will pop up. Browse by task to: Hardware Input and Output » DAQmx » Counter Measurements » Count Digital Events » Count Digital Events.vi. You can then add timing VIs to keep track of the approximate duration of the acquisition. They can be found by right clicking on the block diagram and selecting Timing. There are several timing VIs that might be useful, such as Get Date/Time in Seconds and Elapsed Time. Attached is the example VI pictured below.
Please post back with any questions. If you do, please include more information about your hardware and application. Have a great day!