Difference between revisions of "Extensions.DiagCom.CreateDiagServiceByName"

From emotive
Jump to navigation Jump to search
(No difference)

Revision as of 07:03, 5 February 2016

Classification

Name CreateDiagServiceByName
Short Description Creates a diagnostic service on its behalf
Class Term
Extension OTX DiagCom extension
Group DiagService related terms
Exceptions UnknownTargetException
Checker Rules -
Standard Compliant Yes

OTL Syntax

DiagServiceTerm = DiagCom.CreateDiagServiceByName(ComChannelTerm, StringTerm);

Description

The CreateDiagServiceByName term creates a handle to a diagnostic service, which can be used for further parameterization or for direct ship, see Diagnostic Runtime System. The diagnostic service is selected by its name.

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
DiagService Generated Diagnostics Service.

Properties

Name Data Type Class Default Cardinality Description
ComChannel ComChannel Term - [1] Communication Channel.
Name String Term - [1] Name des Diagnoseservices (SHORT-NAME).

OTL Examples

DiagCom.ComChannel myComCannel;
DiagCom.DiagService DiagService1;

myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false);
DiagService1 = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentActuaTestStatu");

See also

CreateDiagServiceBySemantic
GetDiagServiceListBySemantic
GetDiagServiceFromResult
GetDiagServiceFromException
GetDiagServiceName
ExecuteDiagService
GetComChannel