09-08-2008 08:55 AM
Hello,
I am getting the following error when I am using the "Recursive File List" vi, "Error 6 occurred at List Folder in Recursive File List.vi>file_list.vi". The dialog box also states that the npossible reasons are that there is a Laview Gernic file I/O error related to the NI-488. I have assumed that the Recursive File List vi does exactly what the name implies, you simply pass the vi a directory and presto...some times later it output the names of all of the files that exist in the directly you input and every dir below.
Regards,
Kaspar
09-08-2008 09:46 AM
Hi Kaspar,
you are right, that´s what this function is for. Did you open the VI to see where the error comes from? Maybe you can solve it, if you know where the error comes from.
Mike
09-08-2008 09:47 AM
Error codes are sometimes re-used by software components. This is especially true for older code and/or libraries. Error code 6 can mean either a generic file I/O error or a GPIB error. Which one it means depends on what function generated. Since it was a file I/O related function then obviously it's not a GPIB error. With respect as to what it means, the full text is:
Generic file I/O error. A possible cause for this error is the disk or hard drive to which you are trying to save might be full. Try freeing up disk space or saving to a different disk or drive.
Does this error happen every time? Does it happen with a specific file? I am assuming that it's not a disk space issue (have you checked, though?). It's possible you may have a bad block on your disk.
09-08-2008 10:20 AM
Hello,
I can get the vi to work on a 4 GIG USB flash drive that has alot of free space. I am trying to understand why I get errors when I try to run this on the local hard drive of another pc. The pc has 37.2 gig of space and 24.5 gig is free. So at least there is enough free space on the drive for the code for temp info is there. I try to see if I can find out where in the vi the error occurs.
Regards,
Kaspar
09-08-2008 11:04 AM
Hello,
In parallel with my debug effort, I have also called the NI tech support number to try to unravel what error 6 means. The person I talked to indicated that it might be a permission issue. He will get back to me to confirm or deny this.
Regards,
Kaspar
09-28-2023 05:24 AM
I have experimented the same error with LabVIEW 8.2 (I know, I know) and the thing is this VI (List Folder in Recursive File List.vi) got trapped in an unending loop (until no memory or long long path I suppose) because I had some links (*.lnk) that were building a circular go and back. So FYI this VI happens to follow links files, so be cautious whit it 😉
09-28-2023 06:16 AM
Hi Albertol,
@albertol wrote:
I have experimented the same error with LabVIEW 8.2 (I know, I know) and the thing is this VI (List Folder in Recursive File List.vi) got trapped in an unending loop (until no memory or long long path I suppose) because I had some links (*.lnk)…
I tested with LV2019SP1 and RecursiveFileList does not follow any links…
(So the problem is with your old LabVIEW version.)