LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error code 3 resource not found

I inherited a project that was originaly developed under labview 7.  It has been successfully running on a lab computer with the NI runtime engine for several years now.

 

I installed the labview 8.6 runtime engine on the lab computer and the old executable still runs fine.

 

I rebuilt the application using labview 8.6 and attempt to run it on the labveiw computer and get several warnings saying

 

Resource Not Found

Error occured loading VI "IMAQ ArrayToImage"

Error Code 3: Could not load front panel.

 

(repeated for one or two other VI's related to IMAQ that it could not load)

 

also i recieve warnings saying:

Missing sub VI  "IMAQ Grab Acquire.vi" in one of the project sub vi's. 

 

 

Is this a problem where I need to install more than just the 8.6 runtime engine on the lab computer? Or does it sound like i'm doing something wrong on the build side? I've checked the knowledge base and come back with this: http://digital.ni.com/public.nsf/allkb/8F68715444302CAB86256DDD0071C140 but it doesn't seem to apply in my case. (the 'remove panel' checkbox is not checked for any subvi's) and I've included all of the project VI's in the 'always include' list.

 

 

thanks

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

I have some VIs developed by me that show reproducible the same behaviour in LV 7.1.

I still don't know why they behave like this.

 

Here is the work around: I add them as dynamically called VIs (I use OpenG builder). Then the exe compiles and runs well.

 

Felix

0 Kudos
Message 2 of 7
(3,528 Views)

Have you installed the IMAQ plugins for LV8.6?

 


 

 

 

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

i have the IMAQ drivers installed on my development computer. The only 8.6 related software that i've installed on the lab computer is the runtime engine.

 

I do not know the extent of what was installed on thier before I came along. Is thier an IMAQ specific package that needs to be installed on the lab computer, or should all of the required files be included in the standalone application?

 

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

IMAQ Vision 8.6 installs a new IMAQ DLL and also updates any LabVIEW IMAQ installation in prior versions back to 7.1 to use new VIs. Many of those VIs were implemented as LabVIEW G code back in 7.1 but are now moved into the IMAQ DLL. And when you build your 7.1 application on a computer where you installed IMAQ Vision 8.6 it will use those upgraded VIs that expect the code to be in the IMAQ Vision DLL but only an 8.6 IMAQ runtime will have those functions.

 

So your IMAQ application built in LabVIEW 7.1 will then only run on computers with an installed IMAQ Vision runtime 8.6. I had that problem with a customer who asked me to do a minor update of his application which had been written in 7.1. On sending him the compiled exe file, he found that many VIs did not load anymore, despite him having IMAQ Vision runtime 7.1 installed. I tried to go back to a clean 7.1 IMAQ installation from a backup but the customer did finally decide to simply upgrade to the 8.6 IMAQ runtime instead.

 

Rolf Kalbermatter

Message Edited by rolfk on 09-04-2009 08:16 PM
Rolf Kalbermatter
My Blog
0 Kudos
Message 5 of 7
(3,517 Views)

Rolf,

Thanks for that information. I do not know if we have the 8.6 runtime engine available - but hopefully we do, and hopefully that solves the problem.

 

 

 

I am able to get most of the warnings to go away by including the ENTIRE support directory in the always include list. HOWEVER - several required files show up like this:

 

IMAQ GetRowCol - Preallocated [Warning: has been deleted, renamed, or moved on disk]

 

 

Appears to be related to the issue here:

http://forums.ni.com/ni/board/message?board.id=170&thread.id=361667&view=by_date_ascending&page=3

 

however the solutions mentioned there (including real time support) does not work.

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

Does the VI run in development? (not as an executable). Also keep in mind that when installing a new version of LabVIEW, you will need to install all the new modules and toolkits and reinstall any drivers like IMAQ so that all correct dll paths get linked to your new LabVIEW.

 

 

National Instruments
0 Kudos
Message 7 of 7
(3,453 Views)