ISafety Monitor V 4Clear External Events 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
Assembly: SafetyMonitoExtension (in SafetyMonitoExtension.dll) Version: 0.1+d75ea7ab874235e354c93329218ac96a84f66202
C#
void ClearExternalEvents(
IEnumerable<string> safetyEventIdList
)VB
Sub ClearExternalEvents (
safetyEventIdList As IEnumerable(Of String)
)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
| MethodNotImplementedException | When the device does not support management of external events. |
| InvalidValueException | One or more safety event ids are not recognised. |
| NotConnectedException | When the device is not connected. |
| DriverException | An 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. |