LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVIXMLSaveDocument when using CVIXMLNewDocument

I'm using the CVIXML library.  When I use the CVIXMLNewDocument function it creates the handle to a new document, but a file name is not associated with it.  So, when I do CVIXMLSaveDocument it returns an error.

I'm using CVI 8.1.1 on XP.
0 Kudos
Message 1 of 2
(3,031 Views)
CVIXMLSaveDocument takes an output file path as an argument.  You can pass NULL if you created the document via CVIXMLLoadDocument and you want it to use the load path, but if you created the document from scratch, you must give it a path.

Mert A.
National Instruments
0 Kudos
Message 2 of 2
(3,028 Views)