Subsystem.SetPreTriggerEventsToSave Method

Sets the transient value of the number of pre-start-trigger events to save in a monitor session. Pre-start-trigger events are events that occur before the event that triggers the start of a monitoring session.

Namespace:  IntervalZero.MaxRT.wRTOS.Monitor
Assembly:  IntervalZero.MaxRT.wRTOS (in IntervalZero.MaxRT.wRTOS.dll) Version: 1.0.0.0 (File version: 1.0.0)

Syntax

Copy
public void SetPreTriggerEventsToSave(
    uint count
    bool persistent
)

Parameters

count

Type: Uint32
The number of pre-start-trigger events to save in a monitor session.

persistent

Type: Boolean
If true, this method sets the persistent number of pre-start-trigger events to save in a monitor session to count. If false, this method sets the transient number of pre-start-trigger events to save in a monitor session to count.

Return Value

If parameter persistent is true, this method sets the persistent number of pre-start-trigger events to save in a monitor session to count.

If parameter persistent is false, this method sets the transient number of pre-start-trigger events to save in a monitor session to count. If the Subsystem is not started, an exception is thrown.

Implements

IMonitorSubsystem.SetPreTriggerEventsToSave (uint)

Exceptions

Exception Condition

wRTOSException

Thrown if this method is used without the wRTOS Runtime installed.

See Also: