Is_Capturevideo - THORLABS DCU223x Operation Manual And Sdk

Cdd and cmos cameras
Hide thumbs Also See for DCU223x:
Table of Contents

Advertisement

4.3.8 is_CaptureVideo

USB 2.0
USB 3.0
Syntax
INT is_CaptureVideo (HIDS hCam, INT Wait)
Description
is_CaptureVideo() activates the camera's live video mode (free run mode). The driver transfers the images to
an allocated image memory or, if Direct3D/OpenGL is used, to the graphics card. The image data (DIB mode) is
stored in the memory created using
is_SetImageMem()
337
If ring buffering is used, the image capturing function cycles through all image memories used for storing the
images of a capture sequence in an endless loop. Sequence memories locked by
skipped. If the last available sequence memory has been filled, the sequence event or message will be triggered.
Capturing always starts with the first element of the sequence.
For further information on the image capture modes, see the
Input parameters
hCam
Wait
IS_DONT_WAIT
IS_WAIT
Time t
IS_GET_LIVE
Return values
When used with
IS_GET_LIVE
IS_BAD_STRUCTURE_SIZE
IS_CANT_COMMUNICATE_WITH_DRI
VER
IS_CANT_OPEN_DEVICE
IS_CAPTURE_RUNNING
IS_INVALID_BUFFER_SIZE
IS_INVALID_CAMERA_TYPE
IS_INVALID_EXPOSURE_TIME
IS_INVALID_CAMERA_HANDLE
IS_INVALID_MEMORY_POINTER
IS_INVALID_PARAMETER
IS_IO_REQUEST_FAILED
IS_NO_ACTIVE_IMG_MEM
© 2013 Thorlabs GmbH
USB 2.0
USB 3.0
is_AllocImageMem()
. Using
is_GetImageMem()
TRUE if live capture is enabled
An internal structure has an incorrect size.
Communication with the driver failed because no driver has been loaded.
An attempt to initialize or select the camera failed (no camera connected or
initialization error).
A capturing operation is in progress and must be terminated before you
can start another one.
The image memory has an inappropriate size to store the image in the
desired format.
The camera type defined in the .ini file does not match the current camera
model.
This setting is not available for the currently set exposure time.
Invalid camera handle
Invalid pointer or invalid memory ID
One of the submitted parameters is outside the valid range or is not
supported for this sensor or is not available in this mode.
An IO request from the uc480 driver failed. Possibly the versions of the
uc480_api.dll (API) and the driver file (uc480_usb.sys) do not
match.
No active image memory available. You must set the memory to active
using the is_SetImageMem() function or create a sequence using the
is_AddToSequence() function.
and designated as active image memory using
157
, you can query the memory address.
247
How to proceed: Image capture
Camera handle
Timeout value for image capture (see also the
proceed: Timeout values for image capture
Returns if live capture is enabled.
4 Programming (SDK)
is_LockSeqBuf()
289
section.
134
How to
section)
135
will be
177

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dcu224xDcc1240xDcc1545mDcc1645c

Table of Contents