From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I record the actual time an analog sample is acquired?

Using a PCI-MIO-16E-04, LabWindows/CVI
Need to know the relative time in real-life seconds of each sample. Will use the info for max slope and time elapsed.
0 Kudos
Message 1 of 2
(2,509 Views)
Hi,

Usually is you want to some timing measurements it's best to use the boad's timers. If you are doing timed finite or continous you can get the system time when you take the first sample. Then using the sampling rate information you can calculate accurate timing information.

I hope this helps, let me know if you have any further questions.

Regards,

Juan Carlos
N.I.
0 Kudos
Message 2 of 2
(2,509 Views)