LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Recursive file error 6

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

 

 

 

 

Regards,


Kaspar
0 Kudos
Message 1 of 7
(2,929 Views)

Hi Kaspar,

you are right, that´s what this function is for. Smiley Wink 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

Message 2 of 7
(2,912 Views)

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. 

Message 3 of 7
(2,908 Views)

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

Regards,


Kaspar
0 Kudos
Message 4 of 7
(2,896 Views)

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

Regards,


Kaspar
0 Kudos
Message 5 of 7
(2,884 Views)

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 😉

0 Kudos
Message 6 of 7
(606 Views)

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.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 7 of 7
(589 Views)