Difference between revisions of "Extensions.Measure.DeviceEventSource"

From emotive
Jump to navigation Jump to search
Line 1: Line 1:
[[Category:Measure]]
+
{{DISPLAYTITLE:'''DeviceEventSource '''}}[[Category:Measure]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | DeviceEventSource | Measuring device used as a source for events | [[Term]] | [[Measure|OTX Measure extension]] | [[Event related terms]] | - | [[MeasureChk001|Measure_Chk001]] }}
+
{{ClassificationActivity | DeviceEventSource | Measuring device used as a source for events | [[Term]] | [[Extensions.Measure|OTX Measure extension]] | [[Event related terms]] | - | [[Extensions.Measure.MeasureChk001|Measure_Chk001]] }}
  
 
== OTL Syntax ==
 
== OTL Syntax ==
Line 9: Line 9:
  
 
== Description ==
 
== 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.
+
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 [[Extensions.EventHandling|EventHandling]] library. A measurement will trigger an event when a new output parameters from one of its services has arrived.
  
{{TermReturnValue| [[EventSource]] | EventSource from a measurement. }}
+
{{TermReturnValue| [[Extensions.EventHandling.EventSource|EventSource]] | EventSource from a measurement. }}
  
 
== Properties ==
 
== Properties ==
Line 35: Line 35:
  
 
== See also ==
 
== See also ==
[[IsDeviceEvent]] <br/>
+
[[Extensions.Measure.IsDeviceEvent|IsDeviceEvent]] <br/>
[[GetDeviceServiceNameFromEvent]]
+
[[Extensions.Measure.GetDeviceServiceNameFromEvent|GetDeviceServiceNameFromEvent]]

Revision as of 02:39, 16 February 2016

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.

Icons Note.png 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);
}

See also

IsDeviceEvent
GetDeviceServiceNameFromEvent