Difference between revisions of "Extensions.DiagCom.ExecuteHexDiagService"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{DISPLAYTITLE:OTX '''ExecuteHexDiagService'''}}[[Category:DiagCom]] | {{DISPLAYTITLE:OTX '''ExecuteHexDiagService'''}}[[Category:DiagCom]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | ExecuteHexDiagService | | + | {{ClassificationActivity | ExecuteHexDiagService | Sends a diagnostic services as a byte stream. | [[Action]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[DiagService related actions]] | [[Core.Actions.Throw.Exception.LossOfComException|LossOfComException]] | - }} |
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | DiagCom.ExecuteHexDiagService( | + | DiagCom.ExecuteHexDiagService(ComChannelTerm, ByteFieldTerm, ByteFieldVariable); |
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 11:15, 10 October 2018
Classification
Name | ExecuteHexDiagService |
Short Description | Sends a diagnostic services as a byte stream. |
Class | Action |
Extension | OTX DiagCom extension |
Group | DiagService related actions |
Exceptions | LossOfComException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
DiagCom.ExecuteHexDiagService(ComChannelTerm, ByteFieldTerm, ByteFieldVariable);
Description
With the ExecuteHexDiagSevice activity a byte stream can be sent directly and without further processing to the control unit. 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 |
ComChannel | ComChannel | Term | - | [1] | Communication Channel (Control unit). |
HexRequest | ByteField | Term | - | [1] | Request PDU (z.B.: "18 00 FF FF"). |
HexResponse | ByteField | Variable | - | [0..1] | Request PDU (zB "FF 58 01 01 08"). |
OTL Examples
DiagCom.ComChannel myComCannel;
ByteField HexResponse1;
myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", "", false);
DiagCom.ExecuteHexDiagService(&1800FFF0, HexResponse1, myComCannel);