<groups> <group> <trigger>bTrigger</trigger> <handshake>bResult</handshake> <items> <item> <dbcolumn>partID</dbcolumn> <tag>sPartID</tag> <type>STRING</type> </item> <item> <dbcolumn>partStatus</dbcolumn> <tag>dPartStatus</tag> <type>DINT</type> </item> </items> </group> <group> <trigger>bTrigger2</trigger> <handshake>bResult2</handshake> <items> <item> <dbcolumn>partID2</dbcolumn> <tag>sPartID2</tag> <type>STRING</type> </item> <item> <dbcolumn>partStatus2</dbcolumn> <tag>dPartStatus2</tag> <type>DINT</type> </item> </items> </group> <group> <trigger>bTrigger3</trigger> <handshake>bResult3</handshake> <items> <item> <dbcolumn>partID3</dbcolumn> <tag>sPartID3</tag> <type>STRING</type> </item> <item> <dbcolumn>partStatus3</dbcolumn> <tag>dPartStatus3</tag> <type>DINT</type> </item> </items> </group> </groups>
My cluster looks like this:

My LabView code looks like this (the Groups Path part on top is what to follow):

I believe I created the cluster correctly. It was a little confusing to set up, with an array inside a cluster inside an array inside a cluster. Did I do something incorrectly? After loading the XML the Config cluster is populated, but the Groups cluster is empty. I even unbundled and indexed the items and arrays inside the cluster to get individual elements, which verified that there is no data present. I do not get any error messages.
EDIT: Sorry, I picked an incorrect screenshot. There should be wires going from the Error Out terminal on your EasyXML block to the Error In terminal on the variant to cluster block. Result is the same with those wires, though.
This post has been edited by pandersen: 22 July 2009 - 10:13 PM



Back to top










