Peripheral Devices
9836 3521 01 565
8.14.4.32 GetEventEx
Description: Call this method to read the next Event from the FIFO queue for the API device.
The FIFO queue can hold max 200 events. If overflowed then the oldest event is
overwritten. Once an event has been read by a call to this method it cannot be read again.
If the queue is empty when called then eRetNoData is returned.
Return type: A RetCodeEnum value.
Syntax: object.GetEvent(DataNo, SeqNo, Ts, Code, Typ, Stn, Blt, Pgm, Str)
The Api object to operate on.
A device unique sequence number. This number is
incremented by one for each event reported over this
device.
A global sequence number. This number is incremented
by one for each event generated by the system.
Date and time for event. Expressed as no of seconds
since 1970-01-01 00:00:00
Event code, see List of events for possible values.
Event type, see View Event Log.
Station on which the event occurred, 0 if not relevant
Bolt for which the event occurred, 0 if not relevant
Tightening program connected to the event, 0 if not
relevant
Event string in the language configured using ToolsTalk
PowerMACS.
The Severity of the event.
8.14.4.33 GetEventObj
Description: This method is similar to GetEventEx but returns data packed in an object.
Return type: A RetCodeEnum value.
Syntax: object.GetEventObj(EventObj)
The Api object to operate on.
Object which contains all event data.