LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically rename a .xml file in labview.

“ I am trying to programmatically rename a .xml file in labview. The program uses the “Move” function, but generates an error. I suspect this is because the “Move” function only works for certain file extensions. My guess is that “Move” actually opens the file; reads its contents; then copies it to another location. Now, because LabVIEW struggles with .xml files, “Move” is unable to work. Any solutions to this problem? Thanks in advance.

0 Kudos
Message 1 of 3
(2,355 Views)

Error message or VI helps.

 

Simyfren

0 Kudos
Message 2 of 3
(2,351 Views)

@SansaHassim wrote:

“ I am trying to programmatically rename a .xml file in labview. The program uses the “Move” function, but generates an error. I suspect this is because the “Move” function only works for certain file extensions. My guess is that “Move” actually opens the file; reads its contents; then copies it to another location. Now, because LabVIEW struggles with .xml files, “Move” is unable to work. Any solutions to this problem? Thanks in advance.


An xml file is a text file so I don't think it is because of the file type. Do not have write permission for the file or directory that you specify in target path? Have you tried moving it to another directory like your desktop? If this works then you would be sure it's not cause by the filetype.

 

Ben64

0 Kudos
Message 3 of 3
(2,340 Views)