Difference between revisions of "Extensions.Measure.DeviceEventSource"
Jump to navigation
Jump to search
m (Hb moved page DeviceEventSource to Extensions.Measure.DeviceEventSource: #3153) |
|
(No difference)
|
Revision as of 02:10, 16 February 2016
Contents
Classification
Name | DeviceEventSource |
Short Description | Measuring device used as a source for events |
Class | Term |
Extension | OTX Measure extension |
Group | Event related terms |
Exceptions | - |
Checker Rules | Measure_Chk001 |
Standard Compliant | Yes |
OTL Syntax
EventSourceTerm = Measure.DeviceEventSource(Device);
Description
The DeviceEventSource term is a link to a DeviceSignature, a device that is made to an event source. This term provides a sequence of OTX using a measuring as a source for the events related to the OTX EventHandling library. A measurement will trigger an event when a new output parameters from one of its services has arrived.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
EventSource | EventSource from a measurement. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Device | - | OtxLink | - | [1] | The attribute represents a reference that refers to a device that is monitored. |
OTL Examples
package Measure.DeviceSignature TestDocument
{
DeviceServiceSignature Addition(in Integer a, in Integer b, out Measure.Measurement OutValue);
}
public procedure DeviceEventSource()
{
EventHandling.EventSource EventSource;
EventSource = Measure.DeviceEventSource(TestDocument);
}