Classification
OTL Syntax
EventHandling.CloseEventSource(EventSource source);
Description
The OTX CloseEventSource activity stops the event processing all specified sources.
Properties
Name |
Data Type |
Class |
Default |
Cardinality |
Description
|
Source |
EventSource |
Term |
- |
[1] |
One or more event sources to be terminated. The order is insignificant.
|
OTL Examples
Integer Variable1 = 0;
EventHandling.Event Event1;
EventHandling.EventSource EventSource1;
EventSource1 = EventHandling.MonitorChangeEventSource(Variable1);
Variable1 = Variable1 + 1;
EventHandling.WaitForEvent({EventSource1}, Event1);
EventHandling.CloseEventSource({EventSource1});
See also
Sleep