287SDK (Software development Kit)
© 2010 Thorlabs
7.3.104
is_SetTimeout
Syntax
INT is_SetTimeout (HIDS hCam, UINT nMode, UINT Timeout)
Description
Using is_SetTimeout(), you can change user-defined timeout values of the DCx camera API. If no
user-defined timeout is set, the default value of the DCx camera API is used for the relevant timeout.
For further information, please refer to the How To Proceed: Timeout Values for Image Capture
section.
The user-defined timeout only applies to the specified camera at runtime of the program.
Input Parameters
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 DCx camera API
For 1...3, the value 4 is used.
Return Values
Function executed successfully
The value for nMode is invalid
Related Functions
is_GetTimeout()
is_CaptureVideo()
is_FreezeVideo()
is_SetExternalTrigger()
Code Sample
// Set user-defined timeout to 120 seconds
is_SetTimeout(hCam, IS_TRIGGER_TIMEOUT, 12000);
94
188
124
148
253