From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing 2D array data into binary format

Solved!
Go to solution

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. 

Download All
0 Kudos
Message 1 of 3
(2,516 Views)
Solution
Accepted by topic author anny321dum

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
(2,504 Views)
Solution
Accepted by topic author anny321dum

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

 

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

0 Kudos
Message 3 of 3
(2,498 Views)