Is_Settimeout - THORLABS DCU223x Operation Manual And Sdk

Cdd and cmos cameras
Hide thumbs Also See for DCU223x:
Table of Contents

Advertisement

DCx Cameras

4.3.96 is_SetTimeout

USB 2.0
USB 3.0
Syntax
INT is_SetTimeout (HIDS hCam, UINT nMode, UINT Timeout)
Description
Using is_SetTimeout(), you can change user-defined timeout values of the uc480 API. If no user-defined
timeout is set, the default value of the uc480 API is used for the relevant timeout.
For further information, please refer to the
Note
The user-defined timeout only applies to the specified camera at runtime of the program.
Input parameters
hCam
nMode
IS_TRIGGER_TIMEOUT
Timeout
Return values
IS_CANT_COMMUNICATE_WITH_DRIVER
IS_CANT_OPEN_DEVICE
IS_INVALID_CAMERA_HANDLE
IS_IO_REQUEST_FAILED
IS_NO_SUCCESS
IS_NOT_SUPPORTED
IS_SUCCESS
Related functions
is_GetTimeout()
is_CaptureVideo()
is_FreezeVideo()
is_SetExternalTrigger()
Example
// Set user-defined timeout to 120 seconds
is_SetTimeout(hCam, IS_TRIGGER_TIMEOUT, 12000);
350
USB 2.0
USB 3.0
How to proceed: Timeout values for image capture
Camera handle
Selects the timeout value to be set
Sets the timeout value for triggered image capture
Timeout value in 10 ms.
Value range [0; 4...429496729] (corresponds to 40 ms to approx.
1193 hours)
0 = use default value of the uc480 API
For 1...3, the value 4 is used.
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).
Invalid camera handle
An IO request from the uc480 driver failed. Possibly the versions of
the uc480_api.dll (API) and the driver file (uc480_usb.sys) do
not match.
General error message
The camera model used here does not support this function or
setting.
Function executed successfully
256
177
223
327
section.
135
© 2013 Thorlabs GmbH

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dcu224xDcc1240xDcc1545mDcc1645c

Table of Contents