Difference between revisions of "Extensions.DiagCom.DiagServiceEventSource"
Jump to navigation
Jump to search
m (Hb moved page DiagServiceEventSource to Extensions.DiagCom.DiagServiceEventSource: #3153) |
|||
Line 1: | Line 1: | ||
− | [[Category:DiagCom]] | + | {{DISPLAYTITLE:OTX '''DiagServiceEventSource'''}}[[Category:DiagCom]] |
== Classification == | == Classification == | ||
− | {{ClassificationActivity | DiagServiceEventSource | Binds a diagnosis service to an event handling source | [[Term]] | [[DiagCom|OTX DiagCom extension]] | [[Event related terms]] | - | - }} | + | {{ClassificationActivity | DiagServiceEventSource | Binds a diagnosis service to an event handling source | [[Term]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[Event related terms]] | - | - }} |
== OTL Syntax == | == OTL Syntax == | ||
Line 11: | Line 11: | ||
The '''DiagServiceEventSource''' term binds the given diagnosis service to an event handling source, see [[Event Library]]. | The '''DiagServiceEventSource''' term binds the given diagnosis service to an event handling source, see [[Event Library]]. | ||
− | The functionality of the '''DiagServiceEventSource''' term is the counterpart of the asynchronous mode in the [[ExecuteDiagService]] activity. Every time a new result is received from the control unit, an event is triggered. | + | The functionality of the '''DiagServiceEventSource''' term is the counterpart of the asynchronous mode in the [[Extensions.DiagCom.ExecuteDiagService|ExecuteDiagService]] activity. Every time a new result is received from the control unit, an event is triggered. |
− | {{TermReturnValue| [[EventSource]] | Source for event handling}} | + | {{TermReturnValue| [[Extensions.EventHandling.EventSource|EventSource]] | Source for event handling}} |
== Properties == | == Properties == | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| DiagService | [[DiagService]] | [[Term]] | - | [1] | Represents the [[DiagService]] that shall be connected to the event source.}} | + | {{TableRowPropertie1| DiagService | [[Core.DataTypes.ComplexDataType.DiagService|DiagService]] | [[Term]] | - | [1] | Represents the [[Core.DataTypes.ComplexDataType.DiagService|DiagService]] that shall be connected to the event source.}} |
|} | |} | ||
Line 33: | Line 33: | ||
== See also == | == See also == | ||
− | [[GetDiagServiceFromEvent]] <br/> | + | [[Extensions.DiagCom.GetDiagServiceFromEvent|GetDiagServiceFromEvent]] <br/> |
− | [[IsDiagServiceEvent]] | + | [[Extensions.DiagCom.IsDiagServiceEvent|IsDiagServiceEvent]] |
Revision as of 04:07, 15 February 2016
Contents
Classification
Name | DiagServiceEventSource |
Short Description | Binds a diagnosis service to an event handling source |
Class | Term |
Extension | OTX DiagCom extension |
Group | Event related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
EventSourceTerm = DiagCom.DiagServiceEventSource(DiagServiceTerm);
Description
The DiagServiceEventSource term binds the given diagnosis service to an event handling source, see Event Library.
The functionality of the DiagServiceEventSource term is the counterpart of the asynchronous mode in the ExecuteDiagService activity. Every time a new result is received from the control unit, an event is triggered.
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 | Source for event handling |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
DiagService | DiagService | Term | - | [1] | Represents the DiagService that shall be connected to the event source. |
OTL Examples
DiagCom.ComChannel myComCannel;
DiagCom.DiagService DiagService1;
EventHandling.EventSource EventSource1;
myComCannel = DiagCom.GetComChannel("LL_AirbaUDS", null, false);
DiagService1 = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentBasicSettiStatu");
EventSource1 = DiagCom.DiagServiceEventSource(DiagService1);