StopVideoCapture (DVR version only)
Top  Previous  Next

Description

Stops video capture to an AVI file.


Syntax


[VB]
objActiveGige.StopVideoCapture

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



Parameters

None  


Return Values


S_OK  
Success  
E_FAIL  
Failure  


Example


This VB example demonstrates how to capture the video to an AVI file with 0.5 sec time lapse between the frames.

Private Sub
LoadForm()

ActiveGige1.CreateVideo "c:\\mycapture.avi"
ActiveGige1.Acquire = True

End Sub


Private Sub StartButton_Click()
ActiveGige1.StartVideoCapture 0, 0.5
End Sub


Private Sub
StopButton_Click()
ActiveGige1.StopVideoCapture

End Sub



Remarks

Use this method to end the video capture initiated by StartVideoCapture. The CaptureCompleted event will be raised when this method is called.