DAQmx 채널 생성시 오류 -2147220719가 발생

업데이트 됨 Mar 20, 2023

해당 제품

소프트웨어

  • Measurement & Automation Explorer (MAX)

드라이버

  • NI-DAQmx

문의사항

DAQmx 함수로 LabVIEW 코드를 실행할 때, 다음과 같은 에러가 발생합니다 :

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

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<3>

 

해결책

이 에러는 NI MAX가 연결된 DAQ 디바이스의 설정 셋팅에 접근 할 수 없음을 나타냅니다. 이 에러가 발생하면 NI MAX를 열고, 디바이스와 인터페이스를 클릭하면 NI MAX가 다음과 같은 에러를 나타냅니다.

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


이 에러 메시지가 나타나면 Measurement & Automation Explorer (NI MAX)의 데이터베이스 연결 오류를 참조하여 문제를 해결하십시오.

추가 정보

이 에러는 LabVIEW 코드에서 올바른 디바이스가 호출되지 않아서 발생할 수 있으므로, LabVIEW 코드가 호출한 디바이스가 NI MAX의 디바이스 및 인터페이스에 있는 것과 일치하는지 확인하십시오.