Determines the duty cycle of an arbitrary signal.
Returns the duty cycle of a signal, as defined by 10-90 transitions between a "high" and "low" value.
menu: veeos ==> Signal Processing ==> dutyCycle
library: sigLib
see example in veeos menu
One common parameter for digital signals is duty cycle: the relative time spent "high" vs "low". This is normally presented as a ratio, with "1" being "high all the time and "0" being "low all the time". This function uses that standard and defines "up" as within 10% of highest value and "down" as within 10% of the lowest value. Given these margins the function is resistant to noise in the signal, but of course gets best results with many cycles.
VEE 7.0+, all platforms
fallTime, frequency, period, riseTime