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
(969 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://zone.ni.com/reference/en-XX/help/371361R-01/lvconcepts/converting_data_to_and_from_xml/

 

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

0 Kudos
Message 2 of 2
(917 Views)