FrameRecorded
Top  Previous  Next

Description

This event is fired each time a frame has been added to a memory sequence (StartSequenceCapture) or video file (StartCapture). It is also fired when an image file has been saved (SaveImage, SaveBkg).


Syntax


[VB]
Private Sub objActiveGige_FrameRecorded(ByVal Frame As Long)


[C/C++]
HRESULT Fire_FrameRecorded();


Data Types
[VB]

Frame: long  


Parameters
[C/C++]

Frame  
      The zero-based index of the last recorded frame.


Return Values


S_OK  
Success  
E_FAIL  
Failure.  


Example


This VB example uses the FrameRecorded event to update a sequence frame counter:

Private Sub ActiveGige1_FrameRecorded(ByVal Frame As Long)  
Label1.Caption = Frame  
End Sub  
 

Remarks