Extensions.DiagCom.GetParameterSemantic
Jump to navigation
Jump to search
Contents
Classification
Name | GetParameterSemantic |
Short Description | Gets the semantic attribute value of the Parameter. |
Class | Term |
Extension | OTX DiagCom extension |
Group | Parameter related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
StringTerm DiagCom.GetParameterSemantic(ParameterTerm parameter);
Description
The GetParameterSemantic term accepts a ParameterTerm and returns the semantic attribute value of the Parameter.
In case a MVCI/ODX system is used it returns the semantic attribute of the corresponding MCDParameter object.
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 | The semantic attribute of the parameter. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Parameter | Parameter | Term | - | [1] | The ParameterTerm whose semantic attribute will be returned. |
OTL Examples
/// Local Declarations
DiagCom.Request Request1;
String String1 = "";
DiagCom.ComChannel ComChannel1;
DiagCom.Parameter Parameter1;
/// Flow
ComChannel1 = DiagCom.GetComChannel("LL_GatewUDS", "EV_GatewLear_006", false);
Request1 = DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDataByIdentVWSlaveCodinValue"));
Parameter1 = DiagCom.GetParameterByPath(Request1, {"Param_RequeServiId"});
String1 = DiagCom.GetParameterSemantic(Parameter1);
See also
GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetRequest
ExecuteDiagService
GetFirstResponse
GetAllResponses
GetParameterBySemantic
GetParameterByPath
GetParameterAsList