ANY-maze Help > I/O devices supported by ANY-maze > I/O errors that may occur during a test > Value out of range

Value out of range

Details

Various I/O items in ANY-maze have a limited range of values that can be set - for example, a laser controller's duty cycle can be between 1 and 99%, or a speaker's frequency will be limited by the sampling rate of the speaker.

When a procedure tries to adjust any numeric setting for an I/O port, the value used will be checked against the range of valid values. If the value is outside the range of values, it will be clipped to the nearest allowed value, and this warning will be generated.

For example, if a procedure uses the Make speaker source a tone action to change the frequency of a speaker to 5000Hz, but the speaker's frequency range is 100 to 4500Hz, then this warning will be generated and the speaker's frequency will be set to 4500Hz (since that's the closest frequency to the one requested that the speaker can support).

Note that the test will continue to run, but the I/O port's output might not be quite what you wanted. This may not matter - for example, an animal might get a shock of a slightly lower intensity than you intended, but they were nevertheless still shocked. However it may be that you are relying on the precise frequency of a tone to guide the animal's decision making, in which case you may decide that the adjustment isn't good enough, and you will need to change the way that the procedure works. Either way, you can use the information in this warning message to determine the correct course of action.

© Copyright 2003-2026 Stoelting Co. All rights reserved

ANY-maze help topic T1324