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

Gets the maximum length in bytes of the parameter or the maximum count of items. More...

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

Public Attributes

DbParameterTerm dbParameter
 Cardinality [1]
The parameter to return the maximum length in bytes or the maximum count of items. 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 maximum length in bytes of the parameter or the maximum count of items.

The GetDbParameterMaxLength term returns the maximum length in bytes of the parameter or the maximum count of items.

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

Exceptions
Exceptions.InvalidTypeExceptionIf the parameter type is one of BYTEFIELD, ASCIISTRING and UNICODE2STRING and the parameter has no length information
Syntax
IntegerTerm = DiagDataBrowsingPlus.GetDbParameterMaxLength(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.GetDbParameterMaxLength(DbParameter);

Member Data Documentation

◆ dbParameter

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

Cardinality [1]
The parameter to return the maximum length in bytes or the maximum count of items.

OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbParameterMaxLength.dbParameter
DbParameterTerm dbParameter
Cardinality [1] The parameter to return the maximum length in bytes or the maximum count of items.
Definition: DiagDataBrowsingPlus.cs:7392