ANY-maze Help > The ANY-maze reference > The Protocol page > The elements of a protocol > Testing > Procedures > Writing a procedure using the procedure editor > Errors and warnings while writing a procedure > Error: Cannot use a variable that relies on tracking information before the test starts

Error: Cannot use a variable that relies on tracking information before the test starts

Description

This error is displayed in the list of errors and warnings at the bottom of the procedure editor when a procedure uses a built-in variable related to tracking of the animal in the shaded section of the procedure, which is run before the test starts.

More information

Several of the built-in variables provided by ANY-maze to ascertain the current state of a test are only updated when the system starts tracking the animal, i.e. after the test has started. All details of the animal's position or speed, activity, immobility and freezing state are only available once the test has started and tracking has begun. Likewise, information about the animal's position relative to zones (distance from zones, which zone the animal is in, etc.) is not available until the test has started and ANY-maze can determine the position of the animal, and therefore which zone it is in.

See also:

 Errors and warnings while writing a procedure 
 Errors and warnings while running a procedure 
 Built-in variables 

© Copyright 2003-2026 Stoelting Co. All rights reserved

ANY-maze help topic T0519