Subsystem.ResetTriggersForCustomEvents Method
This method resets triggers for custom event kinds for event kind MF_EVENT_KIND_CUSTOM. Parameter customEventKindTriggers specifies the triggers to reset for 1000 custom event kind values (0 to 999). This array must be exactly 1000 elements long, otherwise an exception of type wRTOSException is thrown. If the Subsystem is not started, this method throws an exception of type wRTOSException. This method can be called when monitoring is stopped or started. It takes effect immediately. If any of the specified triggers are already reset, they remain reset. Triggers do not persist after the wRTOS Subsystem stops. If persistence is desired, it is the client's responsibility to save trigger state before the Subsystem stops and to restore it when the Subsystem starts. This method is thread-safe and executes atomically across all processes with respect to all other trigger-related methods.
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
public void ResetTriggersForCustomEvents(
Subsystem.TriggerKinds[] customEventKindTriggers
)
Parameters
customEventKindTriggers
Type: IntervalZero.MaxRT.wRTOS.Monitor.Subsystem.TriggerKinds
Implements
IMonitorSubsystem.ResetTriggersForCustomEvents (Subsystem.TriggerKinds)
Exceptions
| Exception | Condition |
|---|---|
|
Thrown if this method is used without the wRTOS Runtime installed. |
See Also: