Disable the NI Device Monitor Popup with USB Devices

Updated Nov 26, 2019

Reported In

Hardware

  • CompactDAQ Chassis
  • CompactDAQ Controller
  • CompactRIO Controller
  • Multifunction I/O Device

Issue Details

I am deploying an application that uses a USB  DAQ device and everything works fine. However, every time I connect the USB DAQ device, the NI Device Monitor popup window shows up with a Device Detected message
 
.
 

This behavior is acceptable (even desirable) in a development environment, but not in a deployed system. How do I disable the NI Device Monitor popup message?

Solution

There are three possible solutions:

Use NI-DAQmx Runtime
The full NI-DAQmx driver, which includes the NI Device Monitor, is meant to be installed in development environments. Deployment systems generally do not require the full driver. If the NI-DAQmx Runtime is installed instead of the full NI-DAQmx driver, utilities like Measurement & Automation Explorer (MAX) and the NI Device Monitor are not installed, so the popups will not show up when the hardware is connected to the computer.

This will require detecting and configuring all devices programmatically. Refer to Related Links for help achieving this.

Disable the NI Device Monitor Notifications
This option will disable the popup message but allow using the NI Device Monitor manually.
1. Open the NI Device Monitor from the Windows system tray.
 

2. Click on Settings.
3. Enable the Prevent all notifications option.
 
 
Prevent the NI Device Monitor from Running
This method will permanently prevent the Device Monitor from running, even after reboots.
1. Open the NI Device Monitor from the Windows system tray.
2. Click on Settings.
3. Disable the Run at startup option.

The NI Device Monitor can be started again by navigating to Start >> Programs >> National Instruments >> NI Device Monitor.

Additional Information

The NI Device Monitor allows to launch NI software to configure and work with an NI USB device when it is plugged in and detected. Older versions may automatically launch an application like Measurement & Automation Explorer (MAX) or NI SignalExpress when the hardware is detected. If that is your case, refer to Prevent Auto Start of NI MAX or SignalExpress for USB.

For older versions of the NI Device Monitor, in the Windows taskbar notification area, right-click the NI Device Monitor icon and select Clear all device associations. This closes all of the service's references to any USB devices that are currently plugged in. Also, uncheck the Run at startup option in the shortcut menu of NI Device Monitor option to disable the service upon reboot.