이 내용은 고객님의 설정 언어로 확인할 수 없습니다

이 내용은 다른 사용 가능한 언어로 표시됩니다. 고객님께서 사용하시는 브라우저에 텍스트 번역에 도움이되는 기능이 포함되어 있을 수 있습니다.

Use Traditional NI-DAQ (Legacy) and NI-DAQmx at the Same Time

Updated Jul 20, 2023

Environment

Software

  • LabVIEW

Driver

  • Traditional NI-DAQ
  • NI-DAQmx

I have two devices, one that uses Traditional NI-DAQ(Legacy) and another that uses NI-DAQmx. Is it possible to use both of these devices together?

You can use one device using Traditional NI-DAQ (Legacy) and the other using NI-DAQmx at the same time. To do this:
  • In LabVIEW, use the Device Reset VI at the end of Traditional NI-DAQ (Legacy) sequence and the DAQmxResetDevice VI  at the end of your NI-DAQmx sequence. You still need to create a Traditional NI-DAQ (Legacy) virtual channel and an NI-DAQmx Task for use with each driver respectively.

Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.
 
  • You can also accomplish this in Measurement & Automation Explorer (MAX) by right-clicking on the device and selecting Reset Device.
Even if you only have one DAQ device, you can still use both Traditional NI-DAQ (Legacy) and NI-DAQmx but only in sequence; not at the same time. You need to reset your device to switch between Traditional NI-DAQ (Legacy) and the NI-DAQmx driver as part of the sequence.