
Appendix H-The Programming Script
AXIS 2400/2401 Administration Manual
68
-interval
Specifies the time interval between consecutive snapshots. If omitted, new snapshots are
generated without any delay.
Format:
h<hours>m<minutes>s<seconds>
, or
fps <approximate frames per
second>
.
-duration
Specifies the total time for the command to run. If omitted, the buffer_start command will
be issued only once.
Format:
h<hours>m<minutes>s<seconds>
.
If you specify
-duration inf
, the command will continue to be executed until it is
interrupted by any of the commands:
buffer_init
,
buffer_start
or
buffer_stop
.
-store
Specifies the number of images to be stored in the buffer. This setting will override the
duration. The maximum number of images is specified by the buffer_init command.
Example
buffer_stop
The buffer_stop command terminates the storage of snapshots to an image buffer. Until
completed, the buffer_stop command will block the execution of any subsequent commands in the
event entry. Note that the
buffer_start
command behaves differently.
The command is typically used together with the
buffer_start
command.
Syntax
buffer_stop [-src SOURCEFILE] [-cam CAMERANUMBER]
[-interval TIME] [-duration TIME] [-store SIZE];
Options
-src
Specifies the source file name, i.e.
halfsize.jpg
,
fullsize.jpg
or
hugesize.jpg
.
-cam
Specifies the camera source, i.e. 1- 4. If omitted, the default camera will be used.
-interval
Specifies the time interval between consecutive snapshots. If omitted, new snapshots will be
generated without any delay.
Format:
h<hours>m<minutes>s<seconds>
, or
fps <approximate frames per
second>
.
# This command will keep loading fullsize.jpg images.
* * * * * * :
buffer_star t -src fullsize.jpg -cam 3 -interval s30
-duration inf;
%