LabView software error message while saving

Asked By 0 points N/A Posted on -

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>LabVIEW API Off-Line

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 0 points N/A #81266

LabView software error message while saving

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. 

Login/Register to Answer

Related Questions