Hello rajen,
There is a good link to PWM in LabVIEW using counters
here.
As for using analog output, you will need to be able to continuously update your output waveform. I've attached a program that demonstrates this. Hope this info is helpful.
-Alan A.