LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Having problems reading a binary* file

Sorry,  I won't be near a computer for a while, but binary files have no concept of "rows".

0 Kudos
Message 11 of 15
(554 Views)

Your file is mostly XML with some fields containing binary data. I doubt that the binary data sections are "flat". They seem structured into binary sections interspersed with printable words. You probably need the documentation on the file format before proceeding.

0 Kudos
Message 12 of 15
(550 Views)

Altenbach,

 

i will try to gather this information from the developers of the sw tool.

 

You had mentioned that only certain fields are binary.. could you share which part is xml and which is binary?

how did you arrive to this conclusion? 

I only need about 10 columns of data out of the file.

 

Again thanks again for taking the time and looking into this.

 

kind regards,

 

0 Kudos
Message 13 of 15
(542 Views)

Just look at it in a text editor, e.g. notepad++.

0 Kudos
Message 14 of 15
(537 Views)

@El_Tipo

I only need about 10 columns of data out of the file.

 

Just wanted to point out that this is the wrong way to go about it. It is going to be much faster for you to bring the entire thing into LabVIEW and then eliminate what you don't need. I agree that the data is in XML (a format commonly used to flatten data into strings) LabVIEW has a few functions that are designed for XML.

0 Kudos
Message 15 of 15
(527 Views)