Difference between revisions of "Extensions.DiagCom.GetPdu"
Jump to navigation
Jump to search
m (Hb moved page GetPdu to Extensions.DiagCom.GetPdu: #3153) |
|||
Line 1: | Line 1: | ||
− | [[Category:DiagCom]] | + | {{DISPLAYTITLE:OTX '''GetPdu'''}}[[Category:DiagCom]] |
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetPdu | Byte stream of a request or a response | [[Term]] | [[DiagCom|OTX DiagCom extension]] | [[Request related terms]] | - | - }} | + | {{ClassificationActivity | GetPdu | Byte stream of a request or a response | [[Term]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[Request related terms]] | - | - }} |
== OTL Syntax == | == OTL Syntax == | ||
Line 11: | Line 11: | ||
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. | 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. | ||
− | {{TermReturnValue| [[ByteField]] | Request of diagnostic services.}} | + | {{TermReturnValue| [[Core.DataTypes.ComplexDataType.ByteField|ByteField]] | Request of diagnostic services.}} |
== Properties == | == Properties == | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| Message | [[Message]] | [[Term]] | - | [1] | [[Request]] or [[Response]].}} | + | {{TableRowPropertie1| Message | [[Extensions.DiagCom.Message|Message]] | [[Term]] | - | [1] | [[Extensions.DiagCom.Request|Request]] or [[Extensions.DiagCom.Response|Response]].}} |
|} | |} | ||
Line 34: | Line 34: | ||
== See also == | == See also == | ||
− | [[GetRequest]] | + | [[Extensions.DiagCom.GetRequest|GetRequest]] |
Revision as of 02:03, 15 February 2016
Contents
Classification
Name | GetPdu |
Short Description | Byte stream of a request or a response |
Class | Term |
Extension | OTX DiagCom extension |
Group | Request related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
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
Name | Data Type | Class | Default | Cardinality | Description |
Message | Message | Term | - | [1] | Request or Response. |
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);