© 2016 Thorlabs Scientific Imaging346
DCx Camera Functional Description and SDK Manual
Attention
The new Direct3D mode completely replaces the "BackBuffer" and "Overlay Surface" display
modes from DirectDraw. It is advisable not to use these modes any longer (see also Obsolete
functions). To activate the obsolete modes, do the following:
IS_SET_DM_DIRECTDRAW |
IS_SET_DM_BACKBUFFER
Image display in DirectDraw BackBuffer mode
IS_SET_DM_DIRECTDRAW |
IS_SET_DM_ALLOW_OVERLAY
Image display in DirectDraw Overlay Surface
mode
Real-time scaling in Overlay Surface mode
Return values
When used with
IS_GET_DISPLAY_MODE
The image memory is already included in the
sequence and cannot be added again.
IS_CANT_COMMUNICATE_WITH_DRIVER
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).
A capturing operation is in progress and must
be terminated before you can start another one.
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_DEVICE_OUT_OF_MEMORY
Not enough graphics memory available.
The DirectRenderer library could not be found.
The camera type defined in the .ini file does not
match the current camera model.
IS_INVALID_MEMORY_POINTER
Invalid pointer or invalid memory ID
Camera is in standby mode, function not allowed
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.dll (API) and
the driver file (uc480_usb.sys) do not match.
The camera does not contain any calibration
data.