EventMessage
|
![]() ![]() ![]() |
eventID: long
|
blockID: long
|
timestamp: double
|
channelIndex: long
|
eventID
|
The 16-bit even identifier.
|
blockID
|
The 16-bit identifier of the data block associated with the event. 0 if there is no data block association.
|
timestamp
|
The timestamp representing the time at which the event was fired by the camera.
|
channelIndex
|
The index of the stream channel associated with the event.
|
|
S_OK
|
Success
|
E_FAIL
|
Failure.
|
Private Sub Form_Load()
|
ActiveGige1.SetFeatureString("EventNotification","On")
|
ActiveGige1.Acquire = True
|
End Sub
|
|
Private Sub ActiveGige1_EventMessage(ByVal eventID as long, ByVal blockID as long, ByVal timestamp as double, ByVal channelIndex as long)
|
LabelEventID.Caption=eventID
|
LabelBlockID.Caption=blockID
|
LabelTimestamp.Caption=timestamp
|
End Sub
|
|
|
|