Example Code

Synchronize the NI 9326 with an Analog Input C Series Module

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.


  • Data Acquisition (DAQ)


  • LabVIEW


  • NI-DAQmx

    Operating System

  • Windows

    Programming Language

  • LabVIEW G


  • NI 9326

Code and Documents



This example shows how to acquire filtered frequency measurements with the NI 9326 and synchronize those measurements with analog measurements from another module in the same chassis.  

How to Use

First select the 9326 module and counter you wish to use for your frequency measurements. Next select the analog input module you want to synchronize with. Configure the front panel for your measurement by setting timing and filtering settings. If you need more information about the 9326 configurable filters, please reference the NI 9326 Datasheet located in the related links section.

Additional Information

The NI 9326 was designed with a few specific sensors in mind. The sensor types include variable reluctance sensors, encoders, and hall-effect sensors. It was also designed as a replacement for the SCXI-1126 hardware. If you have used the 1126 in the past the 9326 may be a suitable replacement for that hardware with improved performance and up to date software support.

Related Links

NI 9326 Datasheet

NI 9326 Getting Started Guide

NI DAQmx Download

Obsolescence Planning

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.