EasyManuals Logo

THORLABS DCU22 Series User Manual

THORLABS DCU22 Series
530 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #278 background imageLoading...
Page #278 background image
© 2013 Thorlabs GmbH276
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
Camera handle
hEv
Event handle created by the CreateEvent() Windows
API function.
which
ID of the event to be initialized (see is_EnableEvent()
)
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_SUCCESS
Function executed successfully
Related functions
is_EnableEvent()
is_DisableEvent()
is_ExitEvent()
209
209
205
214

Table of Contents

Other manuals for THORLABS DCU22 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the THORLABS DCU22 Series and is the answer not in the manual?

THORLABS DCU22 Series Specifications

General IconGeneral
BrandTHORLABS
ModelDCU22 Series
CategorySecurity Camera
LanguageEnglish

Related product manuals