Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I deploy my Labview vision application

I have a Labview application which uses the Vision Development Module. I also bought the Vision Deployment Engine. I do not want to build an installer, I just want to install each piece separately on the target PC. I have loaded my .exe and the labview runtime engine. I also have loaded the Vision runtime engine from the  Vision Deployment Engine disk. When I try to run the app it can't find the "imaq.dll" and a number of IMAQ labview vi's (which I can see are part of the build in the application builder).  I have done a search on the PC and was not able to find imaq.dll. Should this not be loaded with the vision runtime engine?
 
Thanks in advance,
 
Howard Spec
CMC Electronics
Canada
0 Kudos
Message 1 of 11
(5,750 Views)
 

You need to also install the NI-IMAQ driver.  This is a free download from our website:

http://digital.ni.com/softlib.nsf/websearch/34E35376A052690E862570F9005349A3?opendocument&node=132060_US 

 

Christopher W.

Applications Engineer

National Instruments

0 Kudos
Message 2 of 11
(5,735 Views)

Christopher,

Will NI-IMAQ version 3.5.1 work with my Vision Development version 7.1?

Howard

0 Kudos
Message 3 of 11
(5,697 Views)
Hello Howard,

IMAQ 3.5.1 and the Vision Development Module 7.1 should work together fine assuming that you are using LabVIEW 7.1.  In the event that you are using LabVIEW 8, please follow the instructions in the following Knowledgebase:

How Do I Install My IMAQ Vision Software and Drivers With LabVIEW 8?
http://digital.ni.com/public.nsf/websearch/25FD880AC87C4DA6862570B30056C572?OpenDocument

Regards,

Mike T
National Instruments

0 Kudos
Message 4 of 11
(5,677 Views)

Mike,

Thanks for the last reply. I have now installed all the drivers and runtime engines, but I am getting an error related to the IMAQ driver when my code starts to initialize the 1409 card in the PC. The error number is -1074397145 and I was unable to find any reference to it in the knowledge base. What does this error mean?

Howard

0 Kudos
Message 5 of 11
(5,669 Views)
Hello Howard,

This error means that no interface has been found.  I did find another discussion forum post that suggested that it could be caused from using the wrong type of driver with a particular camera.  To ensure that this is not the case for you, try performing a grab with your camera in MAX.  This will verify that the proper drivers and connections are made for the camera.

Out of curiosity, what version of LabVIEW are you working with?

Regards,

Mike T
National Instruments
0 Kudos
Message 6 of 11
(5,646 Views)

Mike,

I did go into MAX and verify that the 1409 was working OK. I connected an NTSC signal from our video signal generator, and was able to view this with no problem. When I try to run the application (which we have been using for months in the development environment), I get the error. I am using Labview version 7.1

This may have something to do with the way the software was installed. It's a long story, but here goes:  The PC I got to install the app on had two partitions on the hard drive (C: & D:). The C partition is 4Gig, and the D is 70Gig. The program files and operating system were installed on the C partition. The drivers I installed (Labview runtime and Vision runtime) were installed on the C drive. I then downloaded and attempted to install the IMAQ driver on this drive. I got an error indicating there was not enough space left on the drive. I then uninstalled all of the software and created a program files directory on the D drive and attempted to re-install the National drivers to the D drive. Once I was done, I noticed that I have a National Instruments folder in both the C and the D drive. I have taken the PC back to the IT group and asked them to format the drive and setup the computer per our company standard, which is a small C drive, and a D drive which contains the operating system and the program files directory. I hope that this will fix this problem. Most of the NI drivers allowed me to specify the drive and location to install to. The Vision runtime engine did not offer the choice, and may be the software that ended up back on the C drive.

Do you think the above installation problem could be causing the error I am seeing?

Howard

0 Kudos
Message 7 of 11
(5,644 Views)
Howard,

It is very possible that having the Vision Runtime engine on the C partition is causing this problem.  Try installing the runtime engine onto the D partition by following the second option in this link:

How Do I Use the IMAQ Vision Deployment Engine?
http://digital.ni.com/public.nsf/websearch/86256F0E001DA9FD86256FF100612816?OpenDocument

Regards,

Mike T
National Instruments
0 Kudos
Message 8 of 11
(5,610 Views)

Mike,

It took a while, but I had the PC re-built and have re-installed all the software properly (I hope). I can test the 1409 card using MAX and all is OK there. I am still getting the -1074397145 error when I try to run my application. I can see that Labview runtime engine 7.1, NI-IMAQ 3.1 and the vision runtime engine 7.1.1 are properly installed on the machine. Why would the app not be able to detect the card? (Labview 7.1, Windows 2000)

Howard Spec

CMC Electronics

Canada

0 Kudos
Message 9 of 11
(5,447 Views)

Howard,

To be sure that all of the software is installed properly for LabVIEW, try running the HL Grab example.  You can find this example by opening the Example Finder in LabVIEW, and browsing to Hardware Input and Output >> IMAQ >> High-Level.  Make sure that the interface name that you specify for the example matches the one that you used to acquire images in MAX.

Regards,

Mike T

National Instruments

0 Kudos
Message 10 of 11
(5,409 Views)