Using NI-9469 to Synchronize Two cDAQ Chassis

Updated Sep 27, 2023

Environment

Hardware

  • NI-9469
  • cDAQ-9178
  • cDAQ-9179
  • NI-9229

Software

  • LabVIEW
  • Measurement & Automation Explorer (MAX)

In this document, you will find the instructions to synchronize two chassis cDAQ-9178/9179 using the NI-9469.

  1. Each chassis must have one NI-9469 to be installed, so two NI-9469 are required in this case.
  2. Check the module datasheet to ensure that these modules allow synchronization.
    • Modules that accept an external master time bases are one example of the criteria.
  3. Plug in power of each chassis cDAQ-9178/9179.
  4. Use USB cables to connect two cDAQ-9178/9179 to the same host computer.
  5. Install one NI-9469 on each cDAQ-9178/9179.
  6. According to NI-9469 Getting Started Guide, CAT 5e (Shielded Twisted Pair) wire should be used to connect two NI-9469.
    • Some CAT 5e wire engrave words "CATEGORY 5E PATCH CABLE"
  7. Select any topology based on application and timing requirements. In this example, star topology is selected because it can reduce skew and delay due to shorter cables.
    • Refer to NI-9469 Getting Started Guide >> Topologies section for more details.
    • Open NI MAX to configure the NI-9469.
    • 1.JPG
  8. Refer to Synchronization Explained, design a LabVIEW VI programming code by focus criteria below:
    • Master & slave: The slave device should start the task before the master device.
    • Trigger: It's recommended to share the same trigger between the 2 chassis. 
    • Share same time base: NI-9469 can provide a reference clock at 13.1072 MHz or 12.8 MHz.
  9. Refer to Example section for more information on LabVIEW synchronization code.

Verify two chassis whether are synchronized or not by referring t0 (time acquired of first data) in the timestamp.
If both devices' task t0 are equal, it means both chassis are synchronized. 
  1. In DAQmx Read.vi, select Analog >> Multiple Channels >> Multiple Samples >> 1D Waveform (Duration)
    • 2.JPG
  2. In the output, Right-click at data >> Create indicator.
    • 3.JPG
  3. Compare t0 for both devices.
    • 4.jpg
 

Synchronization Options for Multiple cDAQ Chassis With the NI-9469  provides LabVIEW synchronization example code.
  1. Delta Sigma Modules.vi is selected because NI-9229 equip with Delta-Sigma ADC.
  2. Delete extra components and left two virtual channels for two cDAQ-9178/9179.
    • Capture.JPG
  3. Select and configure settings before running the VI.
    • 9.JPG