Log NI-DAQmx Timestamps in LabVIEW NXG

Updated Apr 27, 2020

Reported In

Software

  • LabVIEW NXG

Driver

  • NI-DAQmx

Issue Details

I want to log the timestamps associated with my NI-DAQmx samples in LabVIEW NXG. How can I do this?

Solution

You can log the NI-DAQmx sample timestamps to file with the Write Delimited Spreadsheet.vi with a True Constant wired into the Include Time Channels input terminal. You can see an example of this setup down below for Analog Input and by navigating to the following location in LabVIEW NXG: Help » Examples » Hardware Input and Output » NI-DAQmx » Interactive Configuration » Analog Input » Acquire and Log.