Extensions.DiagCom.GetFirstResponse
Jump to navigation
Jump to search
Contents
Classification
Name | GetFirstResponse |
Short Description | First Response of a result object |
Class | Term |
Extension | OTX DiagCom extension |
Group | Response related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
ResponseTerm = DiagCom.GetFirstResponse(ResultTerm);
Description
The GetFirstResponse term returns the first response of a result object. This is necessary especially for the evaluation of the responses of several ECUs.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Response | First Response of a result object. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
ResultEcu | Result | Term | - | [1] | Result-Object. |
OTL Examples
DiagCom.Result Result1;
DiagCom.Response Response1;
DiagCom.ComChannel ComChannel1;
DiagCom.DiagService DiagService1;
ComChannel1 = DiagCom.GetComChannel("LL_AirbaUDS", "", false);
DiagService1 = DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDataByIdentVWECUHardwVersiNumbe");
DiagCom.ExecuteDiagService(DiagService1, {}, {}, false, false, Result1);
Response1 = DiagCom.GetFirstResponse(Result1);
See also
GetAllResponses
IsPositive
GetResponseName
ExecuteDiagService
GetFirstResult