Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

How Can I Distribute a LabVIEW Application that Uses the NI-435X Driver?

Primary Software: LabVIEW Run-Time Engine
Primary Software Version: 8.6
Primary Software Fixed Version: N/A
Secondary Software: Driver Software>>NI-435x
Hardware: Modular Instruments>>High-Precision DAQ (Dataloggers)>>PXI-4351, Modular Instruments>>High-Precision DAQ (Dataloggers)>>PCI-4351

Problem:
I have built a LabVIEW VI that interfaces with the NI-435X driver. I would now like to distribute my VI as an application. However, I do not see the NI-435X driver in the Additional Installers when I try to build my installer. How can I distribute this application?

Solution:
The NI-435X driver is similar to an instrument driver. That is, it communicates with Traditional (Legacy) DAQ in a similar way that an instrument driver communicates with NI-VISA. However, the NI-435X driver has its own DLL where as instrument drivers do not. This DLL must be distributed with the application if it is to work on a computer without LabVIEW.

To distribute an application that uses the NI-435X driver, follow the steps below:
  1. Open a blank LabVIEW project.
  2. Add your VI that communicates with the NI-435X driver to the project.
  3. Add the ni435xcm.dll to the project by right-clicking My Computer and selecting Add»File. Then navigate to the <WINDOWS>\System32 directory and add the ni435xcm.dll to the project.


  4. Build your application. You only need to add your top-level VI in your source files. You will add the DLL to the installer.
  5. Right-click Build Specifications and select New»Installer.


  6. In the Installer Properties window, click Source Files. Add your executable from the project view to the desired desired folder in the destination view. Then add the DLL from the project view to the SystemFolder in the destination view.

  7. Click Additional Installers and include Traditional DAQ as an additional installer.
  8. Build your installer.


Related Links:
DeveloperZone Tutorial: Distributing Applications with the LabVIEW Application Builder
DeveloperZone Tutorial: Creating Executables with the LabVIEW Application Builder

Attachments:





Report Date: 06/25/2009
Last Updated: 08/27/2009
Document ID: 4YO8HQ00

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