EthoVision XT 18 - THC - Trial and Hardware Control - Sub-Rules (Continued)
Last updated: Jul 30, 2026
Sub-rules (Continued)
When the mouse enters the shelter via a particular entry.
- A - Zone transition condition "Mouse enters the shelter via Entry zone 1" is met (A).
- B - Reference to Sub-rule 2.
- C - Action "Light on", followed by a Time condition "0.5 s" and an action "Light off".
- 5 - Sub-rules
Sub-rule 2 is a sub-rule defined to switch a light on for 0.5 seconds (see C for details). As soon as Sub-rule 2 is completed, control is taken back to Sub-rule 1 where the remaining instructions are executed.
Notes
- You can call sub-rules in up to 4 levels of existing sub-rules: for example, you can define the Start-Stop trial rule calling Sub-rule 1, which on its turn calls Sub-rule 2, which on its turn calls Sub-rule 3 etc, but you cannot have Sub-rule 4 calling Sub-rule 5.
- EthoVision XT informs you when you try to create more than 4 levels of sub-rules.
- If a sub-rule includes the reference to another sub-rule, it cannot be completed until the sub-rule that is called within it has been completed.
- You cannot create circular references amongst sub-rules. For example:
- Insert a reference in the sub-rule that this reference calls.
- In Sub-rule 1, insert a reference to Sub-rule 2, which on its turn contains a reference to Sub-rule 1.
- EthoVision XT informs you when you try to create a circular reference.
Conditions
Source: EthoVision XT 18 - THC - Trial and Hardware Control, Noldus Information Technology