Classification
OTL Syntax
ListTerm DiagCom.GetAllResponses(ResultTerm result);
Description
The GetAllResponses term returns a list of all responses that are available for that Result. It accepts a ResultTerm.
Return Value
The Term returns the value, see table below.
|
|
In OTX, Terms are categorized according to its return data type!
|
Data Type |
Description
|
List |
List of all the response object of a result object.
|
Properties
Name |
Data Type |
Class |
Default |
Cardinality |
Description
|
Result |
Result |
Term |
- |
[1] |
The Result whose responses shall be returned.
|
OTL Examples
/// Local Declarations
DiagCom.Result Result1;
List<DiagCom.Response> List1;
DiagCom.ComChannel ComChannel1;
/// Flow
ComChannel1 = DiagCom.GetComChannel("LL_GatewUDS", "EV_GatewLear_006", false);
[#MetaData(RequestPdu), <#Data>22 01 00</#Data>]
DiagCom.ExecuteDiagService(DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDataByIdentActuaTestStatu"), {}, {}, Result1, NULL, false, false);
List1 = DiagCom.GetAllResponses(Result1);
See also
GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
ExecuteDiagService
GetFirstResult
GetAllResults