OTX Reference  
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbParameterBitPos Class Reference

Gets the bit position of the parameter More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbParameterBitPos:
Inheritance graph

Public Attributes

DbParameterTerm dbParameter
 Cardinality [1]
The parameter to return the bit position. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Cardinality [0..1]
The MetaData type allows tools to store additional, mainly tool-specific data. More...
 

Detailed Description

Gets the bit position of the parameter

The GetDbParameterBitPos term returns the bit position of the parameter. The counting starts with 0. It returns the Bit where the parameter in the byte starts. The byte should be determined by GetDbParameterODXBytePos.

Note: The appropriate MVCI system operation is MCDDbParameter::getBitPos.

Syntax
IntegerTerm = DiagDataBrowsingPlus.GetDbParameterBitPos(DbParameterTerm dbParameter);
Examples
// Local Declarations
DiagCom.Result Result;
DiagCom.Response Response;
DiagCom.Parameter Parameter;
DiagDataBrowsingPlus.DbParameter DbParameter;
Integer MyInteger;
// 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);
MyInteger = DiagDataBrowsingPlus.GetDbParameterBitPos(DbParameter);

Member Data Documentation

◆ dbParameter

DbParameterTerm OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbParameterBitPos.dbParameter

Cardinality [1]
The parameter to return the bit position.

OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbParameterBitPos.dbParameter
DbParameterTerm dbParameter
Cardinality [1] The parameter to return the bit position.
Definition: DiagDataBrowsingPlus.cs:7684