meas_slope :
A primitive for measuring the slope of an xreal-typed signal at triggering events.
The meas_slope
primitive measures the slope (i.e. derivative value) of an xreal-typed signal in
when it is triggered by the input trig
. The real-typed output out
indicates the sampled slope value of the signal at the triggering events. The output out
initially takes an “NaN (not-a-number)” value until the first triggering event occurs, and gets updated to a finite value once a triggering event occurs.
Input/Output Terminals
Name | I/O | Type | Description |
out | output | real | slope |
in | input | xreal | input signal |
trig | input | xbit | trigger |