Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbParameterBitLength"

From emotive
Jump to navigation Jump to search
Line 9: Line 9:
  
 
== Description ==
 
== Description ==
'''GetDbParameterBitLength''' returns the bit-length of the parameter in the PDU as defined in ODX.
+
'''GetDbParameterBitLength''' returns the bit-length of the [[Extensions.DiagCom.Parameter|parameter]] in the PDU as defined in ODX.
  
 
{{Note|NOTE — The appropriate MVCI system operation is MCDDbParameter::getBitLength}}
 
{{Note|NOTE — The appropriate MVCI system operation is MCDDbParameter::getBitLength}}
  
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.Integer|Integer]] | Returns the bit-length of the parameter.}}
+
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.Integer|Integer]] | Returns the bit-length of the [[Extensions.DiagCom.Parameter|parameter]].}}
  
 
== Properties ==
 
== Properties ==

Revision as of 08:43, 12 September 2018

Classification

Name GetDbParameterBitLength
Short Description Gets the bit length of the DbParameter
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group DbParameter related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

IntegerTerm = DiagDataBrowsingPlus.GetDbParameterBitLength(DbParameterTerm);

Description

GetDbParameterBitLength returns the bit-length of the parameter in the PDU as defined in ODX.

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

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
Integer Returns the bit-length of the parameter.

Properties

Name Data Type Class Default Cardinality Description
dbParameter DbParameter Term - [1..1] The element addresses the DbParameter (MCDDbTableParameter) which bit length shall be returned.

OTL Examples

DiagCom.Request Request;
DiagCom.Parameter Parameter;
DiagDataBrowsingPlus.DbParameter DbParameter;
Integer MyInteger;

/// Flow

Request = DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "DiagnServi_ReadDataByIdentGatewCompoList"));
Parameter = DiagCom.GetParameterByPath(Request, {"Param_RecorDataIdent"});
DbParameter = DiagDataBrowsingPlus.GetParameterDbParameter(Parameter);
MyInteger = DiagDataBrowsingPlus.GetDbParameterBitLength(DbParameter);

See also

GetRequest
GetParameterByPath
GetParameterDbParameter