Difference between revisions of "Extensions.DiagCom.GetComChannelIdentifierFromResponse"
Jump to navigation
Jump to search
Line 28: | Line 28: | ||
myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false); | myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false); | ||
− | myDiagService = DiagCom.CreateDiagServiceByName( | + | myDiagService = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentActuaTestStatu"); |
DiagCom.ExecuteDiagService(myDiagService, {}, {}, false, false, Result1); | DiagCom.ExecuteDiagService(myDiagService, {}, {}, false, false, Result1); | ||
Response1 = DiagCom.GetFirstResponse(Result1); | Response1 = DiagCom.GetFirstResponse(Result1); |
Revision as of 04:16, 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(myComCannel, "DiagnServi_ReadDataByIdentActuaTestStatu");
DiagCom.ExecuteDiagService(myDiagService, {}, {}, false, false, Result1);
Response1 = DiagCom.GetFirstResponse(Result1);
String1 = DiagCom.GetComChannelIdentifierFromResponse(Response1);