Home > C: Programming > Function descriptions > History back  Previous chapter  Next chapter  Print  

is_GetTimeout

uEye Camera Manual Version 4.00

is_GetTimeout

Windows_Logo

Linux_Logo

USB 2.0

USB 3.0

GigE

USB 2.0

USB 3.0

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

is_SetTimeout()

is_CaptureVideo()

is_FreezeVideo()

is_SetExternalTrigger()

Example

// Return user-defined timeout

UINT nTimeout;

INT ret = is_GetTimeout(hCam, IS_TRIGGER_TIMEOUT, &nTimeout);


Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!

For technical questions please contact you local distributor or use the support form on our website.


© 2012 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com