Difference between revisions of "Extensions.DiagCom.CreateDiagServiceBySemantic"

From emotive
Jump to navigation Jump to search
Line 10: Line 10:
 
== Description ==
 
== Description ==
 
The '''CreateDiagServiceBySemantic''' 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 a [[Semantic Attribute]] selected.
 
The '''CreateDiagServiceBySemantic''' 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 a [[Semantic Attribute]] selected.
 +
 +
{{TermReturnValue| [[DiagService]] | Generated Diagnostics Service.}}
  
 
== Properties ==
 
== Properties ==
Line 16: Line 18:
 
{{TableRowPropertie1| ComChannel | [[ComChannel]] | [[Term]] | - | [1] | Communication Channel.}}
 
{{TableRowPropertie1| ComChannel | [[ComChannel]] | [[Term]] | - | [1] | Communication Channel.}}
 
{{TableRowPropertie2| Semantic | [[String]] | [[Term]] | - | [1] | Semantic attribute to classify the diagnostic services (eg: "DEFAULT_FAULTREAD" or "IDENTIFICATION").}}
 
{{TableRowPropertie2| Semantic | [[String]] | [[Term]] | - | [1] | Semantic attribute to classify the diagnostic services (eg: "DEFAULT_FAULTREAD" or "IDENTIFICATION").}}
{{TableRowPropertie1| DiagService | [[DiagService]] | [[Return]] | - | - | Generated Diagnostics Service.}}
 
 
|}
 
|}
  

Revision as of 03:48, 17 July 2014

Classification

Name CreateDiagServiceBySemantic
Short Description Creates a diagnostic service through its semantic attribute
Class Term
Extension OTX DiagCom extension
Group DiagService related terms
Exceptions AmbiguousSemanticException
Checker Rules -
Standard Compliant Yes

Pseudo-Code Syntax

CreateDiagServiceBySemantic(ComChannel myComChannel, String semantic, DiagService result);

Description

The CreateDiagServiceBySemantic 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 a Semantic Attribute selected.

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.
Semantic String Term - [1] Semantic attribute to classify the diagnostic services (eg: "DEFAULT_FAULTREAD" or "IDENTIFICATION").

Examples

ComChannel myComCannel = GetComChannel("LL_AirbaUDS", "", false);
DiagService result = CreateDiagServiceBySemantic(myComCannel, "DEFAULT_FAULTREAD");

See also

GetDiagServiceListBySemantic
GetDiagServiceFromResult
GetDiagServiceFromException
GetDiagServiceName
ExecuteDiagService
GetComChannel