Classification
OTL Syntax
ByteFieldTerm = DiagCom.GetPdu(RequestTerm);
Description
The GetPdu term returns the byte stream of a request or a response. The byte stream is referred to as PDU (Protocol Data Unit). The PDU contains the entire block starting with the service identifier (SID), but without header and checksum.
Return Value
The Term returns the value, see table below.
|
|
In OTX, Terms are categorized according to its return data type!
|
Data Type |
Description
|
ByteField |
Request of diagnostic services.
|
Properties
OTL Examples
DiagCom.ComChannel myComCannel;
DiagCom.DiagService DiagService1;
DiagCom.Request Request1;
ByteField ByteField1;
myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false);
DiagService1 = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentActuaTestStatu");
DiagCom.ExecuteDiagService(DiagService1, {}, {}, false, false);
Request1 = DiagCom.GetRequest(DiagService1);
ByteField1 = DiagCom.GetPdu(Request1);
See also
GetRequest