11-17-2015 04:58 AM
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.
Solved! Go to Solution.
11-17-2015 05:48 AM
Hi,
Change While Loop to For Loop !!!
With Best Regards
11-17-2015 06:05 AM
Thanking You for your kind reply. Could also clarify me as to why did for loop worked but not the while loop. Thank You.
11-17-2015 06:09 AM
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