Extensions.DiagCom.CreateDiagServiceByName

From emotive
Revision as of 03:47, 17 July 2014 by Nb (talk | contribs)
Jump to navigation Jump to search

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

Pseudo-Code Syntax

CreateDiagServiceByName(ComChannel myComChannel, String diagServiceName, DiagService result);

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).

Examples

ComChannel myComCannel = GetComChannel("LL_AirbaUDS", "", false);
DiagService result = CreateDiagServiceByName(myComCannel, "DiagServiceName");

See also

CreateDiagServiceBySemantic
GetDiagServiceListBySemantic
GetDiagServiceFromResult
GetDiagServiceFromException
GetDiagServiceName
ExecuteDiagService
GetComChannel