Difference between revisions of "Extensions.DiagCom.ExecuteHexDiagService"
Jump to navigation
Jump to search
m (Hb moved page ExecuteHexDiagService to Extensions.DiagCom.ExecuteHexDiagService: #3153) |
|||
Line 1: | Line 1: | ||
− | [[Category:DiagCom]] | + | {{DISPLAYTITLE:OTX '''ExecuteHexDiagService'''}}[[Category:DiagCom]] |
== Classification == | == Classification == | ||
− | {{ClassificationActivity | ExecuteHexDiagService | Direct send a diagnostic services as a byte stream. | [[Action]] | [[DiagCom|OTX DiagCom extension]] | [[DiagService related actions]] | [[LossOfComException]] | - }} | + | {{ClassificationActivity | ExecuteHexDiagService | Direct send a diagnostic services as a byte stream. | [[Action]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[DiagService related actions]] | [[Extensions.DiagCom.LossOfComException|LossOfComException]] | - }} |
== OTL Syntax == | == OTL Syntax == | ||
Line 14: | Line 14: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| ComChannel | [[ComChannel]] | [[Term]] | - | [1] | Communication Channel (Control unit).}} | + | {{TableRowPropertie1| ComChannel | [[Extensions.DiagCom.ComChannel|ComChannel]] | [[Term]] | - | [1] | Communication Channel (Control unit).}} |
− | {{TableRowPropertie2| HexRequest | [[ByteField]] | [[Term]] | - | [1] | Request PDU (z.B.: "18 00 FF FF").}} | + | {{TableRowPropertie2| HexRequest | [[Core.DataTypes.ComplexDataType.ByteField|ByteField]] | [[Term]] | - | [1] | Request PDU (z.B.: "18 00 FF FF").}} |
− | {{TableRowPropertie1| HexResponse | [[ByteField]] | [[Variable]] | - | [0..1] | Request PDU (zB "FF 58 01 01 08").}} | + | {{TableRowPropertie1| HexResponse | [[Core.DataTypes.ComplexDataType.ByteField|ByteField]] | [[Variable]] | - | [0..1] | Request PDU (zB "FF 58 01 01 08").}} |
|} | |} | ||
Line 29: | Line 29: | ||
== See also == | == See also == | ||
− | [[GetComChannel]]<br /> | + | [[Extensions.DiagCom.GetComChannel|GetComChannel]]<br /> |
− | [[ExecuteDiagService]] | + | [[Extensions.DiagCom.ExecuteDiagService|ExecuteDiagService]] |
Revision as of 08:14, 5 February 2016
Classification
Name | ExecuteHexDiagService |
Short Description | Direct send 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(ByteFieldTerm, ByteFieldTerm, ComChannelTerm);
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);