Please enable JavaScript to view this site.

uEye DirectShow 4.97

Navigation: Interfaces > Filter interfaces > IuEyeFocus

Focus_GetAutoFocusStatus

Scroll Previous Top Next More

Syntax

Focus_GetAutoFocusStatus (INT* piStatus)

Description

Returns the state of the auto focus. As the auto focus is constantly focused, it does not make sense to query the auto focus state.

•FOC_STATUS_UNDEFINED (0): Initial state when auto focus becomes active.

•FOC_STATUS_ERROR (1): error message

•FOC_STATUS_FOCUSED (2): lens is focused

•FOC_STATUS_FOCUSING (4): lens is currently focused

•FOC_STATUS_TIMEOUT (8): a timeout has occured

•FOC_STATUS_CANCEL (10): focusing was terminated

hint_info

Setting the focus is currently supported by the following models:

•UI-1007XS

•uEye LE USB 3.1 Gen 1 AF (active focus)

Parameter

•piStatus: Pointer to the variable in which the return value is written.

Interface

•IuEyeFocus

Related functions

•Focus_GetAutoFocus

•Focus_SetAutoFocus

•Focus_SetEnableAutoFocusOnce