LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to programmatically overwrite the file in Labview?

Iam using Copy.VI for copying a file from one directory to other. If the file is already exist in destination directory, Copy.VI generates an error of "10". I wanted to overwrite the file which is already exist. Does anyone has solution. I have attached a file which is written in Labview 6.1.
0 Kudos
Message 1 of 3
(3,132 Views)
Always run a delete first, or alternatively; run a delete if the copy fails with error 10 and then redo the copy operation...
0 Kudos
Message 2 of 3
(3,132 Views)
Hello Mads,
Thanks for your answer and its working.
0 Kudos
Message 3 of 3
(3,132 Views)