SampleTrigger

Generate sample trigger signal

    SampleTrigger

Library

Modelica/Blocks/Sources

Description

The Boolean output y is a trigger signal where the output y is only trueat sample times (defined by parameter period) and is otherwisefalse.

SampleTrigger.png

Parameters

SampleTrigger_0

NameLabelDescriptionData TypeValid Values

mo_period

period

Sample period

Scalar

mo_startTime

startTime

Time instant of first sample trigger

Scalar

SampleTrigger_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

y

implicit

Connector of Boolean output signal

output

1

See Also