04-28-2006 08:24 AM
Possible reason(s):Analysis: The amplitude of the waveform is zero, so the histogram method cannot be used.
04-28-2006 08:34 AM
04-28-2006 08:54 AM
04-28-2006 09:23 AM - edited 04-28-2006 09:23 AM
If you want to use software timing, then sample for x amount of time and create an array of Booleans. Search the array for the first Boolean true. Then search the array for the first Boolean false after the index value of the first True. The duty cycle is the array index number of the false minus the array index value of the true times the sample rate.
Message Edited by Dennis Knutson on 04-28-2006 08:24 AM
04-28-2006 10:47 PM - edited 04-28-2006 10:47 PM
Message Edited by YangLi on 04-28-2006 10:48 PM
05-01-2006 05:13 AM - edited 05-01-2006 05:13 AM
Message Edited by YangLi on 05-01-2006 05:14 AM
05-01-2006 05:52 PM
05-01-2006 07:15 PM
Hi Jeff,
Thanks for reply. I will modify it, but I can't find your attached pic...
Regards
Yang
05-02-2006 01:42 AM
Hiii, Dennis
I am facing the same problem, i want to measure duty cycle of generaed D/O for single channel of low frequency and we do not have the 24 DIO, we are generating it only on the single channel so we do not have the array of the digital signals, then what should we do? please suggest us something.
Thanks,
Nishant
05-02-2006 08:03 AM