Difference between revisions of "Extensions.DiagDataBrowsingPlus.IsDbParameterConstant"

From emotive
Jump to navigation Jump to search
Line 1: Line 1:
 
{{DISPLAYTITLE:OTX '''IsDbParameterConstant'''}}[[Category:DiagDataBrowsingPlus]]
 
{{DISPLAYTITLE:OTX '''IsDbParameterConstant'''}}[[Category:DiagDataBrowsingPlus]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | IsDbParameterConstant| Checks whether the [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] is constant or not| [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus|DbParameter related terms]] | NONE | - }}
+
{{ClassificationActivity | IsDbParameterConstant| Checks whether the [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] is constant or not| [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus#Terms|DbParameter related terms]] | NONE | - }}
  
 
== OTL Syntax ==
 
== OTL Syntax ==

Revision as of 02:09, 21 September 2018

Classification

Name IsDbParameterConstant
Short Description Checks whether the DbParameter is constant or not
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group DbParameter related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

BooleanTerm= DiagDataBrowsingPlus.IsDbParameterConstant(DbParameterTerm);

Description

IsDbParameterConstant returns True if the parameter is of ODX type CODED-CONST or PHYS-CONST otherwise False.

Icons Note.png NOTE — The appropriate MVCI system operation is MCDDbParameter::isConstant

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
Boolean Returns True if the parameter is of ODX type CODED-CONST or PHYS-CONST

otherwise False.

Properties

Name Data Type Class Default Cardinality Description
dbParameter DbParameter Term - [1..1] The element addresses the DbParameter (MCDDbParameter) which shall be checked whether if it is constant or not.

OTL Examples

DiagCom.Result Result;
DiagCom.Response Response;
DiagCom.Parameter Parameter;
DiagDataBrowsingPlus.DbParameter DbParameter;
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"});
DbParameter = DiagDataBrowsingPlus.GetParameterDbParameter(Parameter);
MyBoolean= DiagDataBrowsingPlus.IsDbParameterConstant(DbParameter);

See also

GetComChannel
CreateDiagServiceByName
ExecuteDiagService
GetFirstResponse
GetParameterByPath
GetParameterDbParameter