Main Content

sltest.testmanager.TriggerMode Class

Namespace: sltest.testmanager

Output trigger type

Since R2023a

Description

The sltest.testmanager.TriggerMode enumeration class specifies the type of trigger mode to use with an sltest.testmanager.OutputTrigger object. You do not need to create an instance of this class.

Enumeration MemberDescription
sltest.testmanager.TriggerMode.SameAsSim

Start or stop logging when simulation starts or stops, respectively. This mode corresponds to the Test Manager Start Logging, On simulation start and Stop Logging, When simulation stops, respectively.

sltest.testmanager.TriggerMode.Condition

Start or stop logging when the condition specified in the sltest.testmanager.OutputTrigger object StartLoggingCondtion or StopLoggingCondition property, respectively, is met. This mode corresponds to setting the Start Logging or Stop Logging parameters in the Test Manager to When condition is true.

sltest.testmanager.TriggerMode.Duration

Start logging after simulation starts by the number of seconds specified in the StartLoggingDuration property of the sltest.testmanager.OutputTrigger class or stop logging after logging starts by the number of seconds specified in the StopLoggingDuration property. This mode corresponds to setting the Start Logging or Stop Logging parameters in the Test Manager to After duration.

Version History

Introduced in R2023a