Classification
OTL Syntax
IntegerTerm DiagDataBrowsingPlus.GetDbParameterBitLength(DbParameterTerm dbParameter);
Description
GetDbParameterBitLength returns the bit-length of the parameter in the PDU as defined in ODX.
|
|
The appropriate MVCI system operation is MCDDbParameter::getBitLength
|
Return Value
The Term returns the value, see table below.
|
|
In OTX, Terms are categorized according to its return data type!
|
Properties
Name |
Data Type |
Class |
Default |
Cardinality |
Description
|
DbParameter |
DbParameter |
Term |
- |
[1..1] |
The element addresses the DbParameter (MCDDbParameter) which bit length shall be returned.
|
OTL Examples
/// Local Declarations
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
GetComChannel
CreateDiagServiceByName
ExecuteDiagService
GetFirstResponse
GetRequest
GetParameterByPath
GetParameterDbParameter