LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

junk data in middle of datalog file

I have a datalog file to which I save clusters in a while loop. When I read the datalog file, the data is OK. But when I open it using another programming language, I can interprete the data, but about every 150 clusters there are a few bytes of junk data, and then the data continues again.
What is this effect, anf how can I anticipate this?
0 Kudos
Message 1 of 2
(2,591 Views)
A datalog file isn't really meant to be read by other programming languages. If you want to read your data in another program, I would recommend using more simple file types. For example, if your cluster contains a string, an integer, and a double, create an ascii file with the strings, a binary file with all the integers and a binary file with all the doubles. You could then always recombine the data into a struct, etc. in the desired programming language.
0 Kudos
Message 2 of 2
(2,591 Views)