cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Writing 2D array data into binary format

Solved!
Go to solution
Highlighted

Writing 2D array data into binary format

I developed a vi to write a 2D arrray file into binary format. But the output file is something else which is not readable. I don't know what I am doing wrong. 

0 Kudos
Message 1 of 3
(88 Views)
Solution
Accepted by topic author anny321dum
09-13-2017 09:42 AM

Re: Writing 2D array data into binary format

Nothing is done incorrectly - but you don't seem to understand what write to binary file does. It writes more or less the internal memory RAM representation of your data to disk.

 

Regards, Jens

 

EDIT: Perhaps you can tell us what you expected the file to look like...

Kudos are welcome...
0 Kudos
Message 2 of 3
(76 Views)
Solution
Accepted by topic author anny321dum
09-13-2017 09:42 AM

Re: Writing 2D array data into binary format

Binary is only machine readable. Just write a program read it again using the appropriate tools and you get all your data back. Smiley Very Happy

 

And don't use a *.txt extension, because it is not a text file!

0 Kudos
Message 3 of 3
(70 Views)