LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

time with 'Write to measurement file'

Forget about the last message.

No problem any more to open the VI.

Now, concerning the data in the text file:

I would have liked to have: Day/Month/Year/Hour/Minutes/Secondes/1/10Sec/1/100Sec relative to the time of the computer on the same line in front of each sample of the waveform.

With the dt, I have only the time difference between 2 samples and it s not enought.

How can I modify it?

Thanks a lot, and sorry for the previous messages, don t take them into account.

 

0 Kudos
Message 11 of 12
(880 Views)
This should get you pretty close.
 
Save each of the attached VIs to a directory and open the Test3Mod.vi.
 
This uses Dennis's suggestion of modifing the Export Waveforms to Spreadsheet VI.
 
When you open the data file in Excel, the Time column will not display as expected, This is because Excel formats the data in an unexpected way. You'll need to select the timestamps and modify the cell format with a custom format of "m/d/yyyy h:mm:ss.00". This should display the timestamps correctly. Or you can just open it in notepad and see it correctly.
 
Ed


Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 12 of 12
(871 Views)