diagInitialize
Valid for: CANoe DEFunction Syntax
Method Syntax
Description
Reinitializes the object for the given service or primitive. Diagnostics request will be initialized with the default request parameters of the service, while diagnostic responses will be initialized with the default parameters of the first or specified primitive of the service. If the service is not defined, or the primitive is not defined at the given service, nothing happens and an error code is returned. Note:- The data contained in the primitive is overwritten by a successful call of this function!
- Please refer to diagnostic descriptions with overloaded responses for details on services defining more than one response.
Parameters
- object: Diagnostics object to re-initialize
- serviceQualifier: Qualifier of the service that should be used for reinterpretation
- primitiveQualifier: Qualifier of the service primitive that should be used for reinterpretation
Return Values
- 0: No error, OK
< 0: Error code