To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This program will allow you to create a continuous pulse train with a duty cycle that varies in accordance to an acquired input voltage using only DAQ hardware.
Description
In this example, You can supply the input voltage by simply wiring the selected analogue output to the corresponding analogue input and then adjust the Input Voltage dial in order to see the effects, but this "simulated" controlling voltage source can also be disabled if you wish to provide it by other external means.
Steps to implement or execute code
Requirements
Software
LabVIEW 2012 or compatible
NI-DAQmx 16.0 or compatible
Hardware
cDAQ with C series Counter Input and Analog I/O or compatible DAQ devices
**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.