Overview:
Demonstrates on internally routing digital pulses generated from a Counter Output to the Counter Input and updating the digital pulse frequency on the fly.
Requirements:
- LabVIEW 2012 or compatible.
- NI-DAQmx 15.5.1 or compatible.
- DAQ device with at least 2 counters.
Instructions:
- Specify all control values on the front panel.
- Run this VI.
- Verify the pulse frequency from the indicator.
Block Diagram Steps:
- Creates channel to generate digital pulses.
- Sets the channel to be continuously sampling data.
- Programs the hardware as much as possible according to the task configuration.
- Transitions the task to running state to begin generation.
- Allows the user to update the pulse frequency on the fly.
- Clears the task and displays any error occurs.
Block Diagram Steps:
- Creates channel to generate digital pulses.
- Sets the channel to be continuously sampling data.
- Internally route the generated signal to the default source pin of the counter.
- Transitions the task to running state to begin generation.
- Continuously updates the frequency measurement on the front panel.
- Clears the task and displays any error occurs.


**This document has been updated to meet the current required format for the NI Code Exchange.**
Sean Ferguson
Application Engineering Specialist | RF and Reconfigurable Test