© 2013 Thorlabs GmbH210
DCx Cameras
A camera was removed.
This is independent of the device handle (hCam is
ignored).
A camera initialized with is_InitCamera() was
disconnected.
The sequence is completed.
IS_SET_EVENT_STATUS_CHANGED
Linux only:
The availability of a camera has changed, e.g. an
available camera was opened.
An image extracted from the overlay is available.
The automatic white balance control is completed.
Return values
One of the submitted parameters is outside the valid range or is not
supported for this sensor or is not available in this mode.
Function executed successfully
Related functions
is_DisableEvent()
Windows only: is_InitEvent()
Windows only: is_ExitEvent()
Linux only: is_WaitEvent()
Example Windows
HANDLE hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
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);
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++)
273
205
276
214
355