Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI 6602 counter Application

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

0 Kudos
Message 1 of 2
(5,208 Views)

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

0 Kudos
Message 2 of 2
(5,101 Views)