meas_freq

meas_freq :
A primitive for measuring the frequency of a trigger.

The meas_freq primitive measures the frequency of a trigger input trig, by measuring the time difference between its two consecutive events. The real-typed output out indicates the frequency measured from the last two trigger events of the input. It initially takes an “NaN (not-a-number)” value until the first frequency measurement can be made.

Input/Output Terminals

Name I/O Type Description
out output real value
trig input xbit trigger
« meas_fall
meas_integ »