Accessing C Series Module in Real-Time cDAQ Project

Updated Feb 8, 2018

Reported In

Hardware

  • CompactDAQ Controller
  • CompactDAQ Chassis
  • C Series Digital Module
  • C Series Counter Input Module
  • C Series Voltage Output Module
  • C Series Voltage Input Module

Software

  • LabVIEW Real-Time Module

Driver

  • NI-DAQmx

Issue Details

I have a CompactDAQ (cDAQ) chassis with a built-in controller running an NI Real-Time operating system. I am configuring my LabVIEW project and have added the cDAQ RT target in my Project Explorer, but I am unable to add my C Series I/O modules to the cDAQ chassis like I do when using a Real-Time CompactRIO (cRIO). How do I access the I/O channels from my modules?

Solution

When you are using a C Series Module in a Real-Time cDAQ chassis, you do not need to add the modules to the LabVIEW project like you do when using a cRIO. The I/O channels are accessible directly using the NI-DAQmx driver. To access the I/O channels, you can use a DAQmx Physical Channel control or constant in your VI, which will show any DAQmx-compatible C Series Modules that are inserted into your chassis.

You can then program your DAQmx code as you would if the VI were running on a Windows machine.

Additional Information

Before you can see the C Series I/O items in the DAQmx Physical Channel control or constant, make sure to connect to your Real-Time cDAQ in the LabVIEW project by right-clicking on the RT CompactDAQ Target and selecting Connect.

WAS THIS ARTICLE HELPFUL?

Not Helpful