EthoVision XT 19 - Configure the digital camera (Continued)
Last updated: Jul 29, 2026
Adjust the Camera Exposure Time
The exposure time (or shutter time) is the time the camera shutter is kept open to let light in. The exposure time limits the maximum achievable frame rate. If the sum of the exposure time and the time needed for reading the chip (readout time) is greater than the time between consecutive video frames, the next frame may be dropped, resulting in a lower frame rate, and missed samples during tracking.
To adjust camera exposure that matches a frame rate:
- In the Features panel, under Category, open the camera item and then click Acquisition Controls.
- Make sure that Exposure Mode is
Timed, and Exposure Auto isOff. - Next to Exposure Time (Abs) [us], enter the exposure time you require, in microseconds.
- For Zebrafish larvae, enter
4000or2000, depending on the video resolution chosen. If resolution in EthoVision is 1280 x 960 or similar, select4000. If the resolution is 640 x 480 or similar, select2000. - In all other cases, you may choose a higher value. The ideal range of exposure will likely be anywhere from
2000to10000. - If lighting in the room is low, you will likely need a longer exposure time. Try
8000up as high as15000. When tracking under infrared light, you generally need to set high exposure times, up to20000. - Values higher than
20000are not recommended — increase illumination or set the gain a bit higher. See Adjust the Camera Gain. - Note that a longer exposure time may cause motion blur. Faster animals like flying insects require shorter exposure times than other, slow-moving animals. In case of motion blur, reduce exposure time and compensate by opening the lens aperture and/or increasing the amount of ambient light (the latter is preferred).
- For Zebrafish larvae, enter
- A longer exposure time may conflict with the time that the software needs to process an image, because both must fit within the time between two successive video images. In that case some video images may be dropped during acquisition. To check that the exposure time is compatible with the frame rate you have chosen, click the Continuous Shot button on the toolbar.
At the bottom of the live video window, locate the frame rate resulting with the new exposure time. If the camera can cope with the new exposure time, the current frame rate should be the same as that set next to Acquisition Frame Rate (Abs) [Hz]. This is usually 25, 30 or 60.
If the exposure time is very high, the resulting frame rate could be lower than the set frame rate Acquisition Frame Rate (Abs) [Hz]. For example, setting an exposure time of
40000(40 ms) reduces the frame rate from 25 to 20.To solve this, do one of the following:
- Under Acquisition Controls, lower the Exposure Time (Raw). This makes the video image darker. To compensate for that, open the lens diaphragm so that the camera sensor receives more light. Note, however, that an open diaphragm reduces the depth of field, that is, the range of distances where the object appears sharp in the camera image.
- Under AOI Controls, lower the Width and Height (video resolution). Do this until you see the expected frame rate under the live view.
- Save the camera settings.
Adjust the Camera Gain
Camera gain amplifies the video signal. A higher value of gain results in a brighter image. That could be an option whenever the image is too dark for EthoVision XT to detect a subject, and you do not have other ways to correct for that — for example, when the lens of the camera is wide open and you cannot increase light intensity in the test room.
Tip: Whenever possible, add lights instead of increasing camera gain. See Lighting Setup and the video tutorial Set up Your Test Environment (Help > Video Tutorial).
- Start the live view by clicking the Continuous Shot button.
- In the Features panel, click Analog Control.
- From the Gain Auto list, select
Off. - Next to Gain (Raw), select the value you require. In normal situations values like
0or1should suffice. Only increase the gain further if there is no other way to get a bright image (e.g. by increasing the exposure time, improving the ambient light, or opening the aperture ring of the lens). Note that increasing gain results in more image noise. - Check the live view and adjust the gain when necessary.
- When ready, save the camera settings.
Adjust the White Balance
If you have a color camera, you also need to adjust its white balance.
- Click Color Improvements Control.
- Point the camera at a piece of white paper, so that the camera image looks entirely white. Click in the field next to Balance White Auto and select
Oncefrom the list. - Save the settings. See also Settings for the Color Camera.
Save the Camera Settings
Important: If you have multiple GigE/USB 3.0 cameras, make sure that you save the settings for each camera. To select a camera, double-click its name in the Device panel in pylon Viewer, adjust the settings that you require, and repeat the procedure to save the settings.
- Click the Stop button.
- In the Features panel, click Configuration Sets (User Set Control for USB 3.0 cameras).
- From the Configuration Set Selector list (User Set Selector for USB 3.0 cameras), select
User Set 1. - Next to User Set Save, click Execute. The camera settings are saved under
User Set 1. - From the Default Startup Set list (User Set Default for USB 3.0 cameras), select
User Set 1. This means that the camera always starts with the settings contained inUser Set 1. - Close pylon Viewer.
These settings will be used each time you start up EthoVision XT.
Tip: You can also save different settings for the same camera in User Set 2 and User Set 3. Under Default Startup Set/User Set Default, select which set you want EthoVision to use.
Do a Factory Reset on the Basler GigE Camera
- Open pylon Viewer and double-click the camera name. At the bottom left of the interface, click All Features.
- In the Features window, expand Configuration Sets.
- For Configuration Set Selector, select
Default Configuration Set. - For Default Startup Set, select
Default User Set. - For User Set Save, click the Execute button.
- For User Set Load, click the Execute button.
- The camera should now be reset to factory defaults.
At this point you need to set the resolution, frame rate, exposure, and other settings while still in pylon Viewer. Finally, save the settings with a specific name (e.g. User Set 1) so you can always return to those settings using User Set Load when needed.
Source: EthoVision XT 19 Help, Noldus Information Technology