LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

flatten to string error on labview RT

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:

 

Unflatten.JPG

 

Thanks a lot!!

 

Vincent

0 Kudos
Message 1 of 2
(2,136 Views)

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

------------------------------
Bill E. | Applications Engineer | National Instruments
0 Kudos
Message 2 of 2
(2,085 Views)