Extensions.DiagCom.DiagService
Jump to navigation
Jump to search
Classification
Name | DiagService |
Short Description | Diagnostic Service |
Class | Simple Data Type |
Base Data Type | ComplexType |
Default Value | Empty |
Provide a Literal | No |
SpecifiedBy | ISO 13209-3 |
Standard Compliant | Yes |
Description
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.
In case of a MVCI/ODX based system a DiagService handle represents a MCDDiagComPrimitive object.
Core Conversion
The following table shows the rules for conversion to another data type:
Conversion | Result | Sample |
ToBoolean | Undefined (should not be used) | |
ToInteger | Undefined (should not be used) | |
ToFloat | Undefined (should not be used) | |
ToString | Returns the name of the diagnostic service | String s = ToString(diagServiceVariable); // Returns "DiagServiceName" |
ToByteField | Undefined (should not be used) |
Sample
DiagCom.DiagService DiagServiceVariable;