08-03-2012 01:24 AM
Hi,
I would like to generate the test report in XML file, since I am new to XML File handling I used "Write Test Data File" LabVIEW example. First time I was able to create the XML file and add test data. But when I tried to append the data from the next run I am getting an error -2648 - "Error -2648 occurred at Invoke Node in Write Data to XML.vi - Possible reason(s):LabVIEW: Attempted to call Append Child with invalid refnum parameter New Child."
Whether somebody can help me on this.
Thanks in advance.
Regards,
Visuman
08-03-2012 06:07 AM
You haven't shown us any code, so we can't tell you what the exact problem is. However, in general, you cannot directly "append" to an XML file like you can append to a text file right to the end of the existing file. An XML file has a specific structure. Thus, you have to insert nodes in the tree to obey the schema for the XML file.