WOLFRAM SYSTEM MODELER

TriggeredBooleanSampler

Triggered sampling of continuous signals

Wolfram Language

In[1]:=
SystemModel["Modelica_Synchronous.WorkInProgress.Tests.TriggeredBooleanSampler"]
Out[1]:=

Information

Samples the continuous input signal whenever the trigger input signal is rising (i.e., trigger changes from false to true) and provides the sampled input signal as output. Before the first sampling, the output signal is equal to the initial value defined via parameter y0.

Parameters (1)

y_start

Value: false

Type: Boolean

Description: initial value of output signal

Connectors (3)

u

Type: BooleanInput

Description: Connector with a Boolean input signal

y

Type: BooleanOutput

Description: Connector with a Boolean output signal

trigger

Type: BooleanInput

Description: 'input Boolean' as connector

Used in Examples (1)

TestClockedBooleanToTrigger

Modelica_Synchronous.WorkInProgress.Tests