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
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"
http://www.ni.com/white-paper/5409/en/
"NI-DAQmx C Reference Help"
http://digital.ni.com/manuals.nsf/websearch/6A79EF4F9F30AFC086257A4400600861
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