Full Library / Algorithmic / Analog / event generator / ZeroCrossingDetector
Block Name: ZeroCrossingDetector
An event detector that converts
continuous signals to discrete events when the continuous signal
crosses zero. This actor is a syntactic sugar for LevelCrossDetector
with level to be 0.0.
Field Detail
defaultEventValue
public VisualSim.data.expr.Parameter defaultEventValue
- A parameter that specifies the value of output events if the useEventValue parameter is checked. By default, it contains a DoubleToken of 0.0.
direction
public VisualSim.data.expr.StringParameter direction
- A
parameter that can be used to limit the detected level crossings to
rising or falling. There are three choices: "falling", "rising", and
"both". The default value is "both".
errorTolerance
public VisualSim.data.expr.Parameter errorTolerance
- The parameter of error tolerance of type double. By default, it contains a DoubleToken of 1e-4.
useDefaultEventValue
public VisualSim.data.expr.Parameter useDefaultEventValue
- The parameter that indicates whether to use the default event value.
Created with the Personal Edition of HelpNDoc: Easy EPub and documentation editor