Difference between revisions of "Extensions.DiagCom.GetDiagServiceFromEvent"
Jump to navigation
Jump to search
m (Hb moved page GetDiagServiceFromEvent to Extensions.DiagCom.GetDiagServiceFromEvent: #3153) |
|||
Line 1: | Line 1: | ||
− | [[Category:DiagCom]] | + | {{DISPLAYTITLE:OTX '''GetDiagServiceFromEvent'''}}[[Category:DiagCom]] |
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetDiagServiceFromEvent | Diagnostics service event handler source | [[Term]] | [[DiagCom|OTX DiagCom extension]] | [[Event related terms]] | [[TypeMismatchException]] | - }} | + | {{ClassificationActivity | GetDiagServiceFromEvent | Diagnostics service event handler source | [[Term]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[Event related terms]] | [[TypeMismatchException]] | - }} |
== OTL Syntax == | == OTL Syntax == | ||
Line 9: | Line 9: | ||
== Description == | == Description == | ||
− | The '''GetDiagServiceFromEvent''' term returns associated with the event handling source Diagnostics Service, see [[Event Library]]. Thus, this term is the opposite of [[DiagServiceEventSource]] term. | + | The '''GetDiagServiceFromEvent''' term returns associated with the event handling source Diagnostics Service, see [[Event Library]]. Thus, this term is the opposite of [[Extensions.DiagCom.DiagServiceEventSource|DiagServiceEventSource]] term. |
− | {{TermReturnValue| [[DiagService]] | Diagnostics Service.}} | + | {{TermReturnValue| [[Core.DataTypes.ComplexDataType.DiagService|DiagService]] | Diagnostics Service.}} |
== Properties == | == Properties == | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| Event | [[Event]] | [[Term]] | - | [1] | Represents the event that was raised by the [[DiagService]] that shall be retrieved.}} | + | {{TableRowPropertie1| Event | [[Extensions.EventHandling.Event|Event]] | [[Term]] | - | [1] | Represents the event that was raised by the [[Core.DataTypes.ComplexDataType.DiagService|DiagService]] that shall be retrieved.}} |
|} | |} | ||
Line 47: | Line 47: | ||
== See also == | == See also == | ||
− | [[DiagServiceEventSource]] <br/> | + | [[Extensions.DiagCom.DiagServiceEventSource|DiagServiceEventSource]] <br/> |
− | [[IsDiagServiceEvent]] | + | [[Extensions.DiagCom.IsDiagServiceEvent|IsDiagServiceEvent]] |
Revision as of 04:00, 15 February 2016
Contents
Classification
Name | GetDiagServiceFromEvent |
Short Description | Diagnostics service event handler source |
Class | Term |
Extension | OTX DiagCom extension |
Group | Event related terms |
Exceptions | TypeMismatchException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
DiagServiceTerm = DiagCom.GetDiagServiceFromEvent(EventTerm);
Description
The GetDiagServiceFromEvent term returns associated with the event handling source Diagnostics Service, see Event Library. Thus, this term is the opposite of DiagServiceEventSource term.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
DiagService | Diagnostics Service. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Event | Event | Term | - | [1] | Represents the event that was raised by the DiagService that shall be retrieved. |
OTL Examples
DiagCom.ComChannel myComCannel;
DiagCom.DiagService DiagService1;
EventHandling.EventSource EventSource1;
EventHandling.Event Event1;
DiagCom.DiagService DiagService2;
myComCannel = DiagCom.GetComChannel("LL_AirbaUDS", null, false);
DiagService1 = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentBasicSettiStatu");
EventSource1 = DiagCom.DiagServiceEventSource(DiagService1);
parallel
{
lane
{
DiagCom.ExecuteDiagService(DiagService1, {}, {}, false, false);
}
lane
{
EventHandling.WaitForEvent({EventSource1}, Event1);
}
}
DiagService2 = DiagCom.GetDiagServiceFromEvent(Event1);