LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do i label columns in excel

Solved!
Go to solution

I need to know what code do i use in labview to label the columns in excel when the data is opened up in excel. Thank You

0 Kudos
Message 1 of 8
(3,633 Views)

Convert the 2D DBL array to a 2D string array (using Number to Fractional String) and then use Build Array to add a row of headers to the array. Once you have an array of string, LV will call a VI which saves strings to a spreadsheet file.


___________________
Try to take over the world!
0 Kudos
Message 2 of 8
(3,626 Views)

I apologize but I am new to labview can you visually show me. Thanks

0 Kudos
Message 3 of 8
(3,609 Views)

These are the functions I talked about:

 

Save strings.PNG

 

 

This is really very basic, so you're going to have to learn how to do this. I suggest you try looking at some of these tutorials.


___________________
Try to take over the world!
0 Kudos
Message 4 of 8
(3,600 Views)

Thank You it worked. However, I do not want it to constantly repeat it. It should only label it once at the beginning of the column.

 

 

0 Kudos
Message 5 of 8
(3,596 Views)

Then go back to the way it was before and write the headers to the same file once before the loop. Note that in any case this will only work if the append input is set to T.


___________________
Try to take over the world!
0 Kudos
Message 6 of 8
(3,592 Views)