WOLFRAM SYSTEM MODELER

SubSample

Sub-sample the clocked Boolean input signal and provide it as clocked output signal

Wolfram Language

In[1]:=
SystemModel["Modelica_Synchronous.BooleanSignals.Sampler.SubSample"]
Out[1]:=

Information

This block for Boolean signals works similarly as the corresponding block for Real signals (see RealSignals.Sampler.SubSample). /p>

Analog to the corresponding Real signal block example there exists an elementary example for this Boolean block.

Parameters (2)

inferFactor

Value: true

Type: Boolean

Description: = true, if sub-sampling factor is inferred

factor

Value: 1

Type: Integer

Description: Sub-sampling factor >= 1 (ignored if inferFactor=true)

Connectors (2)

u

Type: BooleanInput

Description: Connector of clocked, Boolean input signal

y

Type: BooleanOutput

Description: Connector of clocked, Boolean output signal (clock of y is slower as clock of u)

Used in Examples (2)

SubSample

Modelica_Synchronous.Examples.Elementary.BooleanSignals

Example of a SubSample block for Boolean signals

TestBooleanSamplerAndHolds

Modelica_Synchronous.WorkInProgress.Tests