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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add header to spreadsheet?

I have a spreasheet file, 9 columns of integer x multiple rows. I would like to add a header to the top, Sample #, Max, Min, 1 sec, 2 sec....... Thank you.

data file.PNG

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

If you can, download and install the Report Generation Toolkit.  It has those options within it to add header information to your file.

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 2 of 3
(2,236 Views)

First write an array of strings for your headers. Then call the write function again with "append data" set to "true" to write your numeric values.

 

Capture.PNG

0 Kudos
Message 3 of 3
(2,220 Views)