BackSampleShift clock of Boolean input signal backwards in time (and access the most recent value of the input at this new clock) |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
This block for Boolean signals works similarly as the corresponding block for Real signals (see RealSignals.Sampler.BackSample).
Analog to the corresponding Real signal block example there exists an elementary example for this Boolean block.
backCounter |
Value: 0 Type: Integer Description: Numerator of shifting formula |
---|---|
resolution |
Value: 1 Type: Integer Description: Denominator of shifting formula |
y_start |
Value: false Type: Boolean Description: Value of output y before the first clock tick of the input u |
u |
Type: BooleanInput Description: Connector of clocked, Boolean input signal |
|
---|---|---|
y |
Type: BooleanOutput Description: Connector of clocked, Boolean output signal (clock of y is faster than clock of u) |
Modelica.Clocked.Examples.Elementary.BooleanSignals Example of a BackSample block for Boolean signals |