LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pid duty cycle PWM

Solved!
Go to solution
Solution
Accepted by topic author JohnS11

Even easier than In Range and Coerce, the PID function has an "Output Limits" input.  Create a constant for that input and set the limits to whatever you need.

 

What DAQ card are you using?  If it has a built-in timer, you will get a better PWM signal by using that, and the code is simpler.

Message 11 of 11
(463 Views)