LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Error 08 when attempting to build exe using LabVIEW 2009 (32 bit) and Windows 7

Testing development platform on Window 7 vs XP. I received following message while building an executable using 2009 32 bit on Windows 7 machine. Same build will work on an XP machine.

 

Error 8 occurred at Copy in AB_Engine_Copy_Error_Files.vi->AB_Application.lvclass:Copy_Error_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_EXE.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller

Possible reason(s):

LabVIEW:  File permission error. You do not have the correct permissions for the file.
=========================
NI-488:  DMA hardware error detected.

C:\Program Files (x86)\National Instruments\Shared\LabVIEW Run-Time\2009\errors\Internet Toolkit-errors.txt

 

Any suggestions?

 

Thanks

0 Kudos
Message 1 of 7
(3,309 Views)

Do you have the Administrator access for the PC in that you are trying to build Exe?..

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 7
(3,297 Views)

I have administrator access.

0 Kudos
Message 3 of 7
(3,284 Views)

Update:  The build path points to a sub directory called APP in the projects folder. I deleted the sub folder then ran the build. The build created the subfolder as I saw it appear in the computer window. At the end of the build the folder was removed. Not sure if this is a default action on a failed build but I believe it shows the permission level to create the folder and files during the build.

0 Kudos
Message 4 of 7
(3,280 Views)

For any who may be having this problem here is a little more information and what I did to get around the issue. (so far)

 

First I tried a simple vi with a while loop in a project and made an executable build. This worked. I double checked on an XP machine the project that I was having problems with. The executable was built successfully. I changed back to the Windows 7 machine.  On the program compatibility trouble shooter I started the LabVIEW 2009 (32 bit) in the XP service pack 2 mode and selected run as administrator. The build was successful.

 

Note: was logged in as administrator and program would build a simple executable in Windows 7. The executable that would not build had more complex code that included serial communication and calls to lvanlys.dll and nilvaiu.dll.

 

This may not be a complete fix to the problem but at least in this one case it worked.

Message 5 of 7
(3,255 Views)

I got a hint from another thread.

If you Right-Click Labview and select Run as Administrator it works.

Pressing Shift and Ctrl and clicking Labview is the same thing.

 

Paul

0 Kudos
Message 6 of 7
(3,214 Views)

Thanks Paul for the shortcut suggestion. That will be helpful.

 

 

 

0 Kudos
Message 7 of 7
(3,197 Views)