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.Clocked.BooleanSignals.Sampler.Sample"]
Out[1]:=

Information

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

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 (2)

Sample1

Modelica.Clocked.Examples.Elementary.BooleanSignals

Example of a Sample block for Boolean signals

Sample2

Modelica.Clocked.Examples.Elementary.BooleanSignals

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