Is_Initevent - THORLABS DCU223x Operation Manual And Sdk

Cdd and cmos cameras
Hide thumbs Also See for DCU223x:
Table of Contents

Advertisement

DCx Cameras

4.3.61 is_InitEvent

USB 2.0
USB 3.0
Syntax
INT is_InitEvent (HIDS hCam, HANDLE hEv, INT which)
Description
is_InitEvent() initializes the event handle for the specified event object. This registers the event object in the
uc480 kernel driver.
Attention
Using USB cameras under Windows
The following events require a Windows message loop. This message loop has to be executed by the thread that
loads the uc480 API. The message loop is usually provided by the application window. In some cases, the
message loop might not be created automatically (e.g. in console applications). In this case you will need to
implement the message loop yourself.
This applies to the following uc480 events:
IS_SET_EVENT_REMOVE
IS_SET_EVENT_REMOVAL
IS_SET_EVENT_DEVICE_RECONNECTED
IS_SET_EVENT_NEW_DEVICE
If no message loop exists, a USB camera will not be automatically detected after reconnecting.
Input parameters
hCam
hEv
which
Return values
IS_INVALID_CAMERA_HANDLE
IS_INVALID_PARAMETER
IS_NO_SUCCESS
IS_SUCCESS
Related functions
is_EnableEvent()
is_DisableEvent()
is_ExitEvent()
214
276
-
209
205
Camera handle
Event handle created by the CreateEvent() Windows
API function.
ID of the event to be initialized (see
)
209
Invalid camera handle
One of the submitted parameters is outside the valid
range or is not supported for this sensor or is not
available in this mode.
General error message
Function executed successfully
is_EnableEvent()
© 2013 Thorlabs GmbH

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dcu224xDcc1240xDcc1545mDcc1645c

Table of Contents