WOLFRAM SYSTEM MODELER
ShiftSampleShift the clocked Boolean input signal by a fraction of the last interval and and provide it as clocked output signal |
SystemModel["Modelica_Synchronous.BooleanSignals.Sampler.ShiftSample"]
This block for Boolean signals works similarly as the corresponding block for Real signals (see RealSignals.Sampler.ShiftSample).
Analog to the corresponding Real signal block example there exists an elementary example for this Boolean block.
shiftCounter |
Value: 0 Type: Integer Description: Numerator of shifting formula |
---|---|
resolution |
Value: 1 Type: Integer Description: Denominator of shifting formula (ignored if inferShift=true) |
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 als clock of u) |
Modelica_Synchronous.Examples.Elementary.BooleanSignals Example of a Hold block for Boolean signals |
|
Modelica_Synchronous.Examples.Elementary.BooleanSignals Example of a ShiftSample block for Boolean signals |
|
Modelica_Synchronous.Examples.Elementary.BooleanSignals Example of a BackSample block for Boolean signals |
|
Modelica_Synchronous.WorkInProgress.Tests |