LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving a 3-d array

Can I save a 3-d Array? How?  Thanks.
0 Kudos
Message 1 of 7
(3,310 Views)
You can save anything you want. What format do you want to save it as? A simple method is to simply use a Write to Spreadsheet File inside a for loop.
0 Kudos
Message 2 of 7
(3,309 Views)
So the array is 750 X 50 X 40. Save 750 2-d arrays then reconstruct as needed?  I guess I should have though of that. Thanks.
0 Kudos
Message 3 of 7
(3,304 Views)

Another method is to simply use the Write to Binary File.

Another method is to use XML using the LabVIEW XML schema.

Another method is to use XML using your custom schema.

 

...

 

 

Message 4 of 7
(3,280 Views)

you can convert 2D to 1D, then use for loop convert 3D to 2D.

0 Kudos
Message 5 of 7
(3,272 Views)

And reopening the binary file should be rather quick, I would think.

Thanks.

0 Kudos
Message 6 of 7
(3,248 Views)

ronke wrote:

you can convert 2D to 1D, then use for loop convert 3D to 2D.


Actually, you don't need a loop. The Reshape Array function will accept a 3D array and spit out a 1D array in the same way.

0 Kudos
Message 7 of 7
(3,247 Views)