during function

Requirements.LogicalFunctions.during  ยท source

Icon of during

Return Satisfied when check is true as long as condition is true

Extends Requirements.Interfaces.PropertyFunction

Syntax

during(condition, check);

Description

If condition is true, the function returns "Property(check)" (so either Satisfied or Violated). Otherwise, it returns Undefined: the property is not applicable while its condition is false (before version 0.8.0 the function returned Undecided here). Violated, Undecided, Satisfied and Undefined are the elements of enumeration Property

Example

The property is demonstrated with the following example calling the function as:

property = during(condition,check)

results in

simulation result

Inputs

NameTypeDescription
condition inputBooleanVerify check as long as condition = true
check inputBooleanAs long as condition is true, check should be true

Outputs

NameTypeDescription
result outputRequirements.Types.PropertySatisfied/Violated (check) if condition is true, otherwise Undefined