User Guide
Table Of Contents
- Cover
- Quick Installation Procedure
- Notices
- Table of Contents
- Product Overview
- Physical Description
- Installation
- Configuring the Video Server
- Using the Video Server
- Accessing your Surveillance Images
- Positional Control of the Video Sources
- The Log File
- PINGing Your IP Address
- Symptoms, Possible Causes and Remedial Actions
- Obtaining Updated Software
- Upgrading the Software
- The Physical Connector
- Camera Positioning
- CGI Parameters for Image Requests
- CGI Parameters for Pan Tilt and Zoom Control
- CGI Parameters for Preset Positions
- CGI Parameters for Serial Port Control
- Controlling and Monitoring
- Wizard Preconfigurations
- Client Applications
- Starting and Enabling the Editor
- Programming Script Format
- Commands
- Index

AXIS 2400/2401
Administration Manual Appendix H-The Programming Script
69
-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>.
Note that if you specify
-duration inf
, the command will continue to be executed until it
is interrupted by a
buffer_init
command.
-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
# This command initiates the buffer to hold 60
# halfsize.jpg and 5 hugesize.jpg images. New images
# are captured until the buffer_start command is
# interrupted.
* * * * * BOOT :
buffer_init 1,1,60:1,3,5;
buffer_start -src halfsize.jpg -interval s1 -duration inf;
buffer_start -src hugesize.jpg -interval m1 -duration inf;
%
# When port 1 is triggered, an alert message is sent
# to host 1.2.3.4. Another 10 halfsize.jpg images are
# captured and all the images are sent to an ftp
# server with the names "Halfsize_1" to
# "Halfsize_60". Then the buffer is restarted.
* * * * * /I1:
alert -host 1.2.3.4 -port 4000 -message "Alert! Input on port 1.";
buffer_stop -src halfsize.jpg -store 10;
ftp -host somehost -user USER -pass PASS -src images/buffer.jpg -dest
Halfsize_$r1-60 -time
h1 -buffer halfsize.jpg;
alert -host 1.2.3.4 -port 4000 -message "Alert! Images sent to ftp server";
%
# When port 2 is triggered, the 5 most recent
# hugesize.jpg images are sent to an ftp server
# with the names "Picture_1" to "Picture5". Note that
# the buffer is not stopped.
* * * * * /I2:
ftp -host somehost -user USER -pass PASS -src images/buffer.jpg -dest
Picture_$r1-5 -time h1
-buffer hugesize.jpg;
%