LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to save data with time and how to create header

Dear All

please see attached vi. i can save value in CSV file but i cant save value with time. when i export graph data it saves values with time but in spreadsheet write file i cant see time value.

also please tell how can i add header in spreadsheet file. like 20'load 20'unload 40'load etc..

Thanks,

0 Kudos
Message 1 of 3
(2,150 Views)

Trick is to not use the save to spreadsheet file vi.

 

Convert your data to string, then save the string.

 

Typically, get the first column (time), and convert to time string. Convert all other values with string conversion functions.

 

Make one 2d array from the resulting string arrays. Use array to spreadsheet string function to get a string.

 

Use text to file to see a header, and then the spreadsheet string.

0 Kudos
Message 2 of 3
(2,115 Views)
0 Kudos
Message 3 of 3
(2,099 Views)