Extensions.DiagCom.GetParameterValueAsInteger
Revision as of 07:09, 5 February 2016 by Hb (talk | contribs) (Hb moved page GetParameterValueAsInteger to Extensions.DiagCom.GetParameterValueAsInteger: #3153)
Contents
Classification
Name | GetParameterValueAsInteger |
Short Description | The actual value of the parameter as a Integer |
Class | Term |
Extension | OTX DiagCom extension |
Group | Parameter related terms |
Exceptions | TypeMismatchException |
Checker Rules | - |
Standard Compliant | Yes |
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