LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Executable SubVI Error

I have not had this problem until recently and cannot recall anything changing in the system I work on, though it is a shared computer. After I build the executable, it runs fine on the computer I built it on, but not on the computer with the runtime on it. The two have worked fine before, but even when I use an old build that has previously worked, I get this error again. Can anyone please help. Thank you.

0 Kudos
Message 1 of 8
(3,239 Views)

Ed Gonzalez wrote:

I have not had this problem until recently and cannot recall anything changing in the system I work on, though it is a shared computer. After I build the executable, it runs fine on the computer I built it on, but not on the computer with the runtime on it. The two have worked fine before, but even when I use an old build that has previously worked, I get this error again. Can anyone please help. Thank you.


To me, that sounds like you are missing some libraries/packages on the computer with runtime.

Did you create an installer with the executable or just the executable itself?
You may need to make an installer, and check that all the dependencies are included

Cory K
0 Kudos
Message 2 of 8
(3,224 Views)

I have only made the executable. I will try making an installer. Thank you for your help and I will let you know if this was the solution.

0 Kudos
Message 3 of 8
(3,219 Views)

I've tried the installer, but to be honest, I am not sure what I am doing with it. What should I do with the installer to get the correct subvis that I need on the runtime computer? I have attached an image of my error showing the subvis I need. Thank you again for all of your help.

0 Kudos
Message 4 of 8
(3,075 Views)

When creating the installer, did you include the IMAQ support files?

After creating the installer, did you run it to install all the files?

0 Kudos
Message 5 of 8
(3,065 Views)

I did not. What exactly does an installer do? Does it just install the drivers or will it install the executable as well? Previous versions that I built exe's on the computer and worked previously will not work if I build them again.

0 Kudos
Message 6 of 8
(3,056 Views)

The installer includes the run-time engine and whatever associated files and drivers that are needed by the executable.  However, you have to configure the build options to select what gets included, such as IMAQ support.

 

Your previous (or this) build would likely work on the development PC because all the support files and the run-time engine are already there.  If you copy the exe file to a PC without the run-time engine, it will not work.  If you create an installer and deploy (install) on another PC, but omit to include the support files, you'll get a run-time error.  So, the installer needs to include all support files.

0 Kudos
Message 7 of 8
(3,049 Views)

I think Ray has nailed it right. When you create the installer you need to add imaq support. In addition if you are using image processing function you might very well get a vision deployment error as well. You should also add a vision licence support with the installer.

0 Kudos
Message 8 of 8
(3,019 Views)