Delegate OnEventSafe
Messaging channel raw event notification (safe version with managed array).
Namespace: eBUSDotNetReceive
Assembly: eBUSDotNetReceive.dll
Syntax
public delegate void OnEventSafe(PvDevice aDevice, ushort aEventID, ushort aChannel, ulong aBlockID, ulong aTimestamp, byte[] aData)
Parameters
| Type | Name | Description |
|---|---|---|
| PvDevice | aDevice | Pointer to the PvDevice object that triggered the callback. |
| ushort | aEventID | Event ID. Some standard event IDs are defined but usually device dependent. |
| ushort | aChannel | Streaming channel associated with the event, if any. 0xFFFF is used if the event is not associated to a streaming channel. |
| ulong | aBlockID | Streaming block ID associated with the event, if any. Can be used to pair one or more than one event with a block received from a device. 0 is used if the event is not associated to a block. |
| ulong | aTimestamp | Timestamp of the event on the time domain of the device. Time unit is defined by the device. 0 if timestamps are not supported by the device that generated the event. |
| byte[] | aData | Event Data as a managed array. |