LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to save data in file by puting the data in different colomns ?

I am compiling a program by using Labview, and I use the 5 loops. For every loop, I get 10 data. I want to save all data in a file. But I don't want put them in one colomn, and just want to put the data getting from one loop in a colomn, and thus in my file, there should be 5 colomns. i.e. for every data for one loop should be in one colomn. How can I do that ? Thanks.
0 Kudos
Message 1 of 2
(2,547 Views)
If you are going to save the data as text, e.g. a tab delimited spreadsheet, then you decide what data goes where by formatting the data; concatinating the different cell values with tab constants (to separate rows) and carriage return line feed to separate rows...

See attached example.

If you want to write the data as a binary file create a 2D array with the correct number of columns and rows and use the replace array element function to insert the values where they belong...then save the array.
0 Kudos
Message 2 of 2
(2,547 Views)