Synchronizing C Series Delta-Sigma Modules in Multiple cDAQ Chassis

Updated Apr 16, 2020

Reported In

Hardware

  • NI-9218
  • NI-9225
  • NI-9227
  • NI-9229
  • NI-9230
  • NI-9232
  • NI-9234
  • NI-9235
  • NI-9236
  • NI-9237
  • NI-9238
  • NI-9239
  • NI-9242
  • NI-9244
  • NI-9246
  • NI-9247
  • NI-9250
  • NI-9251
  • NI-9775

Software

  • LabVIEW

Issue Details

I have two or more C Series modules that have a delta-sigma ADC, each in their own cDAQ chassis. How can I synchronize these modules?

Solution

Unlike other C Series modules, modules with delta-sigma ADCs (DSAs) require synchronized sample clock timebases in order to achieve sample clock synchronization.

Since Programmable Function Input (PFI) lines built into CompactDAQ chassis have a maximum bandwidth of 1 MHz, which is lower than the internal timebases of all DSA modules, these PFI lines cannot be used to implement Sample Clock Synchronization between DSA modules on multiple cDAQ chassis.

In order to synchronize DSA modules, there are several potential solutions. In order of simplicity:
  1. Connect two or more Time Sensitive Networking (TSN)-enabled cDAQ-9185 or cDAQ-9189 chassis and utilize their time synchronization features to synchronize the timebases of C Series DSA modules. Data collected from these modules will still need to be adjusted for group delay, but will be automatically synchronized.
  2. If you don't count with TSN enabled chassis, use a NI-9469 Chassis Synchronization Module in each cDAQ chassis to export timebases in a master-slave configuration. Refer to How to Synchronize Multiple cDAQ Chassis Using the NI-9469 C-Series Module for details.
  3. You can alternative use NI 9402 C Series Digital Module to share the required signals. Unlike the CompactDAQ chassis built-in PFIs, the NI 9402's have enough bandwidth to share the signals. You can use the DAQmx Connect Terminals VI to export the internal timebase on a Delta-Sigma module in the master CompactDAQ through the PFI on the NI 9402. In the slave chassis, you can set the PFI from a second NI 9402 as the sample clock timebase source.

National Instruments recommends using TSN enabled devices for multi-chassis synchronization whenever possible or the NI 9469 of those are not available. Method 3 should only be used if the other methods are not feasible since inappropriate cabling and the added programming complexity can introduce additional possible error sources for the synchronization.

Refer to Time-based Synchronization of Analog Input C Series Modules with NI-DAQmx in LabVIEW for more details about performing the synchronization using TSN enabled chassis, and to Signal-based Synchronization of Analog Input C Series Modules with NI-DAQmx in LabVIEW for instructions using the NI 9469 to synchronize the devices. While not explicitly mentioned, the later can be used to identify the properties required to use method 3.

Additional Information

DAQmx Connect Terminals enabled routes remain after stopping the task. You need to use the DAQmx Disconnect Terminals VI or power cycle the device to disable the routes.

If you're not sure whether you require this type of synchronization, you can find a complete list of the C Series modules that need the NI-9469 or a TSN-enabled cDAQ-9185/cDAQ-9189 in order to be synchronized across multiple cDAQ chassis by looking at the "C Series Delta Sigma Devices" section of  C Series Device Groupings.