How to Export the Internal Analog Input Sample Clock

Updated Apr 15, 2026

Environment

Hardware

  • Multifunction I/O Device

Driver

  • NI-DAQmx

This document explains how to route the internally generated Analog Input (AI) Sample Clock from a multifunction DAQ device to an external terminal so it can be accessed outside the device.

Identify a Valid Terminal for the AI Sample Clock

  1. Open Measurement & Automation Explorer (MAX).
  2. Select your DAQ device under Devices and Interfaces.
  3. Open the Device Routes tab.
  4. Locate the AI Sample Clock source in the routing table. The figure below shows the Device Routes tab for a multifunction DAQ device.
  5. Identify which PFI terminals can accept the AI Sample Clock signal.
    • Green cells indicate a direct route that does not consume device resources.
    • Yellow cells indicate that internal subsystems are used to make the connection.
  6. Choose a PFI terminal with a green route when possible.
    In this example, PFI7 is the preferred option because it does not consume additional device resources.
     

    Route the AI Sample Clock to the Selected PFI Terminal

    1. Open your NI‑DAQmx task in LabVIEW.
    2. Place the DAQmx Export Signals VI on the block diagram. You can find it in the Functions Palette at: Measurement I/O » DAQmx – Data Acquisition » DAQmx Advanced Task Options » DAQmx Export Signal  
    3. Configure the DAQmx Export Signals VI to export the AI Sample Clock to the selected PFI terminal.
    4. Run the task to output the AI Sample Clock on the chosen PFI line.

     

    The internally generated AI Sample Clock is routed to an external PFI terminal, allowing you to monitor or use the clock signal outside the DAQ device.