EasyManuals Logo

THORLABS DCU22 Series Description And Sdk Manual

THORLABS DCU22 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 #183 background imageLoading...
Page #183 background image
© 2016 Thorlabs Scientific Imaging
4 Programming (SDK)
181
Return values
When used with
DR_CHECK_COMPATIBILITY
IS_DR_DEVICE_CAPS_INSUFFICIENT
The graphics hardware does not fully support the
uc480 Direct3D functions.
IS_DR_CANNOT_CREATE_SURFACE
The image surface or overlay surface could not
be created.
IS_DR_CANNOT_CREATE_TEXTURE
The texture could not be created.
IS_DR_CANNOT_CREATE_VERTEX_BUFFER
The vertex buffer could not be created.
IS_DR_CANNOT_GET_OVERLAY_DC
Could not get the device context handle for the
overlay.
IS_DR_CANNOT_LOCK_OVERLAY_SURFACE
The overlay surface could not be locked.
IS_DR_CANNOT_RELEASE_OVERLAY_DC
Could not release the device context handle for
the overlay.
IS_DR_CANNOT_UNLOCK_OVERLAY_SURFACE
The overlay surface could not be unlocked.
IS_DR_DEVICE_CAPS_INSUFFICIENT
Function is not supported by the graphics
hardware.
IS_DR_DEVICE_OUT_OF_MEMORY
Not enough graphics memory available.
IS_DR_NOT_ALLOWED_WHILE_DC_IS_ACTIVE
A device context handle is still open in the
application.
IS_INVALID_CAMERA_HANDLE
Invalid camera handle
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_NO_SUCCESS
General error message
IS_NOT_SUPPORTED
The camera model used here does not support
this function or setting.
IS_SUCCESS
Function executed successfully
IS_TIMED_OUT
A timeout occurred. An image capturing process
could not be terminated within the allowable
period.
Related functions
is_SetDisplayMode()
is_SetColorMode()
is_SetImageMem()
is_RenderBitmap()
Example Supported function
UINT nType = IS_SET_DM_DIRECT3D;
if (is_DirectRenderer(m_pMainView->GetCameraHandle(), DR_GET_SUPPORTED,
(void*)&nType, sizeof(nType)) == IS_SUCCESS)
{
// Direct3D is supported
}
nType = IS_SET_DM_OPENGL;
if (is_DirectRenderer(m_pMainView->GetCameraHandle(), DR_GET_SUPPORTED,
(void*)&nType, sizeof(nType)) == IS_SUCCESS)
{
// OpenGL is supported

Table of Contents

Other manuals for THORLABS DCU22 Series

Questions and Answers:

Question and Answer IconNeed help?

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

THORLABS DCU22 Series Specifications

General IconGeneral
BrandTHORLABS
ModelDCU22 Series
CategorySecurity Camera
LanguageEnglish

Related product manuals