01-12-2010 04:53 PM
Hello ,
I want to write a code which generated PWM on counter 0 and measures 3 PWM signals on counter 1, counter 2, counter 3 .
I know how to generate a PWM ... i am still trying to figure how to measure it thou.
when i want to measure the PWM should i provide my signal to the source ( PWM ) and gnd. Is that the hardware set-up.
Moreover it is possible to do in real time ....( generation and measurment simultaneously).
Please help !!!
Thanks in advance.
Sweety Agarwal
02-01-2010 08:10 AM
Hello,
It is possible to do what you say and measure and generate simultaneously. To measure a PWM, you need to set up a counter input task for semi period measurements with implicit timing. Then wire your signal into the gate.
-Christina