Difference between revisions of "Extensions.DiagCom.GetComChannelIdentifierFromResponse"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
{{ClassificationActivity | GetComChannelIdentifierFromResponse | Determined from a response to the associated communication channel | [[Term]] | [[DiagCom|OTX DiagCom extension]] | [[ComChanel related terms]] | [[UnknownComChannelException]] | - }} | {{ClassificationActivity | GetComChannelIdentifierFromResponse | Determined from a response to the associated communication channel | [[Term]] | [[DiagCom|OTX DiagCom extension]] | [[ComChanel related terms]] | [[UnknownComChannelException]] | - }} | ||
− | == | + | == OTL Syntax == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | DiagCom.GetComChannelIdentifierFromResponse(ResponseTerm); | |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 19: | Line 19: | ||
|} | |} | ||
− | == Examples == | + | == OTL Examples == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | ComChannel myComCannel = GetComChannelIdentifierFromResponse( | + | DiagCom.ComChannel myComCannel; |
+ | DiagCom.DiagService myDiagService; | ||
+ | DiagCom.Result Result1; | ||
+ | DiagCom.Response Response1; | ||
+ | String String1; | ||
+ | |||
+ | myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false); | ||
+ | myDiagService = DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", "", false), "DiagnServi_ReadDataByIdentActuaTestStatu"); | ||
+ | DiagCom.ExecuteDiagService(myDiagService, {}, {}, false, false, Result1); | ||
+ | Response1 = DiagCom.GetFirstResponse(Result1); | ||
+ | String1 = DiagCom.GetComChannelIdentifierFromResponse(Response1); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 04:11, 5 February 2015
Contents
Classification
Name | GetComChannelIdentifierFromResponse |
Short Description | Determined from a response to the associated communication channel |
Class | Term |
Extension | OTX DiagCom extension |
Group | ComChanel related terms |
Exceptions | UnknownComChannelException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
DiagCom.GetComChannelIdentifierFromResponse(ResponseTerm);
Description
On the GetComChannelIdentifierFromResponse term can be determined from a response of the corresponding communication channel. This is especially necessary for the evaluation of a result object, which in the functional addressing contains the answers of several control units.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
ComChannel | It will return the communication channel generated. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Response | Response | Term | - | [1] | Response object that is returned by the control unit. |
OTL Examples
DiagCom.ComChannel myComCannel;
DiagCom.DiagService myDiagService;
DiagCom.Result Result1;
DiagCom.Response Response1;
String String1;
myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false);
myDiagService = DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", "", false), "DiagnServi_ReadDataByIdentActuaTestStatu");
DiagCom.ExecuteDiagService(myDiagService, {}, {}, false, false, Result1);
Response1 = DiagCom.GetFirstResponse(Result1);
String1 = DiagCom.GetComChannelIdentifierFromResponse(Response1);