Showing results for 
Search instead for 
Did you mean: 

measuring duty cycles of 4 square waves at analog input channels of E-series pci daq card

I want to measure duty cycles of four square waves simultanously from my four analog channels of NI 6052E Without using counters. I am using LabView general.
0 Kudos
Message 1 of 2
Without counters this will all have to be done in software. Use a comparison to determine if the state has changed from low to high and vice versa. Count the number of samples that occur between these changes in state. The numbers of high samples and the number of low samples are enough. Keeping track of the count and clearing it between buffer reads will be the only tricky part.
0 Kudos
Message 2 of 2