Classification
OTL Syntax
BooleanTerm DiagDataBrowsing.IsNumericParameter(ParameterTerm Parameter);
Description
IsNumericParameter will return TRUE if and only if the given parameter represents a numeric value according to its definition in the diagnostic data base.
|
|
NOTE — In the case of a MVCI/ODX based system, it returns True whether the value of this parameter is of one of the following MCDDataType: eA_FLOAT32, eA_FLOAT64, eA_INT16, eA_INT32, eA_INT64, eA_INT8, eA_UINT16, eA_UINT32, eA_UINT64, eA_UINT8, eDTC, eEND_OF_PDU, eENVDATA, eENVDATADESC, eFIELD, eMULTIPLEXER, eSTRUCTURE, eLENGTHKEY, eTABLE_ROW.
|
Return Value
The Term returns the value, see table below.
|
|
In OTX, Terms are categorized according to its return data type!
|
Data Type |
Description
|
Boolean |
Returns TRUE if exactly then the specified parameter is a Numeric value as defined in the diagnostic database
|
Properties
Name |
Data Type |
Class |
Default |
Cardinality |
Description
|
Parameter |
Parameter |
Term |
- |
[1] |
The element addresses the name of the request or response parameter to be type-tested.
|
OTL Examples
/// Local Declarations
DiagCom.ComChannel ComChannel1;
DiagCom.DiagService DiagService1;
DiagCom.Parameter Parameter1;
DiagCom.Request Request1;
Boolean Boolean1 = false;
List<String> List1;
/// Flow
ComChannel1 = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", NULL, false);
DiagService1 = DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDataByIdentActuaTestStatu");
List1 = DiagDataBrowsing.GetRequestParameterList(DiagService1);
Request1 = DiagCom.GetRequest(DiagService1);
Parameter1 = DiagCom.GetParameterByPath(Request1, {List1[0]});
Boolean1 = DiagDataBrowsing.IsNumericParameter(Parameter1);
See also
IsStringParameter
IsBooleanParameter
IsByteFieldParameter
IsComplexParameter