01-26-2010 10:09 PM
I tried to read one line of binary file as the top of the screenshot.
The result is as the left side. It shows the first part with text are correct. The ending part is not match with the raw one.
I also tried read by byte, but still the same.
Any suggestion, thanks.
Solved! Go to Solution.
01-26-2010 10:15 PM - edited 01-26-2010 10:15 PM
What program created this binary file?
If you can figure out how the file was created, then you can figure out how to read it.
We can't help because all you've shown are some bytes and say that some are right and some are wrong. What is the "raw one" you are referring to? What do you expect it to look like?
01-26-2010 10:43 PM
01-27-2010 12:33 AM
It is created by another LV exe program.
The link of the sample file can be found in the original thread.
I just wonder why the content is different when been read out. Is there any pre process?
Thanks.
01-27-2010 12:08 PM
I couldn't find the sequence 3A 30 31 2E 30 30 00 04 3F ... anywhere in the two files contained in the zip file that was in the other thread. I think you're opening a different file with LabVIEW.
Did you try the converter program that David mentioned in your original thread?