Is_Getactseqbuf - THORLABS DCU223x Operation Manual And Sdk

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

Advertisement

DCx Cameras

4.3.31 is_GetActSeqBuf

USB 2.0
USB 3.0
Syntax
INT is_GetActSeqBuf (HIDS hCam, INT* pnNum,
char** ppcMem, char** ppcMemLast);
Description
Using is_GetActSeqBuf(), you can determine the image memory which is currently used for capturing an
image (ppcMem) or the image memory that was last used for capturing an image (ppcMemLast). This function
is only available if you have enabled ring buffering.
Attention
All input parameters of a function have to be initialized with valid values before the function is called; this also
applies to parameters that are not used. Variables can be preset with '0', for example. For unused parameters, the
NULL pointer has to be passed.
Note
This number is not the ID of the image memory that was allocated using the
but the running number from the order in which memory was allocated by the
Input parameters
hCam
pnNum
ppcMem
ppcMemLast
Return values
IS_CANT_COMMUNICATE_WITH_DRIVER
IS_CANT_OPEN_DEVICE
IS_INVALID_CAMERA_HANDLE
IS_INVALID_MEMORY_POINTER
IS_INVALID_PARAMETER
IS_IO_REQUEST_FAILED
IS_NO_SUCCESS
IS_SEQUENCE_LIST_EMPTY
IS_SUCCESS
Related functions
is_AddToSequence()
is_GetImageMem()
226
USB 2.0
USB 3.0
Camera handle
Contains the number of the image memory currently used for image capturing.
If image capturing is already in progress when is_GetActSeqBuf() is
called, pnNum will return the value 0 until the sequence arrives at the first image
memory again.
Contains the starting address of the image memory currently used for image
capturing.
Contains the starting address of the image memory last used for image
capturing.
156
247
is_AllocImageMem()
is_AddToSequence()
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).
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.
General error message
The sequence list is empty and cannot be deleted.
Function executed successfully
function,
157
function.
156
© 2013 Thorlabs GmbH

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dcu224xDcc1240xDcc1545mDcc1645c

Table of Contents