blockBackSample
Shift clock of Integer input signal backwards in time (and access the most recent value of the input at this new clock)
Information
This block for Integer 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 Integer block.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | y_start | 0 | Value of output y before the first clock tick of the input u |
| Shift first clock activation backwards in time for 'shiftCounter/resolution*interval(u)' seconds | |||
| Integer | backCounter | 0 | Numerator of shifting formula |
| Integer | resolution | 1 | Denominator of shifting formula |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.IntegerInput | u | Connector of clocked, Integer input signal | |
| Modelica.Blocks.Interfaces.IntegerOutput | y | Connector of clocked, Integer output signal (clock of y is faster than clock of u) |