Example Code

Monitor One Digital Line and Output a Software 'Pulse' Using LabVIEW with DAQmx

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.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

This VI monitors one digital line in software and accordingly generates a software 'pulse' on another line.

 
Description

This VI monitors one digital line in software to see if a change happens, and if so, generates a software 'pulse' (not a true hardware pulse, but turns a line on and off) on another line.


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Select specific lines for reading and writing respectively.
  2. Run the VI.

 

Additional Information or References
VI Snippet

001.png

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

Jeff | LabVIEW Software Engineer

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