Structured arrays and XML
ryanww
Posts: 196
I have a structured array that I am trying to load with data. I would have no problem just loading it through NS debugger, but when I press enter after entering new data, it comes up with an error message saying "the variable you have modified is too large to be sent back to the master. existing netlinx firmware does not support multiple packets."
It is an NI 2100 with the latest firmware.
My next step was saving the array to an XML file, which worked. I then used XML Pad and put a few things in it. I then replaced the original file on the master and tried reloading it. When I activate the reload code using a button event, it comes up with a couple errors in the diagnostics.
Line 1 :: CIpLibrary::CopyXmlToItem Error -2 - 22:57:31
Line 2 :: CIpLibrary::Xml_To_Variable - Error -2 - 22:57:31
What could be causing that?
Thanks,
Ryan
It is an NI 2100 with the latest firmware.
My next step was saving the array to an XML file, which worked. I then used XML Pad and put a few things in it. I then replaced the original file on the master and tried reloading it. When I activate the reload code using a button event, it comes up with a couple errors in the diagnostics.
Line 1 :: CIpLibrary::CopyXmlToItem Error -2 - 22:57:31
Line 2 :: CIpLibrary::Xml_To_Variable - Error -2 - 22:57:31
What could be causing that?
Thanks,
Ryan
0
Comments
You can insert the following into your code for debugging the returns of the VARIABLE_TO_XML and XML_TO_VARIABLE
VARIABLE_TO_XML: XML_TO_VARIABLE:
Thanks,
Ryan