7.2.4 GetHistoricDiagnosis Method

The GetHistoricDiagnosis Method returns a LogEntries array with valid EventGoing field. Method invocation shall be possible for all users (read-only).

Signature

	GetHistoricDiagnosis (
		[in]  0:Byte					FaultSituationNumber,	
		[out] PtLogEntryDataType[]		HistoricLogEntries
	);
	
ArgumentDescription
FaultSituationNumberFault situation number the faults belong to. 0 identifies the current situation, 1 the historic situation preceding the current situation, and so on (see explanation below).
HistoricLogEntriesArray containing the log entries with valid EventGoing field entry. An empty array is returned if no logbook entry matches the filter criteria.

The Method Result Codes (defined in Call Service) are defined in Table 42.

Table 42 - Possible Method Result Codes
Result CodeDescription
GoodThe Method execution was successful.
Bad_InvalidArgumentThe fault situation specified by FaultSituationNumber does not exist.
Bad_UnexpectedErrorThe Server cannot execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.