int FLIGrabFrame

(flicam_t cam, void* buff, size_t buffsize,
  size_t* bytesgrabbed)

Grab a frame.

Documentation

Grab a frame. This function grabs a complete frame (image) according to the settings (image area, exposure time, bit depth, etc.) of virtual camera cam. Up to buffsize bytes of the grabbed image are placed into the buffer pointed to by buff, and the actual number of bytes grabbed is placed in the location pointed to by bytesgrabbed. The settings of cam must be valid for the physical camera device cam represents. They are set by calling the appropriate set library function. This function returns after the frame has been exposed and the image is acquired. This includes starting the exposure, waiting until the exposure is complete, flushing rows above the image area, grabbing all rows of the image, and flushing any remaining rows below the image.

Parameters:
cam - Virtual camera to grab frame of.
buff - Pointer to where the grabbed frame will be placed.
buffsize - The size in bytes of the buffer pointed to by buff.
bytesgrabbed - Pointer to where the actual number of bytes grabbed will be placed.
Returns:
Zero on success.
Non-zero on failure.
See Also:
FLISetExposureTime
FLISetFrameType
FLISetImageArea
FLISetHBin
FLISetVBin
FLISetNFlushes
FLISetBitDepth
FLIExposeFrame
FLIGetExposureStatus
FLIFlushRow
FLIGrabRow

Alphabetic index



This page was generated with the help of DOC++.