Classification
OTL Syntax
IntegerTerm = DiagCom.GetParameterValueAsInteger(ParameterTerm);
Description
The GetParameterValueAsInteger term accepts a ParameterTerm and returns the actual value of the parameter as a Integer.
Return Value
The Term returns the value, see table below.
|
|
In OTX, Terms are categorized according to its return data type!
|
Data Type |
Description
|
Interger |
The actual value of the parameter as a Interger.)
|
Properties
Name |
Data Type |
Class |
Default |
Cardinality |
Description
|
Parameter |
Parameter |
Term |
- |
[1] |
The parameter object.
|
OTL Examples
DiagCom.DiagService DiagService1;
DiagCom.Request Request1;
DiagCom.Parameter Parameter1;
Integer ValueAsInteger;
DiagCom.Comchannel ComChannel1;
ComChannel1 = DiagCom.GetComChannel("LL_BatteMonitContrModulUDS", "", false);
DiagService1 = DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDataByIdentASAMODXFileIdent");
Request1 = DiagCom.GetRequest(DiagService1);
Parameter1 = DiagCom.GetParameterByPath(Request1, {"Param_RequeServiId"});
ValueAsInteger = DiagCom.GetParameterValueAsInteger(Parameter1);
See also
GetParameterValueAsBoolean
GetParameterValueAsString
GetParameterValueAsFloat
GetParameterValueAsByteField
GetParameterValueAsQuantity