Event Log Query Next

This MotoHawk™ block is part of the Logging Blockset and allows an existing query to be continued.

Block ID

Event Log Query Next

Library

motohawk_logging_lib

Description

Overview

This MotoHawk™ block is part of the Logging Blockset and allows an existing query to be continued. Typical usage is to initiate a query, then poll the result block for a non-zero status and then use this block to continue the query and recover the next event from the log. This process would continue until sufficient data has been recovered or there is no more data to recover (typically indicated by the result block returning a status greater than one).

Output Ports

Status (uint8)

A status of [0](Log - Busy) indicates that the previous query is still underway. Try again later.

A staus of [1](Log - OK) indicates that the next query was scheduled to occur.

A status of two or more indicates that the query was not scheduled because of an error. The value indicates the type of error.

A common error would be [10]](Log - Bad Handle) that results when a next query is attempted on a query that has not yet been initiated or that has already been freed.

Block Parameters

Parameter Field Values Comments/Description
Query Name Single quote enclosed c-legal alpha-numeric text The name of the query that is to be continued.

The name is assigned by the Event Log Query Initiate block.