LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

writing to spreadsheet question

This is fairly basic yet I have been unable to nail it. I have 3 variables (x,y,z) that I need to record onto a spreadsheet in a single row, for each iteration I run through a loop. What I've been trying to do is to create an array of the 3 values, and then use array to spreadsheet string, and then write to the spreadsheet.  The only problem is that one of the variables is a string, the other a numeric, and the other already an array (its a length measurement from IMAQ). How do I put them together in the same array...I've included example code and excel output.
 
 
Thanks
Download All
0 Kudos
Message 1 of 2
(2,865 Views)
You can manually build the output file for tab delimited text output.  Just convert any numbers to strings, then concatenate these strings with tabs separating the variables and an End of line constant at the ends.

LV8 example atatched


2006 Ultimate LabVIEW G-eek.

0 Kudos
Message 2 of 2
(2,855 Views)