SampleClocked

Sample the continuous-time, Boolean input signal and provide it as clocked output signal. The clock is provided as input signal

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.SampleClocked).

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

Connectors (3)

clock

Type: ClockInput

Description: Output signal y is associated with this clock input

u

Type: BooleanInput

Description: Connector of continuous-time, Boolean input signal

y

Type: BooleanOutput

Description: Connector of clocked, Boolean output signal

Used in Examples (8)

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

SampleClocked

Modelica.Clocked.Examples.Elementary.BooleanSignals

Example of a SampleClocked block for Boolean signals

Hold

Modelica.Clocked.Examples.Elementary.BooleanSignals

Example of a Hold block for Boolean signals

SubSample

Modelica.Clocked.Examples.Elementary.BooleanSignals

Example of a SubSample block for Boolean signals

SuperSample

Modelica.Clocked.Examples.Elementary.BooleanSignals

Example of a SuperSample block for Boolean signals

ShiftSample

Modelica.Clocked.Examples.Elementary.BooleanSignals

Example of a ShiftSample block for Boolean signals

BackSample

Modelica.Clocked.Examples.Elementary.BooleanSignals

Example of a BackSample block for Boolean signals

UpSample

Modelica.Clocked.Examples.Elementary.BooleanSignals

Example of an UpSample block for Boolean signals

Used in Components (1)

ClockToBoolean

Modelica.Clocked.BooleanSignals.NonPeriodic

Block to translate clock signals to continuous Boolean events (each time the input clock ticks a rising Boolean output edge is produced).