Classification
OTL Syntax
StringTerm = DiagCom.GetParameterValueAsString(ParameterTerm);
Description
The GetParameterValueAsString term accepts a ParameterTerm and returns the actual value of the parameter as a String.
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 actual value of the parameter as a String.)
|
Properties
Name |
Data Type |
Class |
Default |
Cardinality |
Description
|
Parameter |
Parameter |
Term |
- |
[1] |
The parameter object.
|
OTL Examples
DiagCom.Request Request1;
DiagCom.Parameter Parameter1;
String ValueParamAsString;
DiagCom.ComChannel ComChannel1;
ComChannel1 = DiagCom.GetComChannel("LL_BatteEnergContrModulUDS", "", false);
Request1 = DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDataByIdentASAMODXFileIdent"));
Parameter1 = DiagCom.GetParameterByPath(Request1, {"Param_RecorDataIdent"});
ValueParamAsString = DiagCom.GetParameterValueAsString(Parameter1);
See also
GetParameterValueAsBoolean
GetParameterValueAsInteger
GetParameterValueAsFloat
GetParameterValueAsByteField
GetParameterValueAsQuantity