Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetIntervalUpperLimitAsString"

From emotive
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:OTX '''GetIntervalUpperLimitAsString'''}}Category:DiagDataBrowsingPlus == Classification == {{ClassificationActivity | GetIntervalUpperLimitAsString | UPDAT...")
 
Line 1: Line 1:
 
{{DISPLAYTITLE:OTX '''GetIntervalUpperLimitAsString'''}}[[Category:DiagDataBrowsingPlus]]
 
{{DISPLAYTITLE:OTX '''GetIntervalUpperLimitAsString'''}}[[Category:DiagDataBrowsingPlus]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | GetIntervalUpperLimitAsString | UPDATING... | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | UPDATING... | UPDATING... | UPDATING... }}
+
{{ClassificationActivity | GetIntervalUpperLimitAsString| Gets the upper limit of the [[Extensions.DiagDataBrowsingPlus.Interval|Interval]] | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus|Interval 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.GetIntervalUpperLimitAsString(IntervalTerm);
 
</syntaxhighlight>
 
</syntaxhighlight>
-->
 
  
 
== Description ==
 
== Description ==
UPDATING...<!--
+
'''GetIntervalUpperLimitAsString''' returns the upper limit of the text table element of the parameter as [[Core.DataTypes.SimpleDataType.String|string]].
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 MCDInterval::getUpperLimit::getValueAsString}}
{{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| [[Core.DataTypes.SimpleDataType.String|String]] | Returns the upper limit of the text table element of the parameter.}}
  
 
== Properties ==
 
== Properties ==
UPDATING...<!--
 
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| ComChannel | [[Extensions.DiagCom.ComChannel|ComChannel]] | [[Variable]] | - | [1] | Communication Channel (Control unit).}}
+
{{TableRowPropertie2| interval|[[Extensions.DiagDataBrowsingPlus.Interval|Interval]] | [[Term]] | - | [1..1] |The element addresses the '''Interval'''  (MCDInterval) which upper limit 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.Interval> List_Interval;
 +
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("AIRBAG", "", false), "DiagnServi_ClearDiagnInforSingle")), {"Dtc"});
// ...
+
DbParameter = DiagDataBrowsingPlus.GetParameterDbParameter(Parameter);
DiagCom.CloseComChannel(myComCannel);</syntaxhighlight>
+
List_Interval = DiagDataBrowsingPlus.GetDbParameterValidInternalIntervals(DbParameter);
 +
MyString = DiagDataBrowsingPlus.GetIntervalUpperLimitAsString(List_Interval[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.DiagDataBrowsingPlus.GetDbParameterValidInternalIntervals|GetDbParameterValidInternalIntervals]] <br/>
 +
[[Extensions.DiagDataBrowsingPlus.GetDbParameterValidPhysicalIntervals|GetDbParameterValidPhysicalIntervals]]

Revision as of 03:31, 20 September 2018

Classification

Name GetIntervalUpperLimitAsString
Short Description Gets the upper limit of the Interval
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group Interval related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

StringTerm = DiagDataBrowsingPlus.GetIntervalUpperLimitAsString(IntervalTerm);

Description

GetIntervalUpperLimitAsString returns the upper limit of the text table element of the parameter as string.

Icons Note.png NOTE — The appropriate MVCI system operation is MCDInterval::getUpperLimit::getValueAsString

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
String Returns the upper limit of the text table element of the parameter.

Properties

Name Data Type Class Default Cardinality Description
interval Interval Term - [1..1] The element addresses the Interval (MCDInterval) which upper limit shall be returned.

OTL Examples

DiagCom.Parameter Parameter;
DiagDataBrowsingPlus.DbParameter DbParameter;
List<DiagDataBrowsingPlus.Interval> List_Interval;
String MyString;

/// Flow

Parameter = DiagCom.GetParameterByPath(DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("AIRBAG", "", false), "DiagnServi_ClearDiagnInforSingle")), {"Dtc"});
DbParameter = DiagDataBrowsingPlus.GetParameterDbParameter(Parameter);
List_Interval = DiagDataBrowsingPlus.GetDbParameterValidInternalIntervals(DbParameter);
MyString = DiagDataBrowsingPlus.GetIntervalUpperLimitAsString(List_Interval[0]);

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
ExecuteDiagService
GetFirstResponse
GetRequest
GetParameterByPath
GetDbParameterValidInternalIntervals
GetDbParameterValidPhysicalIntervals