Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Load error 21 when starting executable on target system

I am depoying an upgrade of machine vision executable to a target system. I get a "load error 21" when the executable tries to load some IMAQ functions. I beleve it is caused by the systems inability to find some needed DLL's. The original versin of the executable loads fine and there is only minor changes. How can I find out which specific DLL is causing the problem? I am using NI-VISION to develop the application. Could there be a problem with the deployment license?
0 Kudos
Message 1 of 4
(3,125 Views)
Hello,

If you have upgraded Vision VIs in your application, you will only be able to run them on a deployment computer if you have purchased an upgraded version of the Vision Deployment Support for that computer. Take care!


Regards,

Aaron B.
National Instruments
0 Kudos
Message 2 of 4
(3,119 Views)
I am stil lrunning the same version of VISION so all the NI-IMAQ vi's should be the same. Any way to track down exactly what subroutine is not being found?

Thanks,
Alberto
0 Kudos
Message 3 of 4
(3,113 Views)
Hello Alberto,

When you originally said target system, I assumed that it was another windows computer that you were deploying to. Is that correct, or are you targeting a Real-time OS? Do you have the same version of all software on the host and target. If you saved your code on the host with a higher version of LabVIEW, IMAQ, or Vision, you will not be able to run the executable on the target.

I would recommend building an executable out of one of the Vision example programs on the host machine and deploying that. If it does not work, then it is a good guess that you do not have the proper support installed on the target. There may have been a problem when you installed it and you may just need to run a repair. The errors from executables in LabVIEW sometimes do not give as much information as necessary. Some of these other tests would help us narrow down what is causing the problem.


Regards,

Aaron B.
National Instruments
0 Kudos
Message 4 of 4
(3,099 Views)