NI Linux 디바이스 드라이버 설치 시 DAQmx가 설치 안되는 문제

업데이트 됨 May 4, 2023

해당 제품

드라이버

  • NI Linux Device Drivers
  • NI-DAQmx

운영 체제

  • Linux

문의사항

CentOS7에서 DAQmx를 사용하기 위해 NI Linux Device Drivers (July 2019)를 설치했습니다. 그런데 DAQmx 버전은 버전 9.7에서 상위버젼으로 업데이트되지 않았습니다. (문서에는 19.1을 설치해야한다고 명시되어 있습니다.) 왜 그런가요?

 

 

해결책

NI Linux 디바이스 드라이버에는 DAQmx를 포함한 여러 드라이버가 포함되어 있습니다. 설치중인 드라이버의 목록과 버전은 다운로드 페이지의 Readme 문서 또는 설명에서 찾을 수 있습니다.

설치 후 DAQmx 버전을 확인했을 때, 문제가 있다면 에러 로그를 확인해야합니다. 가능한 오류 로그는 다음과 같습니다.

ERROR:
   SMAP is enabled on this system and is not supported by NI-DAQmx.
   SMAP can be disabled by adding 'nosmap' to the kernel parameters
   as part of your boot configuration. Please consult your boot manager
   on how to update the kernel parameters.

   Aborting installation. To allow the installation to proceed,
   either disable SMAP or run 'touch /tmp/smap_install_ni_anyway', and
   then retry the installation command.

로그에 표시된 것처럼 두 가지 해결 방법이 있습니다.

  1. Linux의 SMAP을 비활성화하십시오. ( 외부 링크-SMAP를 활성화 / 비활성화하는 방법 참조)
  2. " touch / tmp / smap_install_ni_anyway "명령을 실행하십시오.

설치가 완료되면 PC가 재부팅 될 때까지 DAQmx 디바이스를 인식 할 수 없습니다.