Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
21 ratings:
 3.38 out of 5     Rate this Document

Requirements for Computer Running an EXE Using NI-IMAQ for USB Functions

Primary Software: Driver Software>>NI-IMAQ for USB Cameras
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I have a working VI that uses NI-IMAQ for USB functions, and I have built it into an executable file (EXE). What do I need on the computer that will be running this EXE?

Solution:
To run an EXE containing NI-IMAQ for USB functions, complete the following steps on the computer running the EXE:

  1. Install the following run-time engines:
    • LabVIEW Run-time Engine (same version that was used to develop the VI)
    • Vision Run-time Engine (same version that was used to develop the VI)
      • A single-seat Vision Deployment License is required for each target machine on which you install the Vision Run-time Engine. See Related Links for more details.

  2. Copy the following DLLs from your development machine's System Directory, typically C:\Windows\system32, to your target machine's System Directory.
    • ImaqDirectShowDll.dll
    • ImaqDirectShowExport.dll

  3. Register ImaqDirectShowExport.dll by selecting the Windows Start Menu and selecting Run. Type in regsvr32 C:\WINDOWS\system32\ImaqDirectShowExport.dll and click OK to register the DLL.

    If you are on a different OS or if the system directory is different and you want to copy the file path instead of typing the whole path, you can drag the file to the command line in the Run prompt, highlight the path, right-click and select Copy.  Paste in the command prompt window by right-clicking and selecting Paste.

    The ImaqDirectShowDll does not have to be registered.
Once these steps are completed and the DLL is registered successfully, your EXE will work.  Neither Vision Acquisition Software nor Vision Development Module needs to be installed on the target computer. 

Related Links:
Drivers and Updates: LabVIEW Run-Time Engine Downloads
Drivers and Updates: IMAQ Vision Run-Time Engine Downloads
KnowledgeBase 2HUBJPXL: Licensing National Instruments Vision Software

Attachments:





Report Date: 03/10/2006
Last Updated: 06/15/2009
Document ID: 3V9HEPS4

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit