LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unflatten variant from string got error 122

Solved!
Go to solution

Hello,

In this VI, when I used a 13 characters string to write flattened data to a file, I got error 122 when reading and unflattening it back. But with string that was not 13 characters, the unflattening operation worked just fine.

 

Any ideas ?

 

 

 

0 Kudos
Message 1 of 3
(4,284 Views)
Solution
Accepted by zigbee1

Make sure you turn OFF the "Convert EOL".  That could change your flattened data on you.  Alternatively, you could read and write using a binary file.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 3
(4,192 Views)

 crossrulz is totally right about EOL interpretation when writing files. This has to do with 13 chars length string.

Thanks for helping me out ! 🙂

0 Kudos
Message 3 of 3
(4,157 Views)