LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-DAQmx Drivers & Components install

I'm building a DLL and wish to minimize the installed components in the distribution. This distribution in turn will be included in a Visual Studio deployment.

Here is the problem and some questions:

On one PC with CVI 8.5.1 installed (previously had CVI 8.5 & NI-DAQmx 8.7 installed with same results).

After creating a new distribution, in the Drivers & Components section, when I click on NI-DAQmx 8.7 (any selection Runtime4 -> Full), the following components are auto-checked (green square) and cannot be unchecked:

·        NI LabVIEW 7.1.1

·        NI LabVIEW Run-Time Engine 8.0.1

·        NI LabVIEW Run-Time Engine 8.2.1

·        NI Measurement & Automation Explorer 4.4.1

·        NI PXI Configuration Support for Window

However, on another PC where this project originated (with CVI 8.0.1 & NI-DAQmx 8.7 installed), these components are not checked.

Which is correct? 

Other information:  I wasn’t aware of this problem (Product Notice: Software Problem May Corrupt Configuration in MAX (TestStand, LabWindows/CVI, Measurement Studio)) until after I had already installed NI-DAQmx 8.7 over the original 8.6 version (from NI Developer Suite Third Quarter 2007 Device Driver CD).  Is this part of the problem? I've also deleted the .cds file and recreated it with same results.

What should be the minimum components I can distribute for an installation using a NI USB-6211 device (no user interface, just a DLL communicating with the DAQ board)?

0 Kudos
Message 1 of 4
(3,425 Views)
Hello Flash7ok,

On your second computer, which Runtime option do you have selected for distribution?  If you have Runtime 5 (the smallest) selected, you will no longer have the above mentioned dependencies.  If you look at the difference between Runtime 4 and Runtime 5, you will see that Runtime 4 includes Measurement and Automation Explorer (MAX).  Those extra dependencies appear to be direct or indirect dependencies of MAX.  Also, do both computers have the same version of NI-DAQmx?


For distributing an application that uses DAQmx to communicate to a USB-6211, you will need only Runtime 5.  It will not install MAX, or any documentation, which can make debugging very difficult if needed.  If you only need to run your program without any extras, then Runtime 5 is all you need.
Best Regards,
Software Engineer
Jett R
0 Kudos
Message 2 of 4
(3,406 Views)
Hello Flash7ok,
 
On the specific quesion of why you started seeing those other components checked in CVI 8.5, and they didn't use to be checked in CVI 8.0.1, the answer is that those components were still being included in CVI 8.0.1 (assuming that you were picking the same runtime flavor). However, CVI 8.0.1 did not indicate these dependent components. It just included them silently. In CVI 8.5, we started indicating which other components were being included as dependencies of the ones that were explicitly selected.
 
Luis
0 Kudos
Message 3 of 4
(3,400 Views)

Jett,

I have Full selected on the first computer (with no auto-checks), and Runtime 4 selected on the second computer (with the auto-checks).  I don't see a Runtime 5 choice on either computer.  And, yes, both computers have the same version of NI-DAQmx.  We're debugging on the first computer and I'm previewing how to build the final distribution on the second computer.  Even if Runtime 5 were available, I'll probably stick with Runtime 4 as MAX could certainly be a helpful tool in the field.

Luis,

Thanks for the very clear explanation.

And, thanks for both your replies. 

0 Kudos
Message 4 of 4
(3,390 Views)