See the thread "HPWM problem". Use the techique I posted there with a Resistor and Capacitor to give you your DC output.
See also the thread "0-10V Output Needed" for an example circuit which I posted which includes not only that Resistor and Capacitor, but also how to typically buffer your output with an Op-Amp.
Using the search facility on this forum can work wonders.
Bookmarks