Subsystem.EnableMonitorEvents Method (MF_EVENT_KIND(), Boolean)

Enables the specified monitoring events, either in the Persistent Event Set or the Transient Event Set, depending on the value of parameter persistent.

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 MF_EVENT_KIND[] EnableMonitorEvents(
    MF_EVENT_KIND[] monitorEventList,
    bool persistent
)

Parameters

monitorEventList

Type: IntervalZero.MaxRT.wRTOS.Monitor.MF_EVENT_KIND
A array specifying which events to enable. This array should only contain enumerators of events to be enabled.

persistent

Type: System.Boolean
If set to true, the events will be enabled in the Persistent Event Set, and the change will not take affect until monitoring is next enabled, otherwise the events will be enabled in the Transient Event Set.

Return Value

Type: MF_EVENT_KIND
An array specifying the current set of enabled events (either persistent or transient, depending on the value of parameter persistent).

Implements

IMonitorSubsystem.EnableMonitorEvents (MF_EVENT_KIND, Boolean)

Exceptions

Exception Condition

wRTOSException

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

See Also: