Jump to content

loading cluster array from XML - resolved


Recommended Posts

Hello,

I'm trying to load data from an XML file, it contains this :

<supportedVariation>
  <objectGroup>0</objectGroup>
  <variation>1000</variation>
  <description>Device 1</description>
</supportedVariation>
<supportedVariation>
  <objectGroup>1</objectGroup>
  <variation>2000</variation>
  <description>Device Attributes 2</description>
</supportedVariation>
<supportedVariation>
  <objectGroup>2</objectGroup>
  <variation>3000/variation>
  <description>Device 3</description>
</supportedVariation>

The Array name is supportVariation and the element of the array is a cluster that contains 3 elements (objectGroup (I32), variation  (I32) and description (string)).

It seems to me that EasyXML can't load this, I hope I'm wrong.

 

In LabVIEW created an Array named "supportVariation" containing a cluster that I named "cluster" that contains my 3 elements objectGroup (I32), variation (I32) and description (string)

EasyXML "sees" all the element in the array but doesn't load the value of the cluster elements because the file doesn't contain the cluster name.

If I use EasyXML to write the cluster array, the created xml file has the cluster name.

Edit :

Ha... in fact it works just fine (which is amazing), After some poking and debugging I just found out that I had an extra cluster layer in my control (cluster frames are so thin these days).

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.