Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Plotting PWM for 0%DC and 100%DC from PCIe-6323

Hardware Used: NI PCIe 6323

OS: Windows

Application: Homegrown custom Application from Danlaw :  MxSuite

 

Goal : To plot PWM values of a 244Hz PWM signal.

Description: We are trying to plot Duty Cycle of this signal that is 244Hz.

 

I am looking at Ctr 0 port of DAQ and we have set it to read PWM.

The data looks valid as long as there are pulses coming.

 

But in a situation where DC does to 100%(Max brightness) and When LED turns Off(0% Duty Cycle)

 

If PWM is off (flat 0 line), NI DAQ Counter port ctr0 keeps waiting for Next pulse to plot the data instead of showing value as 0% DC.

 

Download All
0 Kudos
Message 1 of 4
(2,508 Views)

Hi,

 

Do you still need help? Or that link is the solution you found?

0 Kudos
Message 3 of 4
(2,462 Views)

Thanks EnHernan  

Thanks

 

I think I am all set.

I am using external variable to monitor the PWM waveform to decide on 0% and 100%

0 Kudos
Message 4 of 4
(2,389 Views)