
User Manual for Machine Vision Cameras
95
Figure 11
-
5 Rolling shutter exposure principle
11.4
Image acquisition and transmission
There are two image acquisition modes, free run mode and trigger mode. Among them, the free run mode is
continuous acquisition mode and the trigger mode captures one or more frames of images according to the trigger signal.
The trigger sources include software trigger and external trigger.
As shown in Figure 11
6, in democpp, the free run mode and trigger mode are switched by clicking on "Trigger" menu
and choosing “Enter Trigger Mode” command. The "
✔
" checkmark indicates that the current mode is in trigger mode,
otherwise free run mode.
Figure 11
-
6
Image acquisition mode switching
The following are the API codes for the switching of the free run mode to trigger mode:
// 0 = video mode, 1 = software or simulated trigger mode, 2 = external trigger mode
Toupcam_put_Option(m_hCam, TOUPCAM_OPTION_TRIGGER, val);
11.4.1
Free run mode
Under free run mode, the user can control the camera to continuously output images. Starting the
democpp
software,
connecting the camera and clicking run, the camera will run under free run mode by default. The camera continuously
outputs the image according to the current setting.
11.4.2
Trigger mode
After the camera enters the trigger mode, it enters the waiting trigger state automatically. After receiving a trigger
signal, the camera begins to expose and after the exposure is finished, the image data will be flashed out. Under trigger
mode, image acquisition methods have single frame trigger, multi frame trigger, counter trigger and PWM trigger mode.
11.4.3
Trigger signal source selection