Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbComChannelProtocolType"
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 | |
+ | String StringVariable; | ||
+ | /// Flow | ||
+ | StringVariable = DiagDataBrowsingPlus.GetDbComChannelProtocolType(DbComChannelTerm); | ||
</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 | ||
+ | |||
String MyString; | String MyString; | ||
DiagDataBrowsingPlus.DbComChannel DbComChannel; | DiagDataBrowsingPlus.DbComChannel DbComChannel; |
Revision as of 03:38, 24 October 2018
Contents
Classification
Name | GetDbComChannelProtocolType |
Short Description | Gets the protocol type of the DbComChannel |
Class | Term |
Extension | OTX DiagDataBrowsingPlus Extension |
Group | DbComChannel related terms |
Exceptions | NONE |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
/// Local Declarations
String StringVariable;
/// Flow
StringVariable = DiagDataBrowsingPlus.GetDbComChannelProtocolType(DbComChannelTerm);
Description
GetDbComChannelProtocolType returns the protocol type as a string with the format as defined in the D-PDU API specification in version ISO 22900-2 [7], B.1 Standardized protocols - support and naming conventions (Table B.3 - Standard protocol short names in ODX and Table B.4 - OBD protocol shortnames). However, this table does only contain standardized names. In addition, vendor specific names can also be returned.
![]()
NOTE — The related MVCI system method is MCDDbLogicalLink::getProtocolType
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 protocol type as a string |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
dbComChannel | DbComChannel | Term | - | [1..1] | This element addresses the DbComChannel which protocol type shall be returned. |
OTL Examples
/// Local Declarations
String MyString;
DiagDataBrowsingPlus.DbComChannel DbComChannel;
/// Flow
DbComChannel = DiagDataBrowsingPlus.GetDbComChannel(NULL, "LL_AllEmissRelatUDSSyste");
MyString = DiagDataBrowsingPlus.GetDbComChannelProtocolType(DbComChannel);