OTX Reference  
OpenTestSystem.Otx.Extensions.DiagCom.Terms.CreateDiagServiceBySemantic Class Reference

Create service via semantic More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DiagCom.Terms.CreateDiagServiceBySemantic:
Inheritance graph

Public Attributes

ComChannelTerm comChannel
 Comprises the handle of the communication channel (LogicalLink). More...
 
StringTerm semantic
 The semantic attribute of the diagnostic service to be created. Please note, that the communication channel (ComChannel) must be selected before you can adjust this value. 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

Create service via semantic

The CreateDiagServiceBySemantic term creates a handle to a diagnostic service that can subsequently be used for parameterizing or executing that service. The diagnostic service to be created is identified by its semantic attribute. The semantic attribute concept is defined by the ODX/MVCI standards, for example the diagnostic service used for clearing an ECUs fault memory has the semantic attribute FAULTCLEAR. As a result the activity returns a DiagService handle.

Exceptions
Exceptions.AmbiguousSemanticExceptionIt is thrown in case there are none or more than one DiagService present at the ComChannel with the semantic value specified by the <semantic> element.
Checker rules
CheckerRule.DiagCom_Chk100 – Access path can not be determined
CheckerRule.DiagCom_Chk101 – Access path can not be resolved
Syntax
DiagServiceTerm = DiagCom.CreateDiagServiceBySemantic(ComChanneTerm comChannel, StringTerm semantic);
StringTerm semantic
The semantic attribute of the diagnostic service to be created. Please note, that the communication c...
Definition: DiagCom.cs:3891
ComChannelTerm comChannel
Comprises the handle of the communication channel (LogicalLink).
Definition: DiagCom.cs:3881
Examples
// Local Declarations
DiagCom.DiagService DiagService1;
DiagCom.ComChannel ComChannel1;
// Flow
ComChannel1 = DiagCom.GetComChannel("LL_CentrElectUDS", "EV_BCMCONTI_009", false);
DiagService1 = DiagCom.CreateDiagServiceBySemantic(ComChannel1, "DEFAULT-FAULT-READ");

Member Data Documentation

◆ comChannel

ComChannelTerm OpenTestSystem.Otx.Extensions.DiagCom.Terms.CreateDiagServiceBySemantic.comChannel

Comprises the handle of the communication channel (LogicalLink).

◆ semantic

StringTerm OpenTestSystem.Otx.Extensions.DiagCom.Terms.CreateDiagServiceBySemantic.semantic

The semantic attribute of the diagnostic service to be created. Please note, that the communication channel (ComChannel) must be selected before you can adjust this value.