blockWhile

While time locator

Information

Syntax

y = While(u = opening_or_closing_event [, tl = master_time_period]);

Description

While is a special case of a continuous time locator with no overlapping time periods.

Opening and closing events are respectively delivered on input u when u becomes respectively true and false.

For more information, refer to the Periods block.

While can only be used as the master time locator of a Periods block.

The Master block can be used to specify the same master period to all time periods of the same model.

Parameters

TypeNameDefaultDescription
BooleanleftBoundaryIncludedtrueIf true, the left boundaries of the time periods are included
BooleanrightBoundaryIncludedtrueIf true, the right boundaries of the time periods are included

Connectors

TypeNameDefaultDescription
ETL.Connectors.WhileOutputyVector of time periods
ETL.Connectors.Boolean4InputuAlternating opening and closing events
ETL.Connectors.WhileInputtl

Components

TypeNameDefaultDescription
ETL.TimeLocators.WhileWhile