EasyManuals Logo

THORLABS DCU223 SERIES Description And Sdk Manual

THORLABS DCU223 SERIES
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 #248 background imageLoading...
Page #248 background image
© 2016 Thorlabs Scientific Imaging246
DCx Camera Functional Description and SDK Manual
4.3.47 is_GetImageMemPitch
USB 2.0
USB 3.0
USB 2.0
USB 3.0
Syntax
INT is_GetImageMemPitch (HIDS hCam, INT* pPitch)
Description
is_GetImageMemPitch() returns the line increment (in bytes). The line increment is defined as the
number of bytes from the beginning of a line to the beginning of the next line. It may be greater than
suggested by the parameters passed when calling is_AllocImageMem(). The line increment is
always a number that can be divided by 4.
The line increment is calculated as:
line = width * int[(bitspixel + 7) / 8]
lineinc = line + adjust
adjust = 0 if line can be divided by 4 without remainder
adjust = 4 - rest(line / 4) if line cannot be divided by 4 without remainder
Input parameters
hCam
Camera handle
pPitch
Pointer to the variable containing the line
increment
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.
Possibly the versions of the uc480.dll (API) and
the driver file (uc480_usb.sys) do not match.
IS_NO_SUCCESS
General error message
IS_SUCCESS
Function executed successfully
Related functions
is_GetImageMem()
is_AllocImageMem()
is_AddToSequence()

Table of Contents

Other manuals for THORLABS DCU223 SERIES

Questions and Answers:

Question and Answer IconNeed help?

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

THORLABS DCU223 SERIES Specifications

General IconGeneral
BrandTHORLABS
ModelDCU223 SERIES
CategorySecurity Camera
LanguageEnglish

Related product manuals