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: 

spreadsheets

Hi,

I have two arrays that I want to save. They are both multidimensional. One
is raw data, one is calculated data. I need to know how to set up the write
to spreadsheet file, so that it will put what data each column is as the
first element in eash column. i.e. the first row will be the titles, and
the data in each column will start th the second row.
0 Kudos
Message 1 of 2
(2,424 Views)
JMH,

One easy way would be to use the Array to Spredsheet String function to convert
your numeric array into a tab (or other) delimited spreadsheet string. Then
you can concatenate this string to your tab (or other) delimited column names
strings. Then you use the write string to file function.

-Jim

"JMH" wrote:
>>Hi,>>I have two arrays that I want to save. They are both multidimensional.
One>is raw data, one is calculated data. I need to know how to set up the
write>to spreadsheet file, so that it will put what data each column is as
the>first element in eash column. i.e. the first row will be the titles,
and>the data in each column will start th the second row.
0 Kudos
Message 2 of 2
(2,424 Views)