ISafetyMonitorV4ClearExternalEvents Method

Removes one or more external safety events from the list returned by SafetyEvents.

Definition

Namespace: SafetyMonitorExtension
Assembly: SafetyMonitoExtension (in SafetyMonitoExtension.dll) Version: 0.1+d75ea7ab874235e354c93329218ac96a84f66202
C#
void ClearExternalEvents(
	IEnumerable<string> safetyEventIdList
)

Parameters

safetyEventIdList  IEnumerableString
An enumerable list of SafetyEvent.ID strings to be removed from the device's list of external safety events.

Remarks

This is an optional method and can report a not implemented error.

ClearExternalEvents must only remove events from the external events list, it must not remove events generated by the safety monitor itself.

Internally generated events can only be cleared by the safety monitor itself when the unsafe condition has been resolved.

See Action Implementation Notes for information on how clients, Alpaca devices and drivers should implement this method.

Exceptions

MethodNotImplementedExceptionWhen the device does not support management of external events.
InvalidValueExceptionOne or more safety event ids are not recognised.
NotConnectedExceptionWhen the device is not connected.
DriverExceptionAn error occurred that is not described by one of the more specific ASCOM exceptions. Include sufficient detail in the message text to enable the issue to be accurately diagnosed by someone other than yourself.

See Also