292 DCx camera
© 2010 Thorlabs
7.3.109
is_WaitEvent
Syntax
INT is_WaitEvent (HIDS hCam, INT which, INT nTimeout)
Description
is_WaitEvent() allows waiting for DCx camera events. The function indicates successful execution
when the event has occurred within the specified timeout.
Input Parameters
ID of the event (see is_InitEvent() )
Time (in ms) that the function will wait for an event to
occur
Return Values
Function executed successfully
The specified timeout expired without the event having
occurred.
Related Functions
is_InitEvent()
is_EnableEvent()
is_DisableEvent()
is_ExitEvent()
Code Sample
//Activate and initialise FRAME event
is_EnableEvent (hCam, IS_SET_EVENT_FRAME);
is_InitEvent (hCam, IS_SET_EVENT_FRAME);
//Start image capture and wait 1000 ms for event to occur
is_FreezeVideo (hCam, IS_DONT_WAIT);
is_WaitEvent (hCam, IS_SET_EVENT_FRAME, 1000);
195
195
140
138
144