LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

legacy function CounterEventOrTimeConfig in DAQmx

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

0 Kudos
Message 1 of 3
(4,362 Views)

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.

0 Kudos
Message 2 of 3
(4,342 Views)

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

0 Kudos
Message 3 of 3
(4,313 Views)