WOLFRAM SYSTEM MODELER

ShiftSample

Example of a ShiftSample block for Boolean signals

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Elementary example for the documentation of block Modelica.Clocked.BooleanSignals.Sampler.ShiftSample.

Components (4)

sample1

Type: SampleClocked

Description: Sample the continuous-time, Boolean input signal and provide it as clocked output signal. The clock is provided as input signal

periodicClock

Type: PeriodicExactClock

Description: Generate a periodic clock signal with a period defined by an Integer number with resolution

shiftSample1

Type: ShiftSample

Description: Shift the clocked Boolean input signal by a fraction of the last interval and and provide it as clocked output signal

table

Type: BooleanTable

Description: Generate a Boolean output signal based on a vector of time instants