|
ANY-maze Help > The ANY-maze reference > The Protocol page > The elements of a protocol > Testing > Events and actions > Setting up an event > Event trigger wizard : Random time interval Event trigger wizard : Random time interval
In this step, you need to specify a range of times at which the event should trigger. For example, entering a minimum of 60s and a maximum of 90s would cause the event to trigger a random time between 60 and 90 seconds - for example, 72s. As this event triggers repeatedly, it will occur again after another period of between 60 and 90 seconds - perhaps 61s this time. The values you enter can use any of the units d (days), h (hours), min (minutes), s (seconds), or ms (milliseconds). You can mix units and also specify decimal values. So, for example, the period of eight and a half minutes could be entered as '8.5min' or as '8min 30s'. If you don't specify any units, then seconds will be assumed. You can enter any value from 50 milliseconds to 24 hours. The maximum time must be greater than the minimum. Note that you can't enter a minimum of 0. The reason for this is that such a minimum would mean that the event could, in theory, trigger at the same time as the 'previous' event (i.e. 0 seconds after it). Clearly, this is impossible to actually achieve, so there must be at least a short delay between the events. Note that the event will always trigger once, but thereafter it will only actually trigger repeatedly (at the specified interval) if it is reset. Therefore it's normal to set this type of event to reset automatically, although you could choose to explicitly reset it as part of an action's effects.
© Copyright 2003-2026 Stoelting Co. All rights reserved ANY-maze help topic T0424 |