My NI Device Does Not Work in NI MAX and Shows Error Code 37 in its Driver

Updated Dec 28, 2023

Reported In

Driver

  • NI-DAQmx
  • NI-Serial
  • NI-488.2
  • NI-VISA

Operating System

  • Windows

Issue Details

NI MAX does not recognize correctly my USB device. It populates as a USB device with a long alphanumeric string. I can't use the Self-Test, Reset, nor Test Panels with it.

When I look in Windows Device Manager, there is a yellow triangle with an exclamation mark next to my device. When I click on it, I get the following error message: Windows cannot initialize the device driver for this hardware. (Code 37).

Solution

  1. Identify the driver that is associated with your device. You can find a list of supported hardware in the readme file that shows in the download page of every NI driver:
    1. For data acquisition devices (CompactDAQ, X series, M series, etc.) use NI-DAQmx.
    2. For GPIB devices (GPIB-USB-HS, GPIB-USB-HS+, etc.) use NI-488.2.
    3. For serial devices (USB-232, USB-485, etc.) use NI-Serial.
  2. Uninstall the driver from your computer: Uninstall or Repair NI Software or Drivers in Windows
  3. Re-install the driver in your computer. It is recommended that you download and unzip the original installer from the NI website to make sure you have the latest released version, and discard any corruption in the installation media.

Additional Information

Code 37 in Windows Device Manager is a Windows error code indicating that the driver installed for the hardware device has failed in some way. If you see a different error code, please visit: USB Device Present in Windows Device Manager but Missing in NI-MAX