Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible setup NI-DAQ board without launching "Measurement and Automation" Explorer UI

Hi,

I am using single NI-DAQ board (PCI-6035E) setup in Windows under C++. All NI-DAQ functions require DeviceNumber assigned by Measurement and Automation Explorer. Is it any way to assign this number automaticaly or at least silently (without asking user to launch M&A Explorer and configure board manualy)? So, I can prepare installation which hides this configuration step from the user and thus simplify our life.

Thanks a lot,
Igor Kozin
0 Kudos
Message 1 of 3
(3,186 Views)
Hi Igor,

You are correct that device numbers are assigned in MAX. However, it is not possible to silently run MAX to assign the device numbers. On a fresh board installation it is necessary to run MAX to assign the device number. Have you tried expoprting the hardware configuration on your development machine and including that in the installation? Under the "Advanced" installer settings there is a checkbox to have the installer automatically import a hardware configuration. I am not totally sure whether or not MAX will still need to be started but its worth a try.

-Sal
0 Kudos
Message 2 of 3
(3,177 Views)
Traditional NI-DAQ ships with a utility called NIAutoConfig.exe that you can run to assign device numbers automatically. This utility is located in the windows system32 directory. Hopefully this will help you out.

For DAQmx you don't need such a utility, because device names are assigned at system start time, without running MAX.

Joe
0 Kudos
Message 3 of 3
(3,121 Views)