LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

imaq1394 recompile breaks VI calls

This is a rather drawn out issue, so I will try and explain it best as I can.

 

I am working with software I did not originally create, to maintain it for use.  This software was developed in Labview 8.0, using IMAQ1394 for IEEE 2.0.  Currently, the program runs just fine if loaded from the project file, and the arrow is clicked on the main VI.

 

However, I have been tasked with reducing user workload, so began to try and bundle the extremely large project into an executable.  At first it seemed well, then it errored out with a 10003, claiming one of the VIs was not executable.  Upon searching the error code out, I found the solution was to recompile the whole project.  Upon doing this, every property node of "IMAQImage" vanished (breaking most VIs), and every VI Call function broke the IMAQ Session In link.

 

Now, I had to manually install IMAQ and Vision for 8.0.  Both installed in the older Labview folders, and newer folders (which I do not have a newer version installed, nor ever have).  I had to copy/paste the libraries into the 8.0 library folder.  This allowed it to run just fine as mentioned above.  But I cannot for the life of me figure out why these links and nodes are breaking when recompiled.

 

Final note: I do not have control of what versions I have access to on any of the computers this must run on.

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

First, in the future I would like to say that you would probably get better results if this were posted in the machine vision forum because it appears that it is the IMAQ or VIsion software that is causing this problem from your description.

 

Did you build debuggable executables? Are you able to finish the build? If so, are you trying to run this executable on the same computer?

 

If you are not able to finish the build do you still get error 10003? Does the code run fine without being in an executable? You may have difficulty running an executable on another computer but see the following link for information on this: (How Do I Build a LabVIEW Executable with the IMAQ Vision Run-Time Engine Included?). Refer to the related links for more information.

 

The last paragraph, about older and newer versions of LabVIEW that you do not have, was pretty confussing. It would help if you could clarify with version numbers.

Vince M
Applications Engineer
0 Kudos
Message 2 of 3
(2,639 Views)

I must have missed that section.  Thank you for the response.

 

To answer the confusion first, despite only 8.0 being installed, when the person in charge of installation did Vision and IMAQ 1394 for IEEE 2.0 they did a custom install and marked "support for x.x" for all the listed versions.  In my Nation Instruments folder there are now folders for 7.0 up through 8.6, despite none of these versions having ever been installed.  These folders all have random libraries, including the Vision and IMAQ libraries, when 8.0 did not get them.  That's why I did a copy/paste from 7.1 (I tried from 8.6 but it made backwards compatibility error messages).

 

What I did was to try and build a basic executable, no installer.  It does not finish the build, giving error 10003.  And the code runs perfectly fine when not being recompiled for the build.  Its the act of recompiling that breaks everything, a fact I could not explain for the life of me.  I am working through the process of creating an installer, but Vision RTE was not installed (I do have the 8.0 Deployment Module, however).  So I have to get a hold of the administrator to install it.  I will post again the results.

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