Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

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

$
0
0

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.

 


Viewing all articles
Browse latest Browse all 1271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>