Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbDiagServiceIsApiExecutable"
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;"> | ||
− | + | /// Local Declarations | |
+ | Boolean BooleanVariable = false; | ||
+ | /// Flow | ||
+ | BooleanVariable = DiagDataBrowsingPlus.GetDbDiagServiceIsApiExecutable(DbDiagServiceTerm); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 23: | Line 26: | ||
== OTL Examples == | == OTL Examples == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
+ | /// Local Declarations | ||
+ | |||
DiagCom.ComChannel ComChannel; | DiagCom.ComChannel ComChannel; | ||
DiagCom.DiagService DiagService; | DiagCom.DiagService DiagService; |
Revision as of 03:54, 24 October 2018
Contents
Classification
Name | GetDbDiagServiceIsApiExecutable |
Short Description | Checks the executable state of the DbDiagService |
Class | Term |
Extension | OTX DiagDataBrowsingPlus extension |
Group | DbDiagService related terms |
Exceptions | NONE |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
/// Local Declarations
Boolean BooleanVariable = false;
/// Flow
BooleanVariable = 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).
![]()
NOTE — The appropriate MVCI system operation is MCDDbDiagComPrimitive::isApiExecutable
Return Value
The Term returns the value, see table below.
![]()
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
/// Local Declarations
DiagCom.ComChannel ComChannel;
DiagCom.DiagService DiagService;
DiagDataBrowsingPlus.DbDiagService DbDiagService;
Boolean MyBoolean = false;
/// Flow
ComChannel = DiagCom.GetComChannel("LL_GatewUDS", NULL, false);
DiagService = DiagCom.CreateDiagServiceByName(ComChannel, "DiagnServi_ReadDataByIdentActuaTestStatu");
DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService);
MyBoolean = DiagDataBrowsingPlus.GetDbDiagServiceIsApiExecutable(DbDiagService);
See also
GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetDiagServiceDbDiagService
GetComChannelDbComChannel
GetDbComChannel
GetDbComChannelDbDiagServices