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

TypeNameDefaultDescription
Integery_start0Value 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
IntegerbackCounter0Numerator of shifting formula
Integerresolution1Denominator of shifting formula

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.IntegerInputuConnector of clocked, Integer input signal
Modelica.Blocks.Interfaces.IntegerOutputyConnector of clocked, Integer output signal (clock of y is faster than clock of u)