Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate a PWM signal with variable duty cycle

I have a 6024E DAQ card and a 2345 SCC box with a micro-craft counter installed in a counter slot.  I am relatively new  to using DAQmx and can't figure out how to set up a vi that I can generate a PWM signal and coninuously control the duty cycle of the signal (set frequency at 10 Hz).  My loop time is 100ms and need to control between 1% and 99% duty cycle.
 
The examples I see all set up a channel with fixed frequency and duty cycle, and then it runs finite or continuous. 
 
 
0 Kudos
Message 1 of 3
(3,371 Views)

Like this?

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=DE27921DB53A4D8DE034080020E74861

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 3
(3,365 Views)

Hello Iggy,
There is a great tutorial on Pulse Width Modulation in NI LabVIEW Using NI-DAQmx.  Hope this helps:)
-Alan A.

0 Kudos
Message 3 of 3
(3,351 Views)