EasyManuals Logo

THORLABS DCC1645C Description And Sdk Manual

THORLABS DCC1645C
513 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #221 background imageLoading...
Page #221 background image
© 2016 Thorlabs Scientific Imaging
4 Programming (SDK)
219
4.3.32 is_GetActSeqBuf
USB 2.0
USB 3.0
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 is_AllocImageMem()
function, but the running number from the order in which memory was allocated by the
is_AddToSequence() function.
Input parameters
hCam
Camera handle
pnNum
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.
ppcMem
Contains the starting address of the image memory currently used
for image capturing.
ppcMemLast
Contains the starting address of the image memory last used for
image capturing.
Return values
IS_CANT_COMMUNICATE_WITH_DRIVER
Communication with the driver failed because
no driver has been loaded.
IS_CANT_OPEN_DEVICE
An attempt to initialize or select the camera
failed (no camera connected or initialization
error).
IS_INVALID_CAMERA_HANDLE
Invalid camera handle
IS_INVALID_MEMORY_POINTER
Invalid pointer or invalid memory ID
IS_INVALID_PARAMETER
One of the submitted parameters is outside the
valid range or is not supported for this sensor or
is not available in this mode.
IS_IO_REQUEST_FAILED
An IO request from the uc480 driver failed.

Table of Contents

Other manuals for THORLABS DCC1645C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the THORLABS DCC1645C and is the answer not in the manual?

THORLABS DCC1645C Specifications

General IconGeneral
BrandTHORLABS
ModelDCC1645C
CategorySecurity Camera
LanguageEnglish

Related product manuals