WOLFRAM SYSTEM MODELER

TriggeredIntegerSampler

Triggered sampling of continuous signals

Wolfram Language

In[1]:=
SystemModel["Modelica_Synchronous.WorkInProgress.Tests.TriggeredIntegerSampler"]
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: 0

Type: Integer

Description: initial value of output signal

Connectors (3)

u

Type: IntegerInput

Description: Connector with a Integer input signal

y

Type: IntegerOutput

Description: Connector with a Integer output signal

trigger

Type: BooleanInput

Description: 'input Boolean' as connector

Used in Examples (1)

TestClockedIntegerToTrigger

Modelica_Synchronous.WorkInProgress.Tests