Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbParameterBitLength"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie2| dbParameter | [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] | [[Term]] | - | [1..1] |The element addresses the [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] ( | + | {{TableRowPropertie2| dbParameter | [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] | [[Term]] | - | [1..1] |The element addresses the [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] (MCDDbParameter) which bit length shall be returned.}} |
|} | |} | ||
Revision as of 09:00, 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);