Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx without NI-MAX?

Solved!
Go to solution

Hi Gang,

 

I've developed a driver for a customer's embedded application using a PCI-6601 and DAQmx.  Now that we are in the deployment phase, the customer is shocked at the size of NI-MAX.  (a bare-bones install is about 1.5GB)  The only part of MAX that we use is to make a connection between the PCI PnP and the DAQmx resource name.

 

Has anybody written a utility that would allow making a PnP connection without MAX?

 

Thanks for any ideas,

 

Roger

0 Kudos
Message 1 of 4
(6,328 Views)

[Edit] My apologies, I just noticed that you are working in Measurement Studio. The document I sent you is definitely still applicable, and if it is indeed what you are trying to accomplish, we will just need to figure out what the corresponding C++ calls are. The underlying approach should still be the same.

 

 

Hi Roger,

 

The DAQmx Core installer is roughly 233mb in size versus 880mb for the DAQmx Configuration support installer (which includes MAX). It is certainly possible to do everything programatically and thereby bypass MAX. You mentioned that you use MAX to make the connection between the PCI card and the resource name. Just to make sure I understand, I assume that you are assigning the device a particular name (e.g. "Dev1") in MAX so that you can access it in LabVIEW. If this is what you mean, you can certainly determine the device name programatically in LabVIEW and bypass MAX. It will require a bit of code work however, as you will have to use a property node to return a list of all the devices in connected to your system, and then search through the list to find the resource name based on the card type or serial number. This document explains the process: https://decibel.ni.com/content/docs/DOC-10014. Please let me know if this is relevant to your application.

0 Kudos
Message 2 of 4
(6,320 Views)
Solution
Accepted by topic author RogerMont

The installer for DAQmx is a bit large, but not all of that will actually be installed on the target system. However, I know this a problem if you are trying to distribute using a CD. Alternatively, you can direct end users to the download on our website (www.ni.com.drivers), or you can host it on an internal network if your end users are internal.

 

I just ran the DAQmx installer (which includes MAX) with everything selected and checked the disc cost. It was just under 500MB. Removing everything except the core driver, MAX, and the API support (I selected Visual C++ support without examples or integration) and it came out to be 300MB. Use the Disc Cost button in the installer to see what your requirement will be.

National Instruments
0 Kudos
Message 3 of 4
(6,314 Views)

Hi!

 

We've been experimenting along similar lines.  You suggestion makes it smaller than we've gotten so far.  We'll persue that.

 

Thanks for your effort on our behalf!

 

Roger

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