Difference between revisions of "Extensions.DiagCom.GetComChannelEcuVariantName"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
{{ClassificationActivity | GetComChannelEcuVariantName | Calculated from a communication channel the name of the associated variant | [[Term]] | [[DiagCom|OTX DiagCom extension]] | [[ComChanel related terms]] | - | - }} | {{ClassificationActivity | GetComChannelEcuVariantName | Calculated from a communication channel the name of the associated variant | [[Term]] | [[DiagCom|OTX DiagCom extension]] | [[ComChanel related terms]] | - | - }} | ||
− | == | + | == OTL Syntax == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | DiagCom.GetComChannelEcuVariantName(ComChannelTerm); | |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 21: | Line 21: | ||
== Examples == | == Examples == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | ComChannel myComCannel = GetComChannel(" | + | DiagCom.ComChannel myComCannel; |
+ | String String1; | ||
+ | |||
+ | myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false); | ||
+ | String1 = DiagCom.GetComChannelEcuVariantName(myComCannel); | ||
String ecuVariantName = GetComChannelEcuVariantName(myComCannel); | String ecuVariantName = GetComChannelEcuVariantName(myComCannel); | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 04:20, 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
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. |
Examples
DiagCom.ComChannel myComCannel;
String String1;
myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false);
String1 = DiagCom.GetComChannelEcuVariantName(myComCannel);
String ecuVariantName = GetComChannelEcuVariantName(myComCannel);