03-13-2015 12:09 PM
@freddearaujo wrote:
How can I save a array with 3 or more dimensions? Is it possible?
It is possible. It is just a question of how do you want the text file to look in the end.
03-13-2015 12:16 PM
My objective is save the array in some kind of file so I can read it in another VI as the original array.
03-13-2015 12:17 PM
@freddearaujo wrote:
How can I save a array with 3 or more dimensions? Is it possible?
"Array to spreadsheet string" has defined handling of higher dimensional arrays, so just use it and save the resulting string to a plain text file.
To read it back, just read it as a plain string, then use "spreadsheet string to array" to recreate the N-dimensional array.
Why does nobody ever read the help?
Personally, it makes little sense to do this. I would recommend to store it in a binary file instead. Much more efficient, with the disadvantage that it is not readable by the typical humans. 😄
03-13-2015 12:22 PM
What typical human could read a multidimensional array anyway?
Lynn
03-13-2015 12:23 PM
@freddearaujo wrote:
My objective is save the array in some kind of file so I can read it in another VI as the original array.
If you don't care about reading in a text file, the definately just use the Write Binary File function. It will make this task very simple.
03-13-2015 01:06 PM
@johnsold wrote:
What typical human could read a multidimensional array anyway?
A sorted set of printed pages, each containing a 2D table, is a perfectly readable 3D array. 😄 Now make several such sets and place each in a binder and you have a 4D array. 😄
03-13-2015 04:37 PM
You and I understand that. I asked about a typical human.
Lynn
03-13-2015 04:50 PM
@johnsold wrote:
You and I understand that. I asked about a typical human.
Yeah, because us knights are kind of crazy. Even still, I would not want to look at a 3D array in a text file. It is bad enough with multiple pages in Excel.
03-13-2015 05:05 PM
@crossrulz wrote:
@johnsold wrote:
You and I understand that. I asked about a typical human.
Yeah, because us knights are kind of crazy. Even still, I would not want to look at a 3D array in a text file. It is bad enough with multiple pages in Excel.
Well, you are probably to young to remember entire books with logarithm tables. 😄 (I guess you've never used a slide rule either).
Kids these days!
03-13-2015 05:44 PM
@altenbach wrote:
Well, you are probably to young to remember entire books with logarithm tables. 😄 (I guess you've never used a slide rule either).
Kids these days!
I have actually used a logrithm table. I think it was in high school physics (or was it 6th grade math?). But the slide rule is something that has eluded me. I can recognize one, but have yet to use one. If my father ever finds his again, I have laid claim to it.
But at least I remember LabVIEW before the project!