LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVIXMLLoadDocument

Hi,

Trying to open an XML file here.  I am using few XML files in my program.  It's been working on other computer with CVI 2015 but for some reason it does't work on this new computer with CVI 2017.  Here is the situation:

I am doing CVIXMLLoadDocument, CVIXMLGetRootElement then CVIXMLGetElementTag with specific path.  When reloading I get an invalid error, but if I reload the same file for the first time it works but not on the 2nd reload with other file.  I would need to restart CVI system in order to work. Basically, I have few file list of tests. I could reload individual list of tests no issue in the beginning. Once I have execute one test and I need to reload different file then problem occur.

 

would appreciate any help.

Thanks and best regards,

 

Windows 7 Pro

LabWindows/CVI 2017

0 Kudos
Message 1 of 2
(2,080 Views)

Hi,

Could you try running CVI 2015 on the new computer or CVI 2017 on the old one to see if the error still occurs? It's not clear if the error is due to changing computers or changing CVI versions, so trying to eliminate that as a cause may be helpful.

 

ZK
Licensing Product Owner | NI
0 Kudos
Message 2 of 2
(2,047 Views)