Module_Diag.GetDeviceDiagnosisInfo (METH)

METHOD GetDeviceDiagnosisInfo : DED.ERROR

Returns a DiagnosisInfo if xDiagnosisInfoAvailable of |IDevice.GetDeviceState| was true.

Note

The interpretation of pData is fieldbus dependent and will be specified by the associated fieldbus driver.

InOut:

Scope

Name

Type

Comment

Return

GetDeviceDiagnosisInfo

DED.ERROR

Input

pData

DED.CAA.PVOID

Pointer to memory

szSize

DED.CAA.SIZE

Size of memory in bytes where pData is pointing to

Output

szCount

DED.CAA.SIZE

Number of Bytes written to pData