| Home > C: Programming > How to proceed > Capturing images > | History back Previous chapter Next chapter Print |
Event/message handling |
|
uEye Camera Manual Version 4.00
Triggering events for single frame capture
The following figure shows the time sequence when triggering the IS_SET_EVENT_EXTTRIG and IS_SET_EVENT_FRAME events. The camera is prepared for triggered capture using the is_SetExternalTrigger() command. An incoming trigger signal at the camera starts the exposure and the subsequent image transfer. Upon completion of the data transfer, the IS_SET_EVENT_EXTTRIG event signals that the camera is ready for the next capture. The IS_SET_EVENT_FRAME event is set once pre-processing (e.g. color conversion) is complete and the finished image is available in the user memory.
|
|

Fig. 153: Events in hardware trigger mode
* Optional function. The start time and duration of the flash signal are defined by the "Flash delay" and "Duration" parameters (see is_IO()).
Events in live mode (image sequence)
The following figure shows the time sequence when triggering the IS_SET_EVENT_FRAME and IS_SET_EVENT_SEQ events. The camera is set to live mode using is_CaptureVideo() so that it continuously captures frames. The IS_SET_EVENT_FRAME event is set once pre-processing (e.g. color conversion) is complete and a finished image is available in the user memory. The IS_SET_EVENT_SEQ event is set after one cycle of a storing sequence has been completed (see also is_AddToSequence()).

Fig. 154:
Events in live mode
* Optional function. The start time and duration of the flash signal are defined by the "Flash delay" and "Duration" parameters (see is_IO()).
Function List
Disables a single event object. |
|
Enables a single event object. |
|
Turns the Windows messages on/off. |
|
Closes the event handler (Windows only) |
|
Initializes the event handler (Windows only) |
|
Automatically releases the camera resources when the camera is disconnected from the PC. |
|
Waits for uEye events (Linux only) |
|
![]() Fig. 155: Flowchart - Enabling event handling (Windows) |
|
![]() Fig. 156: Flowchart - Enabling message handling |