williamsz,
Do you know where the error is occuring? I would guess when reading the data in with the Read Measurement File VI. If that is the case then the error is probably due to the data being written with the Write to Binary File functions and reading with the Read Measurment File VI. These actual explaination that goes along with this error is:
LabVIEW: File contains erroneous data. Normally for user data files.
This would indicate that the data is formatted incorrectly. I would read the data in with the Read from Binary File Function using the same data type as you wrote to resolve this error. I would also recommend connecting the error clusters together in your program so that you can handle the errors that might occur.
Hope this helps!
Andy F.
-----------------------------------------------------------------
National Instruments