LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

saving data in a file

hi all.........

 

I need a solution. I have a 2d array of data. I need to save each column of the array in a separate text file with a different name in a folder. How to do that? Please help me 

0 Kudos
Message 1 of 2
(2,451 Views)

Hi 049982856...,

you can use the "write to spreadsheet file" function in a for loop. Use the "Transpose 2D Array" function before it, connect your array to the loop. Build your path inside the loop, you can use the loop iteration counter to create different names.

 

See the attached picture.

 

Hope it helps.

Mike

Message 2 of 2
(2,445 Views)