Home > Function descriptions > History back  Previous chapter  Next chapter  Print  

SetTimeout

uEye ActiveX Manual Version 4.00

SetTimeout

Syntax

LONG SetTimeout (ULONG nMode, ULONG Timeout)

Description

Using SetTimeout(), you can change user-defined timeout values of the uEye API. If no user-defined timeout is set, the default value of the uEye API is used for the relevant timeout.

For further information, please refer to the "C: How to proceed: Image Capture: Capture modes" chapter in the uEye Manual.

Hinweis

The user-defined timeout only applies to the specified camera at runtime of the program.

Parameters

nMode

Selects the timeout value to be set

IS_TRIGGER_TIMEOUT

Sets the timeout value for triggered image capture

Timeout

Timeout value in 10 ms.

Value range [0; 4...429496729] (corresponds to 40 ms to approx. 1193 hours)

0 = use default value of the uEye API

For 1...3, the value 4 is used.

Return values

IS_SUCCESS

Function executed successfully

IS_NO_SUCCESS

General error message

IS_NOT_SUPPORTED

The value for nMode is invalid

Related functions

GetTimeout()

FreezeImage()

SetExternalTrigger()


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