© 2016 Thorlabs Scientific Imaging194
DCx Camera Functional Description and SDK Manual
}
else if (dwRet == WAIT_OBJECT_0)
{
/* event signalled */
}
is_DisableEvent(hCam, IS_SET_EVENT_FRAME);
is_ExitEvent(hCam, IS_SET_EVENT_FRAME);
CloseHandle(hEvent);
Example Linux
is_EnableEvent(hCam, IS_SET_EVENT_FRAME);
is_FreezeVideo(hCam, IS_DONT_WAIT);
INT nRet = is_WaitEvent(hCam, IS_SET_EVENT_FRAME, 1000);
if (nRet == IS_TIMED_OUT)
{
/* wait timed out */
}
else if (nRet == IS_SUCCESS)
{
/* event signalled */
}
is_DisableEvent(hCam, IS_SET_EVENT_FRAME);
Sample programs
SimpleLive (C++)
uc480Event (C++)