Hello MatthewZ,
What version of .NET are you using? For Microsoft Visual Studio .NET
2003 you can find more information in the NI-DAQmx .NET Framework 1.1
Help by going to
Start>>All Programs>>National Instruments>>NI-DAQ>>NI-DAQmx .NET Framework 1.1.
If you search this document for the term "merge" you will find two
articles entitled "Measurement Studio Visual C++ Merge Modules" and
"Measurement Studio .NET Merge Modules". These documents discuss the
merge modules necessary to support the NI-DAQmx C API and .NET 2003
support for NI-DAQmx respectively. Specifically, the document entitled
"Measurement Studio Visual C++ Merge Modules" references
NIVcppDAQmxSupport.msm to install support for C++ (through the C API)
. The document entitled "Measurement Studio .NET Merge Modules" references
MStudioDAQmx.msm to install support for .NET 2003.
For Microsoft Visual Studio 2005 you can find more information in the NI-DAQmx .NET Framework 2.0 Help by going to
Start>>All Programs>>National Instruments>>NI-DAQ>>NI-DAQmx .NET Framework 2.0.
If you search this document for the term "merge" you will find two
articles entitled "Measurement Studio Visual C++ Merge Modules" and
"Measurement Studio .NET Merge Modules". These documents discuss the
merge modules necessary to support the NI-DAQmx C API and .NET 2005 support
for NI-DAQmx respectively. Specifically, the document entitled
"Measurement Studio Visual C++ Merge Modules" references
NIVcppDAQmxSupport.msm
to install support for C++ (through the C API)
. The document entitled "Measurement Studio .NET Merge Modules" references
MStudioDAQmx.2005.msm to install support for .NET 2005
.
These options reference the specific merge modules for
NI-DAQmx support for the C API and .NET. However, if you would like to
include the entire NI-DAQmx driver as an installation with your
installer you may consider creating a batch file that runs the command
line instruction to install NI-DAQmx. To run the NI-DAQmx installer
from the command line you would use the following instruction:
<file path to installer as loaded by your installer>\setup /q /acceptlicenses yes /r:n
This command will run the setup program for NI-DAQmx and passes all the
arguments necessary to run as a "quiet" installer, which means that it
will be transparent to the user. One caveat to running the installer
this way is that you should not complete your install process until the
command line argument returns. Because this option is transparent to
the user, they could reboot their computer or shut down before the
install process has completed. Additionally, the "quiet" installer will
install the default support for NI-DAQmx, which includes any
development environments that are already installed (like LabVIEW or
.NET). You will need to be sure to run the installer in the appropriate
order to make sure that support for your programs is included. By
removing the "/q" from the command line you disable the option to run
as a "quiet" installer and run the setup just as if the user and
initiated it themselves. That may be another option for you to consider.
Matt Anderson
Hardware Services Marketing Manager
National Instruments