Difference between revisions of "Extensions.DiagCom.SetPdu"
Jump to navigation
Jump to search
m (Hb moved page SetPdu to Extensions.DiagCom.SetPdu: #3153) |
|||
Line 1: | Line 1: | ||
− | [[Category:DiagCom]] | + | {{DISPLAYTITLE:OTX '''SetPdu'''}}[[Category:DiagCom]] |
== Classification == | == Classification == | ||
− | {{ClassificationActivity | SetPdu | Set the PDU within a request | [[Action]] | [[DiagCom|OTX DiagCom extension]] | [[ComParameter related actions]] | - | - }} | + | {{ClassificationActivity | SetPdu | Set the PDU within a request | [[Action]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[ComParameter related actions]] | - | - }} |
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
Line 13: | Line 13: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| Request | [[Request]] | [[Term]] | - | [1] | Request object.}} | + | {{TableRowPropertie1| Request | [[Extensions.DiagCom.Request|Request]] | [[Term]] | - | [1] | Request object.}} |
− | {{TableRowPropertie2| Pdu | [[ByteField]] | [[Term]] | - | [1] | PDU (z.B.: "18 00 FF FF").}} | + | {{TableRowPropertie2| Pdu | [[Core.DataTypes.ComplexDataType.ByteField|ByteField]] | [[Term]] | - | [1] | PDU (z.B.: "18 00 FF FF").}} |
|} | |} | ||
Line 30: | Line 30: | ||
== See also == | == See also == | ||
− | [[GetComChannel]] <br/> | + | [[Extensions.DiagCom.GetComChannel|GetComChannel]] <br/> |
− | [[SetParameterValue]] <br/> | + | [[Extensions.DiagCom.SetParameterValue|SetParameterValue]] <br/> |
− | [[SetParameterValueBySemantic]] | + | [[Extensions.DiagCom.SetParameterValueBySemantic|SetParameterValueBySemantic]] |
Revision as of 08:43, 5 February 2016
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 |
OTL Syntax
DiagCom.SetPdu(Request, ByteFieldTerm);
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"). |
OTL Examples
DiagCom.ComChannel myComCannel;
DiagCom.DiagService myDiagService;
DiagCom.Request req;
myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false);
myDiagService = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentASAMODXFileIdent");
req = DiagCom.GetRequest(myDiagService);
DiagCom.SetPdu(req, &1800FF);