Extensions.EventHandling

From emotive
Jump to navigation Jump to search

Classification

Name EventHandling
Short Description Controls of event of the diagnostic sequence
Class OTX Extension
Base Extension -
Pre-Conditions -
Specified by ISO 13209-3

Introduction

With the Event Library OTX offers a system for the detailed control of events to interact with the outside world. We distinguish between events that are outside the diagnostic sequence. Example, click the user or expiration of a timer and which occur within the sequence. Example, change a variable. The event handler in OTX is always synchronous and asynchronous never. This means that a mechanism is used, waiting for the occurrence of events and processes them sequentially on.

In the Event Library, the following are provided:

  • Event Source
    Generation of events
  • Event
    Is generated by event source and encapsulates all the information about the event.
  • WaitForEvent
    Synchronization point - an ongoing diagnostic sequence is halted and waiting for certain events.

Actions

Sleep
WaitForEvent
CloseEventSource

Terms

Event source related terms
MonitorChangeEventSource
ThresholdExceededEventSource
TimerExpiredEventSource
Event source property related terms
IsMonitorChangeEvent
IsThresholdExceededEvent
IsTimerExpiredEvent
GetNewValue

Data Types

Event
EventSource

Checker Rules

Event_Chk001 Correct data types of ThresholdExceededEventSource arguments
Event_Chk002 No Path in MonitorChange related terms