TableName.EventCount (Number of Storage Events for an Event)

The TableName.EventCount syntax is used to return the number of data storage events that have occurred for an event driven table.

Syntax

TableName.EventCount(1,1)

Remarks

The name of the DataTable is entered in place of the TableName parameter. TableName is limited to 20 characters. The number of data storage events that have occurred in the DataTable defined by the TableName parameter is returned.

The DataEvent instruction must appear in the DataTable declaration for EventCount to work. The event is registered in the datalogger after the DataEvent has ended and the value specified by RecAfter has been satisfied. 

For additional data table access functionality, see Data Table Access.