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 binairy files

Solved!
Go to solution

Hi,

 

Does anyone know why i get 4 bytes for nothing?? See the attached file...

 

I am writing an export file mechanism and have to write the header in ASCII to the same file... But i always get 4 bytes in front of my file??

Anyone?

 

0 Kudos
Message 1 of 2
(1,787 Views)
Solution
Accepted by topic author ThijsBoeree

Length of the string is prepended (I32 = 4 bytes).  There's an input on the top of the write function to turn this off.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(1,781 Views)