LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NIDAQ

This is what I am trying to do:
Deploy my application using InstallShield as well as running silent
installations of NIDAQ and RTE. My application includes LabVIEW code,
some DLL's, a few registry edits, and a DAQ file.

The problem:
After installing all files and applications and making the appropriate
registry edits, if MAX is not run, my application will not work. If
MAX is run first, my application will work. The DAQ file has worked
fine on an IDENTICAL machine. It simply has been copied from one
machine to the other.

Question:
What does running MAX do to the DAQ file to make it unique to the
machine?
0 Kudos
Message 1 of 4
(3,147 Views)
MAX performs a number of registry checks including checks for present/installed DAQ hardware and which NI-DAQ config file to use (plus several more I'm sure)

There are two areas to look at. Within any LabVIEW application, it is possible to change the current NI-DAQ configuration by calling Set Default DAQ Configuration File.vi. This will allow you to switch from one configuration to another on the fly and may be necessary as part of your "silent" installation.

The other area to look at is an undocumented utility called NIAutoConfig.exe, supplied with NI-DAQ 6.7 and higher. This silently performs the operation of opening MAX and then "refreshing" the current configuration. This can be called as part of your application installation (and I believe th
is is used when you update NI-DAQ as part of a standard NI installation).

Jeremy
Message 2 of 4
(3,147 Views)
Wonderful answer JeremyB!

It seems you have not on this exchange long but your answers have been top notch.

I'm subscribing to you as of today.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 4
(3,147 Views)
I tried running NIAutoConfig.exe but I still cannot get MAX to refresh
without physically opening and closing it. Any other ideas? Are
there command line parameters to NIAutoConfig.exe? How can I find
out?
0 Kudos
Message 4 of 4
(3,147 Views)