Difference between revisions of "Extensions.DiagCom.SetPdu"
Jump to navigation
Jump to search
(Created page with "Category:DiagCom == Classification == {{ClassificationActivity | SetPdu | Set the PDU within a request | Action | OTX DiagCom extension | ComParameter re...") |
|||
Line 28: | Line 28: | ||
[[GetComChannel]] <br/> | [[GetComChannel]] <br/> | ||
[[SetParameterValue]] <br/> | [[SetParameterValue]] <br/> | ||
− | [[ | + | [[SetParameterValueBySemantic]] |
Revision as of 09:49, 15 July 2014
Classification
Name | SetPdu |
Short Description | Set the PDU within a request |
Class | Action |
Extension | OTX DiagCom extension |
Group | ComParameter related actions |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
Pseudo-Code Syntax
SetPdu(Request req, ByteField pdu);
Description
With the SetPdu activity a request can be passed directly without further processing a byte stream. 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.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Request | Request | Term | - | [1] | Request object. |
Pdu | ByteField | Term | - | [1] | PDU (z.B.: "18 00 FF FF"). |
Examples
ComChannel myComCannel = GetComChannel("LL_AllEmissRelatUDSSyste", "", false);
Request req = GetRequest(CreateDiagServiceByName(myComCannel,"DiagnServi_ReadDataByIdentActuaTestStatu"));
SetPdu(req, $18 00 FF FF);