Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbParameterBitLength"
Jump to navigation
Jump to search
Line 37: | Line 37: | ||
== See also == | == See also == | ||
+ | [[Extensions.DiagCom.GetComChannel|GetComChannel]] <br/> | ||
+ | [[Extensions.DiagCom.CreateDiagServiceByName|CreateDiagServiceByName]] <br/> | ||
+ | [[Extensions.DiagCom.ExecuteDiagService|ExecuteDiagService]] <br/> | ||
+ | [[Extensions.DiagCom.GetFirstResponse|GetFirstResponse]] <br/> | ||
[[Extensions.DiagCom.GetRequest|GetRequest]] <br/> | [[Extensions.DiagCom.GetRequest|GetRequest]] <br/> | ||
− | [[Extensions.DiagCom.GetParameterByPath|GetParameterByPath]]<br/> | + | [[Extensions.DiagCom.GetParameterByPath|GetParameterByPath]] <br/> |
[[Extensions.DiagDataBrowsingPlus.GetParameterDbParameter|GetParameterDbParameter]] | [[Extensions.DiagDataBrowsingPlus.GetParameterDbParameter|GetParameterDbParameter]] |
Revision as of 09:01, 13 September 2018
Contents
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.
![]()
NOTE — 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!
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 (MCDDbParameter) 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
GetComChannel
CreateDiagServiceByName
ExecuteDiagService
GetFirstResponse
GetRequest
GetParameterByPath
GetParameterDbParameter