ShiftSampleShift the clocked Integer input signal by a fraction of the last interval and and provide it as clocked output signal |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
This block for Integer 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 Integer block.
shiftCounter |
Value: 0 Type: Integer Description: Numerator of shifting formula |
---|---|
resolution |
Value: 1 Type: Integer Description: Denominator of shifting formula |
u |
Type: IntegerInput Description: Connector of clocked, Integer input signal |
|
---|---|---|
y |
Type: IntegerOutput Description: Connector of clocked, Integer output signal |
Modelica.Clocked.Examples.Elementary.IntegerSignals Example of a Hold block for Integer signals |
|
Modelica.Clocked.Examples.Elementary.IntegerSignals Example of a ShiftSample block for Integer signals |
|
Modelica.Clocked.Examples.Elementary.IntegerSignals Example of a BackSample block for Integer signals |