LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How the duty cycle is calculated by Timing and Measurement.vi

I am using the Timing and Measurement express vi(LabView8.0 is used) to measure the Duty cycle and frequency. I want to know how the same is calculated by the Timing and Measurement express vi. Please reply.
0 Kudos
Message 1 of 4
(2,703 Views)
Hi yogiyogesh,

Thank you for contacting National Instruments.  I'm not sure if I understand your question.  Are you looking for a way to calculate the duty cycle and frequency of your signal without using the express vi's?  Please clarify, and I will be happy to offer some assistance.
 
Regards,
 
Kevin H
National Instruments
WSN/Wireless DAQ Product Support Engineer
0 Kudos
Message 2 of 4
(2,681 Views)
 The Timing and Measurement Express VI uses \vi.lib\measure\mascope.llb\Pulse Measurements N chan.vi to do the Duty Cycle and Frequency measurements. 

Help says the following about this VI:

Accepts a periodic waveform or an array of periodic waveforms and returns the period, pulse duration (pulse width), duty cycle (duty factor), and pulse center of a selected pulse and period.

Refer to the Pulse and Transition Measurements VI in the labview\examples\measure\maxmpl.llb for an example of using the Pulse Measurements VI.

Maybe NI can explain the algorithm.

Hope that this helps,

Bob Young

0 Kudos
Message 3 of 4
(2,670 Views)
Hi Kevin_H,
 
Yes, i am writting a PWM signal to DAQ input channel. Now i need to calculate the duty cycle of the same. I can ablre to calculate the same but its varying a lot(+10%). Now i have used the Express VI. Is the any method to calculate the Duty cycle of the PWM. Also i have used the Pulse Measurement vi. Thax for your reply and waiting for the same again.
0 Kudos
Message 4 of 4
(2,661 Views)