WOLFRAM SYSTEM MODELER

Sample

Sample the continuous-time, Boolean input signal and provide it as clocked output signal (clock is inferred)

Wolfram Language

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

Information

This block for Boolean signals works similarly as the corresponding block for Real signals (see RealSignals.Sampler.Sample).

Analog to the corresponding Real signal block examples there exist two elementary examples, Sample1 and Sample2, for this Boolean block.

Connectors (2)

u

Type: BooleanInput

Description: Connector of continuous-time, Real input signal

y

Type: BooleanOutput

Description: Connector of clocked, Real output signal

Used in Examples (3)

Sample1

Modelica_Synchronous.Examples.Elementary.BooleanSignals

Example of a Sample block for Boolean signals

Sample2

Modelica_Synchronous.Examples.Elementary.BooleanSignals

Example of a Sample block for Boolean signals with direct feed-through in the continuous-time and the clocked partition

TestBooleanSamplerAndHolds

Modelica_Synchronous.WorkInProgress.Tests