161SDK (Software development Kit)
© 2010 Thorlabs
Possible CapErr Error Types
IS_CAPERR_API_NO_DEST_MEM
There is no destination memory for copying the
finished image.
IS_CAPERR_API_CONVERSION_FAILED
The current image could not be processed correctly.
IS_CAPERR_API_IMAGE_LOCKED
The destination buffers are locked and could not be
written to.
IS_CAPERR_DRV_OUT_OF_BUFFERS
No free internal image memory is available to the
driver. The image was discarded.
IS_CAPERR_DRV_DEVICE_NOT_READY
The camera is no longer available. It is not possible
to access images that have already been transferred.
IS_CAPERR_USB_TRANSFER_FAILED
The image was not transferred over the USB bus.
The maximum allowable time for image capturing in
the camera was exceeded.
Not enough destination memory
allocated or all destination buffers
locked by the application
Release locked destination memory
Allocate more destination memory
Reduce the frame rate so that there is more time to process
the filled destination memory
Internal error during internal
processing of the image
All destination buffers locked by the
application
Release locked destination memory
Allocate more destination memory
Reduce the frame rate so that there is more time to process
the filled destination memory
The computer takes too long to
process the images in the DCx
camera API (e.g. colour
conversion)
Reduce the frame rate so that there is more time to process
the filled image memory of the driver
Disable resource-intensive API image pre-processing
functions (e.g. edge enhancement, colour correction,
choose smaller filter mask for software colour conversion)
The camera has been
disconnected or closed
Not enough free bandwidth on the
USB bus for transferring the image
Reduce the pixel clock frequency
Operate fewer cameras simultaneously on a USB bus
Check the quality of the USB cabling and components
The selected timeout value is too
low for image capture
Reduce the exposure time
Increase the timeout