Difference between revisions of "Extensions.DiagCom.GetComChannelEcuVariantName"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | DiagCom.GetComChannelEcuVariantName(ComChannelTerm); | + | StringTerm = DiagCom.GetComChannelEcuVariantName(ComChannelTerm); |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 19: | Line 19: | ||
|} | |} | ||
− | == Examples == | + | == OTL Examples == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
DiagCom.ComChannel myComCannel; | DiagCom.ComChannel myComCannel; |
Revision as of 06:24, 5 February 2015
Contents
Classification
Name | GetComChannelEcuVariantName |
Short Description | Calculated from a communication channel the name of the associated variant |
Class | Term |
Extension | OTX DiagCom extension |
Group | ComChanel related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
StringTerm = DiagCom.GetComChannelEcuVariantName(ComChannelTerm);
Description
About the GetComChannelEcuVariantName term can be the name of the ECU variant that is associated with a communication channel to be determined. This makes sense to look for a Variant Identification to get the name of the variant.
Return Value
The Term returns the value, see table below.
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
String | Returns the name of the ECU variant. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
ComChannel | ComChannel | Term | - | [1] | Communication channel. |
OTL Examples
DiagCom.ComChannel myComCannel;
String String1;
myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false);
String1 = DiagCom.GetComChannelEcuVariantName(myComCannel);
String ecuVariantName = GetComChannelEcuVariantName(myComCannel);