Asked By
Matthew Cox
0 points
N/A
Posted on - 07/04/2011
I am trying to save a file I created using LabView, and I got this error.
Error 116 occurred at Unflatten From String in VideoMASTER Analyse VBI.vi->LabVIEW API Off-Line CC.vi.
Also included was the possible reason,
"Possible reason(s): LabVIEW: Unflatten or byte stream read operation failed due to corrupt, unexpected or truncated data."
I am new to this software and really do not have a clue on how to fix it. I have been looking for websites that tackle this problem, but I still can not find any useful article about it. If anyone knows how to fix it please do help. -(edited)
Â
Answered By
Lady09
0 points
N/A
#81266
LabView software error message while saving
Hi!
Â
Here are steps that could solve your problem. Hope you will find this useful.Â
Â
1. Input the right data into the Read from Binary File VI. Make sure that the data type input matches the data type you expect to read.
Â
Note: Even if what you are reading is a 1D or 2D array of doubles, just write a scalar double to the data type. 1D array of doubles will be returned by the Read from Binary File VI.
Â
2. When writing and reading cluster data types, use the Datalog VIs. Specifically designed for this purpose. The data will be saved as binary by these VIs.
Â
Note: You might be trying to read a cluster of multiple data types with the Read from Binary File VI.
Â
3. Try to look for a previous copy of the binary file from before you modified the binary file, you might have tried modifying the binary file with a text editor.Â