Extensions.DiagDataBrowsingPlus.IsFloatParameter
Jump to navigation
Jump to search
Contents
Classification
Name | IsFloatParameter |
Short Description | Checks whether the diag:Parameter is of data type Float or not |
Class | Term |
Extension | OTX DiagDataBrowsingPlus extension |
Group | Parameter related terms |
Exceptions | NONE |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
BooleanTerm DiagDataBrowsingPlus.IsFloatParameter(ParameterTerm parameter);
Description
IsFloatParameter returns True whether the value of this diag:Parameter is of data type Float (FLOAT32, FLOAT64). In all other cases it returns False.
The appropriate MVCI system operation is MCDParameter::getDataType
This term is introduced to complete the existing terms in the DiagDataBrowsing extension (ISO 13209 Part-3 [3]) that uses ParameterTerms. This completion primarily enables a generically interpretation of responses by using runtime parameters without using DbParameters.
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 whether the value of this diag:Parameter is of data type Float. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Parameter | Parameter | Term | - | [1..1] | The element addresses the diag:Parameter (MCDParameter) which is checked whether it is of data type Float or not. |
OTL Examples
/// Local Declarations
DiagCom.Result Result;
DiagCom.Response Response;
DiagCom.Parameter Parameter;
Boolean MyBoolean;
/// Flow
[#MetaData(RequestPdu), <#Data>22 2A 19</#Data>]
DiagCom.ExecuteDiagService(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "EV_GatewLear_006", false), "DiagnServi_ReadDataByIdentMeasuValue"), {Param_RecorDataIdent = "stall current measurement value"}, {}, Result, NULL, false, false);
Response = DiagCom.GetFirstResponse(Result);
Parameter = DiagCom.GetParameterByPath(Response, {"Param_DataRecor", "Param_StallCurreMeasuValue", "Case_MeasuValue", "Param_Ruhes"});
MyBoolean = DiagDataBrowsingPlus.IsFloatParameter(Parameter);
See also
GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
ExecuteDiagService
GetFirstResponse
GetRequest
GetParameterByPath
GetParameterBySemantic