EasyManua.ls Logo

THORLABS DCC1645C - Page 279

THORLABS DCC1645C
530 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
© 2013 Thorlabs GmbH
4 Programming (SDK)
277
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++)

Table of Contents

Other manuals for THORLABS DCC1645C

Related product manuals