LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

generic file I/O error 6 when using application builder

Hi,

 

I received this error code 6 when attempting to convert a VI in Labview 7.1 to an application (.exe) using the application builder. The exact error code is as follows;

 

Error 6 occurred at New Directory in Create Directory Recursive.vi->Dist Create Directory Recursive.vi->Dist Chk for Destinations.vi->Dist Build App Image.vi->Build Application.vi

 

Labview: Generic file I/O error.

 

 

Does anyone have/know of any solution to get round this problem?

 

If it helps, I'm currently running LV-7.1 from a laptop, though this has been disconnected from the company network to allow us to use test equipment at a remote location, which inevitably means I have no access to My Documents. The LV files are however on the desktop and the VI itself runs fine when in this disconnected state. Do you think that the error could be inherently linked to this?

 

Hope you can help.

 

Kind Regards,

 

Kevin

 

0 Kudos
Message 1 of 3
(2,977 Views)

Your desktop is actually located inside of your "My Documents" folder. If you don't have access to your "My Documents" folder then I don't see how you have access to your desktop, unless your IT folks redirected the location of it.

 

The most likely reason for the error is that the path is too long. Try putting the root of the source code at the C:\ level and rebuild it from there.

Message 2 of 3
(2,958 Views)

Yeah, the My Documents folder is definitely only available on our network, so  when disconnected we have no access.

 

I tried to change/shorten the path name yesterday, having read over posts with similar problems, though this did not solve the problem.

 

However, you'll be glad to hear that having played about with it a little longer, I managed to resolve the problem by selecting the checkboxes for the serial port support and port i/o support under the advanced tab in App. Builder. This seemed to correct the error code and it now runs sweetly.

 

Many thanks for the suggestion though. 🙂

 

Kevin

0 Kudos
Message 3 of 3
(2,945 Views)