LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using write to measurement file-Timestamps repitition

See the below snap. the time stamps in column 1 are oscillating back and forth. Could you help me with correcting. Attached is the program.

Ganesh_Jadhav_0-1588134783292.png

 

0 Kudos
Message 1 of 4
(2,021 Views)

You've thrown away your actual timing by reading the DAQmx as an array rather than a waveform.

 

It looks like you are writing to a TDMS file in the Express VI, but you have it showing in Excel.  Was that the TDMS plugin for Excel?  If so, those time values are probably just the computer time being put in, and computer time is unreliable anyway.

 

I suggest you set your DAQmx to read Waveforms, and your Write to Express file to output it to a XLS file rather than binary, TDMS if you truly want to read it in Excel.

0 Kudos
Message 2 of 4
(2,008 Views)

Thanks RavensFan,

I changed to 1D waveform (samples) and the time stamp repitition is solved.

Further saving xlsx file, I want to add the elapsed time, but couldn't find the correct format.

Could you help here?

Ganesh_Jadhav_0-1588166082493.png

 

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

I've never seen that dialog box before.

0 Kudos
Message 4 of 4
(1,947 Views)