Cannot See cDAQ Chassis Hooked to Industrial Controller in LabVIEW Project

Updated Jun 1, 2023

Reported In

Hardware

  • IC-3173
  • IC-3172
  • IC-3171
  • cDAQ-9189

Software

  • LabVIEW

Driver

  • NI-DAQmx
  • Industrial Controller Device Drivers 20.0

Issue Details

I have a cDAQ-9189 hooked to my IC-3173. I can add my Industrial Contoller (IC) to my LabVIEW project, but not the cDAQ. I need to access the I/O modules inside of my cDAQ-9189. My LabVIEW project, looks like this:

 
How can I access the I/O modules inside my cDAQ-9189 connected to my IC-3173?

Solution

In general, you can add Windows Embedded Standard, RT, FPGA, or Touch Panel targets to your LabVIEW project. The cDAQ-9189 is just an Ethernet chassis, so it is expected that you can not see it under your LabVIEW project. To access the I/O modules inside your cDAQ you should use regular DAQmx call as you would do it if the cDAQ was connected directly to your PC. For instance, if you have an analog input module inside your cDAQ-9189 (i.e. NI-9205), you need to create a VI inside your IC for this task. You can use the examples provided by DAQmx (i.e. Voltage - Continuous Input.vi). After this step, your project should look like this:

 
Once in there, you will be able to see your cDAQ-9189 and your modules in the physical channel dropdown (front panel of your VI):
It is important to match the task type according to your module type. Continuing with the example, if you create an analog output task (i.e. Voltage Continous Output.vi example) for your analog input module, you will not be able to see neither your cDAQ-9189 nor your module NI-9205.

Additional Information

The same solution can be applied when you try to control your cDAQ from other controllers as a CompactRIO (cRIO).