LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1430 occurred at Copy in Untitled 1. Possible reason(s): LabVIEW: The path is empty or relative. You must use an absolute path.

Solved!
Go to solution

I have written a code to copy a file from one folder i.e C:\Folder1:\Hello.txt to another folder C:\Folder2. But it is showing an error in the copy. It is showing Error 1430 occurred at Copy in Untitled 1. Possible reason(s): LabVIEW:  The path is empty or relative. You must use an absolute path.  Can someone please help me how to solve this problem. I have also attached the VI. Thanking You.

0 Kudos
Message 1 of 4
(3,841 Views)
Solution
Accepted by topic author vindsan123

Hi,

Change While Loop to For Loop !!!

With Best Regards

 

Certified LabVIEW Architect (CLA)
Message 2 of 4
(3,824 Views)

Thanking You for your kind reply. Could also clarify me as to why did for loop worked but not the while loop. Thank You.

0 Kudos
Message 3 of 4
(3,815 Views)
Solution
Accepted by topic author vindsan123

because stop condition for while loop is Your stop button. for "For loop" stop condition is number of files in folder, because You turn on autoindexing.

With Best Regards

Hrachya

Certified LabVIEW Architect (CLA)
Message 4 of 4
(3,806 Views)