
AXIS 2400/2401
Administration Manual
Appendix H-The Programming Script
67
SIZE
Specifies the maximum number of images that can be stored in the buffer. The valid range is
0-65535, although in practice is limited by the amount of available memory within the
AXIS 2400/2401.
To initiate several buffers, you can stack multiple statements separated by colon.
Notes:
•To clear the image buffer, you simply do not specify any arguments.
•To initiate several buffers, you can stack multiple statements. Each statement must separated by
a colon “:”.
Example 1
Example 2
buffer_start
The
buffer_start
command stores snapshots in a specific image buffer. Before the command can
be used, the buffer facility must be initiated using the
buffer_init
command.
When invoked, the
buffer_start
command is executed in the background and any subsequent
command in the event entry is executed immediately.
Images are retrieved using the
ftp
or
command (refer to page 70 and page 73 respectively).
Syntax
buffer_start [-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 (AXIS
2401must be set to 1)
# At startup, this command w
ill initiate one
# buffer for camera 1 with 25 fullsize.jpg images
# and one buffer for camera 2 with 5 hugesize.jpg
# images.
* * * * * BOOT:
buffer_init 1,2,25:2,3,5;
%
# This command w
ill clear the buffer every Sunday.
0 0 * * 0 * :
buffer_init;
%