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

Create service More...

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

Public Attributes

ComChannelTerm comChannel
 Comprises the handle of the communication channel (LogicalLink). More...
 
StringTerm name
 The ShortName 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

The CreateDiagServiceByName 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 name. As a result the activity returns a DiagService handle.

Note
In case a MVCI/ODX system is used, the name passed into the CreateDiagServiceByName term will be the SHORT-NAME of the associated MCDDiagComPrimitive object.
Exceptions
Exceptions.UnknownTargetExceptionIt is thrown if no DiagService with the name provided by the <name> element exists.
Checker rules
CheckerRule.DiagCom_Chk100 - Access path can not be determined
CheckerRule.DiagCom_Chk101 - Access path can not be resolved
Syntax
DiagServiceTerm = DiagCom.CreateDiagServiceByName(ComChannelTerm comChannel, StringTerm name);
StringTerm name
The ShortName of the diagnostic service to be created. Please note, that the communication channel (C...
Definition: DiagCom.cs:3816
ComChannelTerm comChannel
Comprises the handle of the communication channel (LogicalLink).
Definition: DiagCom.cs:3806
Examples
// Local Declarations
DiagCom.DiagService DiagService1;
DiagCom.ComChannel ComChannel1;
// Flow
ComChannel1 = DiagCom.GetComChannel("LL_CentrElectUDS", "EV_BCMCONTI_009", false);
DiagService1 = DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_WriteMemorByAddreMCD20001");

Member Data Documentation

◆ comChannel

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

Comprises the handle of the communication channel (LogicalLink).

◆ name

StringTerm OpenTestSystem.Otx.Extensions.DiagCom.Terms.CreateDiagServiceByName.name

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