Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetTextTableElementLongName"

From emotive
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:OTX '''GetTextTableElementLongName'''}}Category:DiagDataBrowsingPlus == Classification == {{ClassificationActivity | GetTextTableElementLongName | UPDATING....")
 
Line 1: Line 1:
 
{{DISPLAYTITLE:OTX '''GetTextTableElementLongName'''}}[[Category:DiagDataBrowsingPlus]]
 
{{DISPLAYTITLE:OTX '''GetTextTableElementLongName'''}}[[Category:DiagDataBrowsingPlus]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | GetTextTableElementLongName | UPDATING... | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | UPDATING... | UPDATING... | UPDATING... }}
+
{{ClassificationActivity | GetTextTableElementLongName| Gets the long name of the [[Extensions.DiagDataBrowsingPlus.TextTableElement|TextTableElement]]| [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus|TextTableElement related terms]] | NONE | - }}
  
 
== OTL Syntax ==
 
== OTL Syntax ==
UPDATING...<!--
 
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
DiagCom.CloseComChannel(ComChannelVariable);
+
StringTerm = DiagDataBrowsingPlus.GetTextTableElementLongName(TextTableElementTerm);
 
</syntaxhighlight>
 
</syntaxhighlight>
-->
 
  
 
== Description ==
 
== Description ==
UPDATING...<!--
+
'''GetTextTableElementLongName''' returns the LongName of the [[Extensions.DiagDataBrowsingPlus.TextTableElement|text table element]].
OTX CloseComChannel activity is used for the [[Diagnosis Runtime System]] to announce that an open communication channel that all relevant resources can be released and closed.
+
 
{{ComChannelMemoryUsageNote}}
+
{{Note|NOTE — The appropriate MVCI system operation is MCDTextTableElement::getLongName}}
{{Important|Please note that the use of a shared '''ComChannel''' can bring the OTX runtime system in an undefined state and that is this case is not validated at design time!}}
+
 
-->
+
{{TermReturnValue| [[Extensions.DiagDataBrowsingPlus.Interval|Interval]] | Returns the LongName of the [[Extensions.DiagDataBrowsingPlus.TextTableElement|text table element]].}}
  
 
== Properties ==
 
== Properties ==
UPDATING...<!--
 
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| ComChannel | [[Extensions.DiagCom.ComChannel|ComChannel]] | [[Variable]] | - | [1] | Communication Channel (Control unit).}}
+
{{TableRowPropertie2| TextTableElement|[[Extensions.DiagDataBrowsingPlus.TextTableElement|TextTableElement]] | [[Term]] | - | [1..1] |The element addresses the '''TextTableElement''' (MCDTextTableElement) which long name shall be returned.}}
 
|}
 
|}
-->
 
  
 
== OTL Examples ==
 
== OTL Examples ==
UPDATING...<!--
 
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
DiagCom.ComChannel myComCannel;
+
DiagCom.Parameter Parameter;
 +
DiagDataBrowsingPlus.DbParameter DbParameter;
 +
List<DiagDataBrowsingPlus.TextTableElement> List_TextTableElement;
 +
String MyString;
  
myComCannel = DiagCom.GetComChannel("DiagnosticsCan_ECU_1", null, false);
+
/// Flow
  
// Code example using the variable myComChannel
+
Parameter = DiagCom.GetParameterByPath(DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "DiagnServi_ReadDataByIdentECUIdent")), {"Param_RecorDataIdent"});
// ...
+
DbParameter = DiagDataBrowsingPlus.GetParameterDbParameter(Parameter);
DiagCom.CloseComChannel(myComCannel);</syntaxhighlight>
+
List_TextTableElement = DiagDataBrowsingPlus.GetDbParameterTextTableElements(DbParameter);
 +
MyString = DiagDataBrowsingPlus.GetTextTableElementLongName(List_TextTableElement[0]);
 
</syntaxhighlight>
 
</syntaxhighlight>
-->
 
  
 
== See also ==
 
== See also ==
UPDATING...
+
[[Extensions.DiagCom.GetComChannel|GetComChannel]] <br/>
 +
[[Extensions.DiagCom.CreateDiagServiceByName|CreateDiagServiceByName]] <br/>
 +
[[Extensions.DiagCom.CreateDiagServiceBySemantic|CreateDiagServiceBySemantic]] <br/>
 +
[[Extensions.DiagCom.ExecuteDiagService|ExecuteDiagService]] <br/>
 +
[[Extensions.DiagCom.GetFirstResponse|GetFirstResponse]] <br/>
 +
[[Extensions.DiagCom.GetRequest|GetRequest]] <br/>
 +
[[Extensions.DiagCom.GetParameterByPath|GetParameterByPath]] <br/>
 +
[[Extensions.DiagCom.GetParameterBySemantic|GetParameterBySemantic]] <br/>
 +
[[Extensions.DiagDataBrowsingPlus.GetParameterDbParameter|GetParameterDbParameter]] <br/>
 +
[[Extensions.DiagDataBrowsingPlus.GetDbParameterTextTableElements|GetDbParameterTextTableElements]]

Revision as of 09:11, 20 September 2018

Classification

Name GetTextTableElementLongName
Short Description Gets the long name of the TextTableElement
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group TextTableElement related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

StringTerm = DiagDataBrowsingPlus.GetTextTableElementLongName(TextTableElementTerm);

Description

GetTextTableElementLongName returns the LongName of the text table element.

Icons Note.png NOTE — The appropriate MVCI system operation is MCDTextTableElement::getLongName

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
Interval Returns the LongName of the text table element.

Properties

Name Data Type Class Default Cardinality Description
TextTableElement TextTableElement Term - [1..1] The element addresses the TextTableElement (MCDTextTableElement) which long name shall be returned.

OTL Examples

DiagCom.Parameter Parameter;
DiagDataBrowsingPlus.DbParameter DbParameter;
List<DiagDataBrowsingPlus.TextTableElement> List_TextTableElement;
String MyString;

/// Flow

Parameter = DiagCom.GetParameterByPath(DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "DiagnServi_ReadDataByIdentECUIdent")), {"Param_RecorDataIdent"});
DbParameter = DiagDataBrowsingPlus.GetParameterDbParameter(Parameter);
List_TextTableElement = DiagDataBrowsingPlus.GetDbParameterTextTableElements(DbParameter);
MyString = DiagDataBrowsingPlus.GetTextTableElementLongName(List_TextTableElement[0]);

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
ExecuteDiagService
GetFirstResponse
GetRequest
GetParameterByPath
GetParameterBySemantic
GetParameterDbParameter
GetDbParameterTextTableElements