03-24-2010 11:53 AM
03-24-2010 12:04 PM
The best workaround is - do not use Flatten / Unflatten to XML with image reference. Internal representation of this reference may changed from version to version (was also changed from version 6 to version 7). Use IMAQ Flatten Image to string, then put this string to XML if you need this.
Andrey.
03-24-2010 12:13 PM
I don't really care if the internal representation changed from version to version, as I'm not mixing and matching VIs from different versions of LabVIEW. Within the same version the flatten/unflatten should be consistent and work, or it did in 7.1.1
I'm also not flattening the image but the image reference, thus IMAQ Flatten Image is not appropriate here.
03-24-2010 01:11 PM
03-24-2010 01:16 PM
I worked around it by using variant to flattened string, then flattening to xml the type string, passed that along with the data string along, then reversing the process on the other side. It is still interesting why it broke, and not I have to go hunt all my other instances of flatten/unflatten to xml to see if they broke too, but I expect that all other uses are with more basic types or arrays/clusters of the same.