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

Check this parameter is of data type DiagTroubleCode (eDTC) or not. More...

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

Public Attributes

ParameterTerm parameter
 Cardinality [1]
This element addresses the diag:Parameter (MCDParameter) which is checked to determine if it is of data type DiagTroubleCode or not. 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

Check this parameter is of data type DiagTroubleCode (eDTC) or not.

The IsDiagTroubleCodeParameter term returns TRUE if the value of this diag:Parameter is of data type DiagTroubleCode (eDTC). In all other cases it returns FALSE.

Note: The appropriate MVCI system operation is MCDParameter::getDataType.

Syntax
BooleanTerm = DiagDataBrowsingPlus.IsDiagTroubleCodeParameter(ParameterTerm parameter);
Examples
// Local Declarations
DiagCom.ComChannel ComChannel1;
DiagCom.Parameter Parameter1;
DiagCom.Result Result1;
Boolean Boolean1;
// Flow
ComChannel1 = DiagCom.GetComChannel("LL_GatewUDS");
DiagCom.ExecuteDiagService(DiagCom.CreateDiagServiceByName(ComChannel1, "AUTOSAR_Identification_ReadDataByIdent"), {}, {}, Result1, NULL, false, false);
Parameter1 = DiagCom.GetParameterByPath(DiagCom.GetFirstResponse(Result1), { "DataRecord"});
Boolean1 = DiagDataBrowsingPlus.IsDiagTroubleCodeParameter(Parameter1);
DiagCom.CloseComChannel(ComChannel1);

Member Data Documentation

◆ parameter

ParameterTerm OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.IsDiagTroubleCodeParameter.parameter

Cardinality [1]
This element addresses the diag:Parameter (MCDParameter) which is checked to determine if it is of data type DiagTroubleCode or not.

OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.IsDiagTroubleCodeParameter.parameter
ParameterTerm parameter
Cardinality [1] This element addresses the diag:Parameter (MCDParameter) which is checked to determin...
Definition: DiagDataBrowsingPlus.cs:9160