OTX Reference  
OpenTestSystem.Otx.Extensions.DiagCom.DataTypes.DiagService Class Reference

Diagnostic Service More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DiagCom.DataTypes.DiagService:
Inheritance graph

Detailed Description

Diagnostic Service

A DiagService is a handle to an object representing a diagnostic service, e.g. a service for reading error codes. A DiagService handle can be used for performing a diagnostic service execution using the ExecuteDiagService action

Note
In case of a MVCI/ODX based system a DiagService handle represents a MCDDiagComPrimitive object.

Conversion terms
The following table shows the rules for conversion to another data type:

ConversionResultSample
ToBooleanUndefined (should not be used)
ToIntegerUndefined (should not be used)
ToFloatUndefined (should not be used)
ToStringReturns the name of the diagnostic serviceString s = ToString(diagServiceVariable); // Returns "DiagServiceName"
ToByteFieldUndefined (should not be used)

Sample

DiagCom.DiagService DiagServiceVariable;