04-15-2014 12:35 PM
Using LV2010. I have a program that saves data as a binary file. The file is a cluster of floating point values and strings. I need to write another program in VB.NET that can save/read these files, so I need information on the actual file format of the data. Is there any documentation that describes how the file is saved? Thanks.
Solved! Go to Solution.
04-15-2014 12:49 PM - edited 04-15-2014 12:49 PM
Interesting. This question usually gets asked in the reverse direction with folks trying to decode into a cluster.
If you're using the WriteToBinary function, your data is being written as native datatypes in cluster order into the binary file. Since you're using a cluster, each string is being prepended with a length, which I believe is an I32.
This is described in the Help File for Write to Binary File. I think the string/array length thing trips people up a lot though.
04-15-2014 01:32 PM
I'll have to check into that. Thanks.