USB 2.0 USB 3.x GigE |
USB 2.0 USB 3.x GigE |
Syntax
INT is_GetTimeout (HIDS hCam, UINT nMode, UINT* pTimeout)
Description
Using is_GetTimeout(), you can read out user-defined timeout values from the uEye API.
For further information, please refer to the How to proceed: Timeout values for image capture section.
Input parameters
hCam |
Camera handle |
nMode |
Selects the timeout value to be returned |
IS_TRIGGER_TIMEOUT |
Returns the timeout value in steps of 10 ms for triggered image capture |
pTimeout |
Pointer to the variable that holds the timeout value. Returns 0 if the default value of the uEye API is used. |
Return values
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 |
Related functions
Example
// Return user-defined timeout
UINT nTimeout;
INT ret = is_GetTimeout(hCam, IS_TRIGGER_TIMEOUT, &nTimeout);