LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to save a 3D array? Or how to save a spreadsheet string for future retrieve?

When writing a 3D array, you can split the array to some sub-arrays(3D) using shift register, write them through a loop. In the loop, a time-delay vi(for example, Wait Until Next ms Multiple vi) should be placed to prevent from exhaust the resouce of the computer.

Reading 3D array can be realized through a read vi in a loop.

There is an example.(The data type of it is U8).

Through select the proper number of the sub-arrays, the better calculating speed could be gotten.

Thank you.
0 Kudos
Message 11 of 12
(1,106 Views)
There's an error in my program :)It's the right program.

And initializing a large array would use a long time.

If reading the data from a large file getting from others, it's not good to read all data in one reading operation. I think it's better that combining "Seek", "Eof", and "Read" vi in loop.

Thank u.
0 Kudos
Message 12 of 12
(1,102 Views)