To download NI software, including the products shown below, visit ni.com/downloads.
Overview
The example is to demonstrate the measurement of the duty cycle of a signal using the counter of the DAQ Hardware
Description:
This is a simple VI to show how to acquire the measured signal and also determine the duty cycle using the counter. Leveraging the DAQmx and DAQ hardware, we could access the counter input pin and acquire the signal continuously and also calculate the duty cycle of it.
Steps to Implement or Execute Code:
To implement this example:
To execute this example:
Requirements
Software
LabVIEW 2012 or compatible
NI-DAQmx 9.0 or compatible
Hardware
cDAQ with C series Counter Input Module
Additional Notes:
**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.
Great stuff. I added "LabVIEW" as a tag so it would show up on the front page.