Delegate OnEvent
Messaging channel raw event notification.
Namespace: eBUSDotNetReceive
Assembly: eBUSDotNetReceive.dll
Syntax
public delegate void OnEvent(PvDevice aDevice, ushort aEventID, ushort aChannel, ulong aBlockID, ulong aTimestamp, byte[] aData, uint aDataLength)
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 | Pointer to Event Data, if applicable. NULL otherwise. |
| uint | aDataLength | Data length, in bytes. |