Is_Enablemessage - THORLABS DCU223x Operation Manual And Sdk

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

Advertisement

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
which: ID of the message to be enabled/disabled
IS_FRAME
IS_SEQUENCE
IS_CAPTURE_STATUS
IS_TRIGGER
IS_DEVICE_REMOVED
IS_DEVICE_RECONNECTED
IS_NEW_DEVICE
IS_DEVICE_REMOVAL
IS_WB_FINISHED
IS_AUTOBRIGHTNESS_FINISHED
© 2013 Thorlabs GmbH
-
Camera handle
A new image is available.
The sequence is completed.
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.
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.
A camera initialized with
disconnected.
A camera initialized with
disconnected afterwards was reconnected.
A new camera was connected.
A camera was removed.
Automatic white balance control is completed (only if this
control was started using the IS_SET_AUTO_WB_ONCE
function).
Automatic brightness control is completed (only if this
control was started using the
IS_SET_AUTO_BRIGHTNESS_ONCE function).
4 Programming (SDK)
174
is_InitCamera()
273
is_InitCamera()
273
was
and
211

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dcu224xDcc1240xDcc1545mDcc1645c

Table of Contents