Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbDiagServiceIsApiExecutable"

From emotive
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:OTX '''GetDbDiagServiceIsApiExecutable'''}}Category:DiagDataBrowsingPlus == Classification == {{ClassificationActivity | GetDbDiagServiceIsApiExecutable | U...")
 
Line 1: Line 1:
 
{{DISPLAYTITLE:OTX '''GetDbDiagServiceIsApiExecutable'''}}[[Category:DiagDataBrowsingPlus]]
 
{{DISPLAYTITLE:OTX '''GetDbDiagServiceIsApiExecutable'''}}[[Category:DiagDataBrowsingPlus]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | GetDbDiagServiceIsApiExecutable | UPDATING... | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | UPDATING... | UPDATING... | UPDATING... }}
+
{{ClassificationActivity | GetDbDiagServiceIsApiExecutable | Returns the information from the data base | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus|DbDiagService 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);
+
BooleanTerm = DiagDataBrowsingPlus.GetDbDiagServiceIsApiExecutable(DbDiagServiceTerm);
 
</syntaxhighlight>
 
</syntaxhighlight>
-->
 
  
 
== Description ==
 
== Description ==
UPDATING...<!--
+
'''GetDbDiagServiceIsApiExecutable''' returns the information from the data base, if this [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] is executable at the interface (True) or only within the D-System (False).
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 MCDDbDiagComPrimitive::isApiExecutable}}
{{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.Boolean|Boolean]] | returns the information from the data base, if this [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] is executable at the interface (True) or only within the D-System (False).}}
  
 
== Properties ==
 
== Properties ==
UPDATING...<!--
 
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| ComChannel | [[Extensions.DiagCom.ComChannel|ComChannel]] | [[Variable]] | - | [1] | Communication Channel (Control unit).}}
+
{{TableRowPropertie1| dbDiagService | [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] | [[Term]] | - | [1..1] | The element addresses the [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] whose executable state 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;
+
DiagDataBrowsingPlus.DbComChannel DbComChannel;
 +
List<DiagDataBrowsingPlus.DbDiagService> List_DbDiagService;
 +
Boolean Boolean1 = false;
  
myComCannel = DiagCom.GetComChannel("DiagnosticsCan_ECU_1", null, false);
+
/// Flow
  
// Code example using the variable myComChannel
+
DbComChannel = DiagDataBrowsingPlus.GetDbComChannel(NULL, "LL_AllEmissRelatUDSSyste");
// ...
+
List_DbDiagService = DiagDataBrowsingPlus.GetDbComChannelDbDiagServices(DbComChannel);
DiagCom.CloseComChannel(myComCannel);</syntaxhighlight>
+
Boolean1 = DiagDataBrowsingPlus.GetDbDiagServiceIsApiExecutable(List_DbDiagService[0]);
 
</syntaxhighlight>
 
</syntaxhighlight>
-->
+
 
  
 
== See also ==
 
== See also ==
UPDATING...
+
[[Extensions.DiagDataBrowsingPlus.GetComChannelDbComChannel|GetComChannelDbComChannel]] <br/>
 +
[[Extensions.DiagDataBrowsingPlus.GetDbComChannel|GetDbComChannel]] <br/>
 +
[[Extensions.DiagDataBrowsingPlus.GetDbComChannelDbDiagServices|GetDbComChannelDbDiagServices]]

Revision as of 05:00, 10 September 2018

Classification

Name GetDbDiagServiceIsApiExecutable
Short Description Returns the information from the data base
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group DbDiagService related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

BooleanTerm = DiagDataBrowsingPlus.GetDbDiagServiceIsApiExecutable(DbDiagServiceTerm);

Description

GetDbDiagServiceIsApiExecutable returns the information from the data base, if this DbDiagService is executable at the interface (True) or only within the D-System (False).

Icons Note.png NOTE — The appropriate MVCI system operation is MCDDbDiagComPrimitive::isApiExecutable

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
Boolean returns the information from the data base, if this DbDiagService is executable at the interface (True) or only within the D-System (False).

Properties

Name Data Type Class Default Cardinality Description
dbDiagService DbDiagService Term - [1..1] The element addresses the DbDiagService whose executable state shall be returned.

OTL Examples

DiagDataBrowsingPlus.DbComChannel DbComChannel;
List<DiagDataBrowsingPlus.DbDiagService> List_DbDiagService;
Boolean Boolean1 = false;

/// Flow

DbComChannel = DiagDataBrowsingPlus.GetDbComChannel(NULL, "LL_AllEmissRelatUDSSyste");
List_DbDiagService = DiagDataBrowsingPlus.GetDbComChannelDbDiagServices(DbComChannel);
Boolean1 = DiagDataBrowsingPlus.GetDbDiagServiceIsApiExecutable(List_DbDiagService[0]);


See also

GetComChannelDbComChannel
GetDbComChannel
GetDbComChannelDbDiagServices