Event Log Query Status

This MotoHawk™ block is part of the Logging Blockset and allows the overall status of the Event Log to be determined.

Block ID

Event Log Status

Library

motohawk_logging_lib

Description

This MotoHawk™ block is part of the Logging Blockset and allows the overall status of the Event Log to be determined. Status reports how many events have been added over the lifetime of the Event Log along with how many events are available for reading via query.

Output Ports

Status (uint8)

A staus of [1](Log - OK) indicates that the recovered status data is valid.

A status of two or more indicates that the status was not recovered. The most likely reason for an error would be [9](Log - Not Created) that results when the status of an Event Log with a resource of (None) has been defined.

Total (uint32)

The total number of events have been added over the lifetime of the Event Log.

Available (uint32)

The number of events that can be recovered. An Event Log is circular and so older logged events can be discarded as new events are added.

Block Parameters

Parameter Field Values Comments/Description
Reference Event Log Name Single quote enclosed c-legal alpha-numeric text The name of the Event Log that is to report its status.