01-30-2013 05:21 AM
Hello,
My Application flatten a Strict Type Def cluster into a string a save it in a binary file using LabVIEW RT 2011. When I read it from Windows, I get the error 116.
My cluster consist of few srting and a boolean. The flatten VI (from NI) add each string length to be used by the unflatten (from NI) to be able to read the data structure correctly. It seems that the flatten VI makes some errors (??).
I was able to edit the string manually to be able to unflatten correctly. This seems really strange to me. Anybody have ever seen this?
Here is a picture for more clarity:
Thanks a lot!!
Vincent
01-31-2013 08:08 PM
Hi Vincent,
I did a little digging and could not come up with any bug reports or other documentation that lists this specific behavior. As such, I would like to try and reproduce the issue on my end. Could you post the code you used just so I have exactly what you used? From the looks of it, I imagine you just saved a type defined cluster after flattening it to a string in RT, but it would be helpful to see exactly what you are using.
Thanks,
Bill