THORLABS DCU223x Operation Manual And Sdk page 279

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

Advertisement

Example
HANDLE hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
//Enable frame event, start image capture and wait for event
is_InitEvent(hCam, hEvent, IS_SET_EVENT_FRAME);
is_EnableEvent(hCam, IS_SET_EVENT_FRAME);
is_FreezeVideo(hCam, IS_DONT_WAIT);
DWORD dwRet = WaitForSingleObject(hEvent, 1000);
if
(dwRet == WAIT_TIMEOUT)
{
/* wait timed out */
}
else if
(dwRet == WAIT_OBJECT_0)
{
/* event signalled */
}
is_DisableEvent(hCam, IS_SET_EVENT_FRAME);
is_ExitEvent(hCam, IS_SET_EVENT_FRAME);
CloseHandle(hEvent);
Sample programs
SimpleLive (C++)
uc480Event (C++)
© 2013 Thorlabs GmbH
4 Programming (SDK)
277

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dcu224xDcc1240xDcc1545mDcc1645c

Table of Contents