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 #213 background imageLoading...
Page #213 background image
© 2013 Thorlabs GmbH
4 Programming (SDK)
211
4.3.22 is_EnableMessage
USB 2.0
USB 3.0
-
Syntax
INT is_EnableMessage (HIDS hCam, INT which, HWND hWnd)
Description
Using is_EnableMessage(), you can enable Windows messages. If a particular event occurs, the messages
are sent to the application.
Each message is structured as follows:
Message: IS_uc480_MESSAGE
wParam: Event (see table)
lParam: DCx camera handle associated with the message
Attention
You have to deactivate Windows messages with hWnd == NULL before you free the uc480 API library. Otherwise
the application may not close properly.
Input parameters
hCam
Camera handle
which: ID of the message to be enabled/disabled
IS_FRAME
A new image is available.
IS_SEQUENCE
The sequence is completed.
IS_CAPTURE_STATUS
An error occurred during the data transfer, see
is_CaptureStatus().
The parameter IS_CAPTURE_STATUS replaces the
previous parameter IS_TRANSFER_FAILED.
The parameter IS_TRANSFER_FAILED was moved into
the new header file uc480_deprecated.h, which
contains all obsolete function definitions and constants. If
necessary the header file uc480_deprecated.h can
be included in addition to the header file uc480.h.
IS_TRIGGER
An image which was captured following the arrival of a
trigger has been transferred completely.
This is the earliest possible moment for a new capturing
process. The image must then be post-processed by the
driver and is available after the IS_FRAME message has
occurred.
IS_DEVICE_REMOVED
A camera initialized with is_InitCamera() was
disconnected.
IS_DEVICE_RECONNECTED
A camera initialized with is_InitCamera() and
disconnected afterwards was reconnected.
IS_NEW_DEVICE
A new camera was connected.
IS_DEVICE_REMOVAL
A camera was removed.
IS_WB_FINISHED
Automatic white balance control is completed (only if this
control was started using the IS_SET_AUTO_WB_ONCE
function).
IS_AUTOBRIGHTNESS_FINISHED
Automatic brightness control is completed (only if this
control was started using the
IS_SET_AUTO_BRIGHTNESS_ONCE function).
174
273
273

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