To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI is designed to generate a rising edge at a frequency that is specified by dividing down from an incoming signal.
It does so by counting the rising edges of an incoming signal and outputting a pulse when the specified number of edges have been counted (i.e. a specified divisor).
An example application is taking a 3600 tick encoder and generating a sample clock that samples every 10th tick such that the encoder appears to be a 360 tick encoder.
Description
The VI uses a CO Pulse Ticks task to output a pulse based on a certain number of low ticks and high ticks after a certain number of rising edges are counted on the input line.
The task is made continuous so that it repeats until the task is stopped.
Requirements
LabVIEW 2013 or compatible.
NI-DAQmx 15.5.1 or compatible.
Steps to Implement or Execute Code:
Block Diagram Steps:
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.