SampleTrigger

Generate sample trigger signal

Information

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

The Boolean output y is a trigger signal where the output y is only true at sample times (defined by parameter period) and is otherwise false.

SampleTrigger.png

Parameters (2)

period

Value:

Type: Time (s)

Description: Sample period

startTime

Value: 0

Type: Time (s)

Description: Time instant of first sample trigger

Connectors (1)

y

Type: BooleanOutput

Description: Connector of Boolean output signal

Used in Examples (2)

ShowLogicalSources

Modelica.Blocks.Examples

Demonstrates the usage of logical sources together with their diagram animation

BooleanNetwork1

Modelica.Blocks.Examples

Demonstrates the usage of blocks from Modelica.Blocks.MathBoolean