Difference between revisions of "Extensions.DiagCom.ComChannel"
Jump to navigation
Jump to search
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:Data Type '''ComChanel'''}}[[Category:DataType]][[Category:DiagCom]] | {{DISPLAYTITLE:Data Type '''ComChanel'''}}[[Category:DataType]][[Category:DiagCom]] | ||
== Classification == | == Classification == | ||
| − | {{ClassificationDataType | ComChanel | | + | {{ClassificationDataType | ComChanel | Communication Channel | [[Core.DataTypes.ComplexDataType|Complex Data Type]] | [[Core.DataTypes.ComplexDataType.ComplexType|ComplexType]] }} |
== Description == | == Description == | ||
| Line 11: | Line 11: | ||
String=Returns the name of the communication channel | StringSample=<tt>String s = ToString(comChannelVariable); // Returns "ComChannelName"</tt> | String=Returns the name of the communication channel | StringSample=<tt>String s = ToString(comChannelVariable); // Returns "ComChannelName"</tt> | ||
}} | }} | ||
| + | |||
| + | ==Sample== | ||
| + | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
| + | DiagCom.ComChannel ComChannelVariable; | ||
| + | </syntaxhighlight> | ||
Latest revision as of 08:34, 22 October 2018
Classification
| Name | ComChanel |
| Short Description | Communication Channel |
| Class | Complex Data Type |
| Base Data Type | ComplexType |
| Default Value | Empty |
| Provide a Literal | No |
| SpecifiedBy | ISO 13209-3 |
| Standard Compliant | Yes |
Description
A ComChannel is a handle to a communication channel. It represents the concept of linking to one specific communication endpoint, e.g. an ECU module (physical addressing) or a set of ECU modules (functional addressing).
![]()
In case of a MVCI/ODX based system a ComChannelhandle points to a MCDDLogicalLinkobject.
Core Conversion
The following table shows the rules for conversion to another data type:
| Conversion | Result | Sample |
| ToBoolean | Undefined (should not be used) | |
| ToInteger | Undefined (should not be used) | |
| ToFloat | Undefined (should not be used) | |
| ToString | Returns the name of the communication channel | String s = ToString(comChannelVariable); // Returns "ComChannelName" |
| ToByteField | Undefined (should not be used) |
Sample
DiagCom.ComChannel ComChannelVariable;