Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Vision 7.1 - Build Executable

I need to build an executable that has IMAQ Vision Fxs which requires the IMAQ Vision Runtime Engine.

The help topic:

http://digital.ni.com/public.nsf/allkb/1a9a18aa574abedf86256f780062c240

seems to be incomplete.  Can someone tell me exactly what I need to do in terms of setting up the build to successfully build a LabVIEW application with IMAQ Vision 7.1 fxs (including AVI fxs.)

Thanks,

Don
0 Kudos
Message 1 of 6
(4,142 Views)
ps. For example, during installation on target machine, I am getting error 21, missing subVIs 'IMAQ AVI Create' and 'IMAQ Array to Color Image' upon attempting install on another machine.  Everything runs fine during source development.  I added DirectX support file and the 7.1 RTE MSI installer associated with Vision 7.1 that I found on the Vision deployment CD.  Seems like other support files must be needed, but why only for these two VIs?  Anyhow, can anyone help me get this so it will deploy on target machine?

Thanks,

Don
0 Kudos
Message 2 of 6
(4,143 Views)
Hello Don,

You will need to install the LabVIEW Run-time Engine (same version as your development computer) and the Vision Run-time Engine (vision71rte.exe) on your target computer.  Once these are both installed, you should be able to run your built EXE on that computer.

Make sure the following files are in the target computer's Windows\system32 directory:
NIVision.dll
NIVisSvc.dll

If these files are not present on the target machine, then you must copy them from your development machine to your target machine manually.

The following document describes how to use the IMAQ Vision Deployment Engine in more detail:
How Do I Use the IMAQ Vision Deployment Engine?

Hope this helps!

Allen H.
0 Kudos
Message 3 of 6
(4,127 Views)

Is the IMAQ Vision Deployment Engine NOT on the NI Vision 7.1 Install CD and is something that needs to be purchased separately.  I am purchasing 3 additional seat licenses for Vision executables...is the Vision Deployment Engine shipped with those?  And again, why would I only have problems with those two VIs?  When I removed those two IMAQ VIs and all AVI related stuff, a Test Installation worked fine. vision71rte.exe is no where to be found on the NI Vision Install CD so I assume it must on the separate product coming with order for seat licenses.

 

Sincerely,

 

Don

0 Kudos
Message 4 of 6
(4,125 Views)
Hello Don,

The Vision Deployment Engine does not come with the NI Vision 7.1 CD, and it needs to be purchased separately.  If you are just purchasing licenses for Vision executables, you may just be getting a piece of paper with a license number on it.  Make sure that one of your purchases is the IMAQ Vision Deployment Engine and make sure that it includes a Vision Deployment CD containing the actual Vision run-time engine for Vision 7.1 applications (vision71rte.exe) and a license.

Allen H.
0 Kudos
Message 5 of 6
(4,115 Views)

Now I get it.  I have ordered deployment licenses and added the deployment engine as a support file and the build overall works fine.

 

I still have to investigate why the AVI fxs resulted in error 21 during the original build (I took those out for the latest build) even though I included the directX support file.

 

Sincerely,

 

Don

0 Kudos
Message 6 of 6
(4,087 Views)