Example Code

Analog Trigger Pulse Generation on Two Counters Using LabVIEW and DAQ

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.

    Hardware

  • Data Acquisition (DAQ)

    Software

  • LabVIEW

    Driver

  • NI DAQmx

Code and Documents

Attachment

Overview

This example can use an analog input to trigger the generation of a digital pulse on two counter outputs simultaneously.


Description
You can use NI-DAQ to acquire or counter multiple channel signal at the same time. This demonstration can be used to use an analog input to trigger the two counter start task at the same time.

 

Requirements

  • LabVIEW 2012 (or compatible)
  • NI-DAQmx 12.0 (or compatible)


Steps to Implement or Execute Code

  • Select the device or physical Channels you pick.
  • Set up analog input signal to trigger off.
  • Run the program

 

Additional Information or References
VI Snippet

2-261.png

**This document has been updated to meet the current required format for the NI Code Exchange.**

Vivek Nath
National Instruments
Applications Engineer

Machine Vision

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