WOLFRAM SYSTEM MODELER

BackSample

Shift clock of Integer input signal backwards in time (and access the most recent value of the input at this new clock)

Wolfram Language

In[1]:=
SystemModel["Modelica_Synchronous.IntegerSignals.Sampler.BackSample"]
Out[1]:=

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 (3)

backCounter

Value: 0

Type: Integer

Description: Numerator of shifting formula

resolution

Value: 1

Type: Integer

Description: Denominator of shifting formula

y_start

Value: 0

Type: Integer

Description: Value of output y before the first clock tick of the input u

Connectors (2)

u

Type: IntegerInput

Description: Connector of clocked, Integer input signal

y

Type: IntegerOutput

Description: Connector of clocked, Integer output signal (clock of y is faster als clock of u)

Used in Examples (2)

BackSample

Modelica_Synchronous.Examples.Elementary.IntegerSignals

Example of a BackSample block for Integer signals

TestIntegerSamplerAndHolds

Modelica_Synchronous.WorkInProgress.Tests