Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Library not found

Hi,

I do not have the include folder at all under the directory C:\Program Files\National Instruments\NI-IMAQ and the IMAQ libraries are not getting installed with the Image Acquisition Driver Software CD. So I got hold of a old copy of imaq.lib file and tried running my program. However, I am getting the following error code which I am trying to execute imgInterfaceOpen function

-1074397143 IMG_ERR_NFNC Unable to find API function in DLL.

Can this because of a conflict in the versions of the imaq.dll and imaq.lib files? Kindly let me know how this problem could be solved. Also I would like to know why the libraried are not getting installed from the driver CD.  Or can it be the case that the libraries need to be installed separately?

Thanks & Regards,
Aarthi

0 Kudos
Message 1 of 3
(3,364 Views)
Aarthi,

It is most likely due to the driver version differences as you noted.  To get the Include directory to install you will need to include support for the API you are interfacing with (Visual C, Visual Basic, .NET, etc.)  The installer doesn' necessarily do this by default so you will need to select a custom install and select "Install this feature to local hard drive" for the APIs you want to include.  This should resolve the issue of the missing include directory, but if you are continuing to have problems let me know.

Regards,
S. Arves S.
National Instruments
Applications Engineer
Message 2 of 3
(3,338 Views)
Thank you s_a_s. I was able to install the libraries and the IMAQ interface functions worked fine.

Regards,
Aarthi
0 Kudos
Message 3 of 3
(3,326 Views)