Description
Grabs a single frame into the internal memory. If the Display property is enabled, the frame will be automatically displayed in the control window.
Syntax
[VB]
objActiveGige.Grab
[C/C++]
HRESULT Grab();
Parameters
Return Values
Example
This VB example grabs a frame and saves it as a tiff file
Private Sub Form_Load()
ActiveGige1.Acquire=False
End Sub
Private Sub Button_Click()
ActiveGige1.Grab
ActiveGige1.SaveImage "image1.tif"
End Sub
Remarks
The Grab method will wait for the current frame to be acquired before returning. When the acquisition of the current frame is complete, the FrameAcquired event will be raised.
Note that the use of the Grab method is incompatible with the Acquire property set to TRUE. Make sure to set Acquire to FALSE when using Grab.