01-20-2010 03:33 PM
Hello again.
Here's what I'm trying to do now.
I have figured out how to get the class id of my referenced control but I would like to be able to change my variant value to the type specified by the classID so I don't get variant mark ups in my XML file. And of course I would like to be able to do the opposite functionality of reading in the data from the XML and passing it back to the controls.
I need to share this xml with other applications so it would be nice to keep the data names but lose the variant tags.
Thanx for the support.
Bill
Solved! Go to Solution.
01-21-2010 01:36 PM
Hi Bill,
The LabVIEW Help (Class ID Property) provides a list of what datatype the ClassID corresponds to. You can use this with a case structure to identify the correct data type to send to your Flatten to XML VI. When reading the XML, you need to provide the datatype for what you're pulling out, so it would be best to keep track of this or to parse the XML file. An example of this part can be found in the Example Finder.
Regards,
01-21-2010 01:46 PM