NI-DAQmx Error 229771: Internal Software Error Occurred in MIG Software

Updated Dec 28, 2023

Reported In

Software

  • LabVIEW
  • Measurement & Automation Explorer (MAX)

Driver

  • NI-DAQmx

Operating System

  • Windows

Issue Details

When I run a DAQmx task from LabVIEW, the following error is displayed:

Error -229771 occurred at DAQmx Start Task.vi:

Possible reason: Internal Software Error occurred in MIG software. Please contact National Instruments Support.
 

Solution

This error occurs when running a DAQmx task or a Test Panel from Measurement & Automation Explorer (MAX). To fix it, try the following: 
  • Reset the NI-MAX database. This error can be caused by the MAX database becoming corrupt.
  • Navigate to Start»Services to open Services. Ensure that NI Configuration Manager and NI Device Loader are running and are configured to start automatically as described here
  • There could be a conflict between DAQmx and another software package on your computer. The most common instance of this is with antivirus packages, such as McAfee or NOD32. Try disabling such software and see if the error persists.
  • Saving the VI, project, or application containing this DAQmx Start Task.vi on a secured network drive may cause this error. Try moving the VI, project, or application onto a local drive and see if the error persists.
  • There could be an issue with the DAQmx install.
    • Ensure that you installed DAQmx from an administrator account.
    • Make sure that DAQmx was installed after LabVIEW.
    • Verify that LabVIEW and NI Drivers are bitness compatible.
  • Force reinstall the DAQmx driver using the instructions in the following article: Force Reinstall Non-Working or Corrupt NI Software .
  • Install a more recent version of DAQmx. Before doing so, please consider the compatibility between DAQmx and LabVIEWDAQmx and Operating System, and DAQmx and Hardware.
  • Use NI MAX to test the DAQmx driver: Using Test Panels in Measurement & Automation Explorer for Devices Supported by NI-DAQmx, and create a task in NI MAX to check if the error occurs independently of LabVIEW: Creating a Virtual Channel in NI-DAQmx and Using It in LabVIEW
    1. If the error does not appear when using a task in NI MAX, recreate a smaller version of the original VI in a new file separate from any existing projects.
    2. If the error shows in NI MAX, LabVIEW might be corrupted and a force reinstall of NI-DAQmx can resolve the error.
  • Create a new VI in LabVIEW and use the DAQmx functions to do your acquisition.
    1. If the error does not appear in the new VI, the old VI/project might be corrupted.
    2. If the error does appear in the new VI, LabVIEW might be corrupted and a force reinstall of LabVIEW  and then NI-DAQmx could resolve the error.

Additional Information

These errors are often associated with an incorrect file or dependency in your machine. There is a chance that the VI, project, or software in use has become corrupted.
 
Also, make sure the device is connected properly and you can see it in NI MAX. Refer to LED Behavior on my USB DAQ and My NI USB Device Shows as a USB-RAW Device in NI-MAX on a Windows Machine .