Classification
OTL Syntax
StringTerm DiagDataBrowsingPlus.GetDbDiagServiceSemantic(DbDiagServiceTerm dbDiagService);
Description
GetDbDiagServiceSemantic returns the value of the semantic attribute for that DbDiagService out of the ODX file as a string. The semantic desribes the diagnosis class the service belongs to. e.g. IO_Control, Read, Write or VariantIdentification.
|
|
The appropriate MVCI system operation is MCDDbDiagComPrimitive::getSemantic
|
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 value of the semantic attribute for that DbDiagService out of the ODX file.
|
Properties
Name |
Data Type |
Class |
Default |
Cardinality |
Description
|
DbDiagService |
DbDiagService |
Term |
- |
[1..1] |
The element addresses the DbDiagService whose semantic attribute shall be returned.
|
OTL Examples
/// Local Declarations
DiagCom.ComChannel ComChannel;
DiagCom.DiagService DiagService;
DiagDataBrowsingPlus.DbDiagService DbDiagService;
String MyString;
/// Flow
ComChannel = DiagCom.GetComChannel("LL_GatewUDS", NULL, false);
DiagService = DiagCom.CreateDiagServiceByName(ComChannel, "DiagnServi_ReadDataByIdentActuaTestStatu");
DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService);
MyString = DiagDataBrowsingPlus.GetDbDiagServiceSemantic(DbDiagService);
See also
GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetDiagServiceDbDiagService
GetComChannelDbComChannel
GetDbComChannel
GetDbComChannelDbDiagServices