Error -229770 or -229771 Occurred at DAQmx Create Task.vi

Updated Apr 5, 2019

Reported In

Software

  • LabVIEW

Driver

  • NI-DAQmx

Issue Details

I have a system that was previously working. When I try to run the code now, the following error occurs.



Error -229770/-229771 occurred at DAQmx Create Task.vi:4440002

Possible reason(s):

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


 

Solution

  1. Reset your NI MAX database following the article: How to Fix or Reset the NI MAX Database File
  2. 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 could be corrupted and a force reinstall of NI-DAQmx could resolve the error.
  3. 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 could be corrupted
    2. If the error does appear in the new VI, LabVIEW could 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 chance that the VI, project, or software in use have 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.

WAS THIS ARTICLE HELPFUL?

Not Helpful