Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Application with NI-IMAQ SDK Failed to Start

I'm developing an application on win7 to grap frames from a Basler camera using NI-IMAQ SDK. On my development computer I have the NI PCIe-1433 board installed and the relavent NI software installed as well. Things went on well with my setup and my new application (c++).

 

I wrapped the application with several relavent dlls installed by NI-IMAQ. When my colleague tried to run my application on a different computer, he got an error at startup. See the attached image. This error is not due to missing dlls. What's the correct way to release my application?

 

It is fine if the NI-IMAQ related funcitons cannot work if the user computer does not have the proper hardware and/or NI license. My application has other features not related to NI-IMAQ. 

 

0 Kudos
Message 1 of 6
(5,363 Views)
Did you just copy DLLs? There are many runtime pieces related to IMAQ that need to be installed by the IMAQ installer.
0 Kudos
Message 2 of 6
(5,336 Views)

Yes. We copied 4 or 5 (not a lot though) IMAQ dlls. My colleague installed VS2005 redistributable. Dependency check of my application seems to pass.

0 Kudos
Message 3 of 6
(5,332 Views)
But there are multiple kernel drivers that are needed as well that don't show up as dependencies, not to mention any dynamically loaded DLLs. You definitely need an installer to get the right pieces installed correctly. For LabVIEW-built apps there are ways to create an app installer that includes all the relevant runtime installers with it. For a C app you should just install the Vision Acquisition DVD with only the IMAQ portion selected.
0 Kudos
Message 4 of 6
(5,327 Views)

Than you very much. Seems that's the only way other than building another app without IMAQ dependency. Does each computer need a license to install IMAQ?

0 Kudos
Message 5 of 6
(5,321 Views)
There is no runtime license needed for the NI-IMAQ driver (only IMAQdx requires license activation)
0 Kudos
Message 6 of 6
(5,285 Views)