11-04-2014 09:59 AM
Hi,
I have a program written in the older DAQ drivers (legacy) and i'm converting this program to use with DAQmx drivers. In the program i use the function CounterEventOrTimeConfig to count time using the internal clock (100.000Hz), and i use the CounterStart to begin, CounterRead to read the time, and CounterStop to stop the time. How i can make the same in the new DAQmx?. I'm not native English so correct me please if a make a mistake with the words.
Regards,
Bruno
11-05-2014
10:44 AM
- last edited on
01-25-2026
03:02 PM
by
Content Cleaner
Hello Bruno,
Here you will find the documentation about all new NI-DAQmx functions for text based programming:
"Using NI-DAQmx in Text Based Programming Environments"
https://www.ni.com/en/support/documentation/supplemental/21/using-ni-daqmx-in-text-based-programming...
"NI-DAQmx C Reference Help"
https://www.ni.com/docs/en-US/bundle/ni-daqmx-c-api-ref/page/cdaqmx/help_file_title.html
Regards!
Daniel.
11-06-2014 11:18 AM
Thanks for the response. I only want to know if there is any form to measure time intervals with more precision that the Timer() function. In the older DAQ drivers i use the CounterEventOrTimeConfig to measure time using the internal clock of the device, but i don't know how to make the same with DAQmx. Can i use the GetCurrentCVIAbsoluteTime function? The Labwindows/CVI help say that it has a resolution of 2^(-64) seconds, but i don't know how it works. It use the internal clock??
regards,
Bruno