该内容不适用于您选择的语言

该内容将以另一种语言显示出来。 您可使用浏览器的翻译功能查看内容。

Error -2147220719 Occurred at DAQmx Create Channel

Updated Mar 20, 2023

Reported In

Software

  • Measurement & Automation Explorer (MAX)

Driver

  • NI-DAQmx

Issue Details

I am getting the following error when I am running my LabVIEW code with my DAQmx functions:

Error -2147220719 occurred at DAQmx Create Channel (AI-Voltage-Basic).vi:1780001 

Possible reason(s): 

MAX: (Hex 0x80040311) The client process has been disconnected from the configuration server. If this problem persists, please note the steps you performed that led to this error and contact technical support at http://ni.com/support

Task Name: _unnamedTask<0>

 
screenshot.png
 
 

Solution

This error indicates that NI MAX cannot access the configuration settings for connected DAQ devices. When this error occurs you will also see that when you open up NI MAX and click on Devices and Interfaces you will notice that NI MAX will give you an error stating:

MAX Database Connection Error:
There was a problem connecting to the database. 
Please restart your computer and contact National Instruments if the problem persists.


Once this error message comes up refer to Database Connection Error in Measurement & Automation Explorer (NI MAX) to continue troubleshooting. 
 

Additional Information

This error can also be from not having the correct device being called in your LabVIEW code so ensure devices in the LabVIEW code match what is under Devices and Interfaces in NI MAX.