Hardware timestamping analog input events #596
-
Hello, I'm using a NI USB-6210 to acquire some analog data at a sampling frequency of 250 kHz and I wanted to know if it is possible to timestamp the events in hardware. I know it is possible to timestamp the events (or the beginning and the end of the task.read) in software, but I don't know how precise the time measurements can be if done in that way. Thank you in advance for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The hardware does not have any timestamping capabilities, no. However, if you do timestamp the start of an acquisition in software (e.g. when you call |
Beta Was this translation helpful? Give feedback.
-
You have two counters available. Route your 80 MHz clock signal to one of the counters.Use the other counter as the gate for that signal. |
Beta Was this translation helpful? Give feedback.
The hardware does not have any timestamping capabilities, no. However, if you do timestamp the start of an acquisition in software (e.g. when you call
task.start()
), assuming you have no hardware start trigger, then you can reasonably extrapolate the time of the data from that. This what the NI-DAQmx driver does for timestamping data for use in LabVIEW waveforms. Purely software timestamping and extrapolation.