09-22-2011 03:46 PM
Hi, is there a way to create a square wave that has an incremental HIGH pulse width and a fixed LOW pulse width?
Sorry I'm quite new with labview, any help is appreciated, thanks!
Solved! Go to Solution.
09-23-2011 04:42 AM
Hi, here is my solution, it simply alters the frequency to offset the change in duty cycle.
Hope it works for your application.
Joel.
09-23-2011 05:01 AM
Hi GBPC,
My name is Jack and I work at National Instruments UK.
I understand you are trying to output a square wave signal with a fixed low time and variable high time in labVIEW.
The reply above works great if you want to use the signal internally. Alternatively if you are trying to output the signal with a piece of internal or external Data Acquisition (DAQ) hardware you will want to use LabVIEWs DAQmx Tool palette.
I have created a quick example below for you to look at that should help you come to a solution. It uses the DAQmx VIs to create and initialize a channel and then runs it in a loop with controls to change the high and low times using a property node.
Hope this helps
09-23-2011 08:51 AM
Thank you both for the great solutions, they're very helpful!