Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-6211, Develop a 50/50 Duty Cycle PWM Control with adjustable frequencies from 0.1 hz to 10 hz using Digital Out/Counters

Hello everyone, I would like to develop a .VI which outputs a Square wave signal of frequencies 0.1 hz to 10 hz, as controlled by the user. The range should be 0V to 5V. I'm not exactly sure where to start this one. I've been able to develop the Analog Out portion very easily of my project, but have used both of the Aouts. Therefore, I was hoping to use the Digital Outs/Counter outputs for this type of application. Any suggestions are welcome! Thanks!

0 Kudos
Message 1 of 2
(3,827 Views)

50/50 duty cycle AND PWM together is very unusual 😉  Well, nice for exactly one operating point. Like a not working analog watch, twice a day the time will be shown exactly 😄

 

 

But have a look at the timer/counter examples (you have two on the 6211) 

 

Depeding on the output ripple , you have to choose an output filter and the PWM frequency.

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 2 of 2
(3,793 Views)