Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66732

Question about append header to binary

$
0
0

Hey guys,

 

I just had a quick question regarding appending header to a binary file with string data written to it.

As you can see I can read the files correctly if I set  "prepend array or string text size" to TRUE.

 

append header true.png

 

but when I set it to false, an error occurs.

 

append header false.png

 

I thought each string is assumed to be 1byte, so if I pass the file size in bytes to the read function, it would return me the correct number of strings. Which assumption of mine is incorrect?

 

Thanks for your help


Viewing all articles
Browse latest Browse all 66732

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>