LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving an XML at a different location

Dear Friends,

 

If I load an XML in Labwindows from a specific position, can I change its path to to different position when saving it?

 

Regards

Raunak

0 Kudos
Message 1 of 4
(3,578 Views)

If you are using CVI XML instrument, you can save your file wherever you want appropriately creating the pathname to pass to CVIXMLSaveDocument (). MakePathname () and SplitPath () functions can be of help in this matter. While doing this, you are creating a new copy of the original XML file in the new location, but the source file remains unchanged: if you want to move the file, you need to add old deletion file to the process.

 



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 4
(3,573 Views)

Dear Roberto,

 

Thank you for the response. But I do not get one thing. What exactly do you mean by "you need to add old deletion file to the process"?

 

Br/

Raunak

0 Kudos
Message 3 of 4
(3,569 Views)

Sorry, I edited the message that got messed up. It should read "You need to add deletion of the old file to the process"



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 4
(3,563 Views)