EasyManuals Logo

THORLABS DCU223 SERIES User Manual

THORLABS DCU223 SERIES
530 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 #203 background imageLoading...
Page #203 background image
© 2013 Thorlabs GmbH
4 Programming (SDK)
201
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
}
Example DC handle
//------------------------------------
// DC-Handle
//------------------------------------
// Get DC handle for Overlay
HDC hDC;
is_DirectRenderer (hCam, DR_GET_OVERLAY_DC, (void*)&hDC, sizeof (hDC));
// Release DC handle
is_DirectRenderer (hCam, DR_RELEASE_OVERLAY_DC, NULL, NULL);
322
319
337
297

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