Using NI-MAX Created DAQmx Tasks in LabVIEW NXG

Updated Jun 26, 2020

Reported In

Software

  • LabVIEW NXG
  • DAQExpress
  • Measurement & Automation Explorer (MAX)

Driver

  • NI-DAQmx

Issue Details

  • How do I import a DAQmx task, I configured in Measurement & Automation Explorer (NI-MAX), to LabVIEW NXG?
  • Does LabVIEW NXG support drag and drop of DAQmx tasks from NI MAX?

Solution

LabVIEW NXG does not support drag and drop from DAQmx tasks from NI MAX to the IDE as LabVIEW did it.

To import aDAQmx tasks configured in NI-MAX into LabVIEW NXG, you can follow these steps:
  1. Place either a DAQmx Task Constant (Diagram) or DAQmx Task Control (Panel). 
    • Diagram: Right-Click and navigate to Selectors » Named References » NI-DAQmx.
    • Panel: Right-Click and navigate to Hardware Interfaces » NI-DAQmx.
  2. Select this DAQmx Task Object you just placed and open the Item menu (You can also Right-Click the object and select Properties).
  3. For Display Filter, select MAX Tasks or All Tasks.
  4. From the DAQmx Task Object's drop-down menu, select the task you configured in NI-MAX.
  5. You can then wire your DAQmx Task into a valid Task In terminal on DAQmx VI's. An Example of this is shown below:

Additional Information

NI DAQExpress does not support DAQmx tasks which are created in NI MAX.