LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XML Can't Handle 2-Layer Icon

It took me a while to track this down.  If you're saving any data that contains a LabVIEW icon, and that icon contains more than 1 layer, XML can't handle it.  See attachment.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 1 of 2
(1,865 Views)

That shall correlate to a known issue:

 

" Although you can flatten and unflatten LabVIEW variant data to and from XML, LabVIEW returns an error if the variant data is an element of a cluster or is an array of variants."

 

https://www.ni.com/docs/en-US/bundle/labview/page/converting-data-to-and-from-xml.html

 

I think LabVIEW treats the image as a variant, which would explain this behavior.

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