# Control the end of tracking

What do you want to do?

▪Stop tracking after some time

▪Stop tracking based on the behavior of the subject

▪To set a maximum duration for your trials

▪Stop video recording after some time

Stop tracking after some time

This option allows you to create tracks of fixed length.

The default Stop track condition is a Time condition.

Click the Settings button, and choose the option you require.

▪To stop tracking after some time, choose After a time of and set the time. For example, set 5 min if you want to track subjects for five minutes.

▪To stop tracking at a specific clock time of the same day, choose After clock time and set the time required. To stop tracking after the current day, you must have the Trial and Hardware Control module.

Stop tracking based on the behavior of the subject

1.Click the Time condition box and press Delete.

2.Under Conditions, choose the variable that describes the behavior and click the corresponding button.

example To stop tracking when the subject is in a zone, click In zone.

3.Configure the variable and insert the new box in the Start-Stop trial rule. See Insert a box in a Trial Control sequence

To set a maximum duration for your trials

If the conditions to stop the trial are never met, EthoVision XT waits indefinitely and the trial never ends. To prevent this from happening, define a maximum trial duration.

example In a Novel object test, if the Stop track box is preceded by a condition “when the subject enters the zone with the familiar object”, it may happen that the subject completely ignores the familiar object and only pays attention to the novel object. In that case the condition to stop tracking is never met.

In the Maximum Trial Duration pane, select Use a maximum trial duration and enter the maximum duration of the trial (in hours, minutes or seconds).

For information about the duration of trials tested with specific cameras and computers, see Resolution, frame rate, and maximum trial duration

Longer trials and videos are possible in principle but they have not been thoroughly tested.

Stop video recording after some time

All the options above refer to stopping the trial when you do tracking. If you record video and then acquire the tracks (see Record video, then acquire a trial), the Maximum Trial Duration option won’t work. This is because the Trial Control Settings, including the Maximum Trial Duration option, are not active when EthoVision XT just records video without acquiring data. You must stop video recording manually.

An alternative strategy is the following:

1.Set the Maximum trial duration (see above).

2. Acquire a trial live + save video.

3.The saved video has a fixed length. Now you can use that video to re-do tracking in the same experiment, or use that video in another experiment (set to offline tracking).

Notes

▪Keep at least one condition between Start track and Stop track. If you do not do this, tracking stops immediately after tracking starts, resulting in no data.

▪If you do not see the Maximum Trial Duration pane, click the Show/Hide button on the toolbar and select Maximum Trial Duration. If the text in this pane is grayed out, it means that Trial Control Settings are read-only. Open another Trial Control Settings profile or create a new one.

▪Instead of using a maximum trial duration, you can also define a condition based on time and place it immediately before the Stop track box. This way you set the exact duration of the tracks. See Stop tracking after some time

▪For more information on conditions, see Overview of conditions in the EthoVision XT 19 - Trial and Hardware Control - Reference Manual.