From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Building a multi-daq acquisition system to track 32 analog channels

So I got around the data logging problem by adding in a write vi log before the while loop and it records everything perfectly. Except there is no timestamp for the data points. How can i add this in? Ideally in real time similar to the timestamp in the write measurement file vi.

0 Kudos
Message 11 of 12
(1,386 Views)

Because you are only taking one sample for each of the iterations of the main while loop, you could add a current timestamp to the data added to the queue. This could be written to file along with the samples and provide a reasonably accurate timestamp for each iteration of the loop.

0 Kudos
Message 12 of 12
(1,370 Views)