blockShiftSample
Shift the clocked Integer input signal by a fraction of the last interval and provide it as clocked output signal
Information
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.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Shift first clock activation for 'shiftCounter/resolution*interval(u)' seconds | |||
| Integer | shiftCounter | 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 |