LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get Error 6 about 50% of time when building Application

In LabVIEW 2010, I am getting an Error 6 about 50% of the time when I Build my VI into an Application.

 

I may fail several time in a row. It may fail every other time.

 

VI runs fine in LabVIEW debugger.

 

Why does the Build work fine sometimes and Fail other times?

How do I fix this?

 

Error message:

Error 6 occurred at Delete in AB_Engine_Delete_Internal_Files.vi->AB_EXE.lvclass:Build.vi->AB_Build.lvclass:Build_from_Wizard.vi->AB_UI_Frmwk_Build.lvclass:Build.vi->AB_UI_FRAMEWORK.vi->AB_Item_OnDoProperties.vi->AB_Item_OnDoProperties.vi.ProxyCaller

Possible reason(s):

LabVIEW:  Generic file I/O error.
=========================
NI-488:  I/O operation aborted.

C:\Users\Don\Documents\OnSpex\builds\HTT\My Application\Application.exe

0 Kudos
Message 1 of 54
(3,981 Views)

Do you by change have Google Desktop running.  Google Desktop can lock some of the files where we are trying to write to causing this error.

 

Try disabling Google Desktop and see if this error goes away.

 

Also, make sure you don't have any other programs that could be scanning and locking certain files.

Regards,

Jon S.
National Instruments
LabVIEW NXG Product Owner
0 Kudos
Message 2 of 54
(3,957 Views)

I am not running Google Desktop. It is not installed.

 

Nothing that I have should be locking files that LabVIEW is working with.

0 Kudos
Message 3 of 54
(3,950 Views)

@Jon S. wrote:

Do you by change have Google Desktop running.  Google Desktop can lock some of the files where we are trying to write to causing this error.

 

Try disabling Google Desktop and see if this error goes away.

 

Also, make sure you don't have any other programs that could be scanning and locking certain files.


I have no Google software installed on this machine.

There should be no other programs working with files that LabVIEW is trying to access.

CPU is fast (i-5, four cores) and access should be good.

 

What else could cause this problem?

0 Kudos
Message 4 of 54
(3,932 Views)

The error mentioned is thrown when LabVIEW is trying to delete the internal files that application builder creates during the build process.  If for some reason LabVIEW doesn't have access or permission to delete the file then this error could be returned. Can you try to reproduce this on another machine, preferably one that is relatively clean?  If not is it possible to post the code so we can try it out here?

Regards,

Jon S.
National Instruments
LabVIEW NXG Product Owner
0 Kudos
Message 5 of 54
(3,898 Views)

The machine that this is happening on is very clean. About 1 week old. New Windows 7 Ultimate. Core i5-750. lots of RAM. Very little software installed. Used for LabVIEW dev.

0 Kudos
Message 6 of 54
(3,893 Views)

Code is developed under NDA and can not be shared.

0 Kudos
Message 7 of 54
(3,892 Views)