39
Practical examples
The script file is limited to maximum 500 characters. The actual performance will
depend on the complexity of the command script. Administrators should reduce the
redundant check as possible. Overload conditional check and heavy actions may retard
the system operation.
Command line Description
M1=1C; When any motion is detected, “Normal Close” of relay output will
short with “Common”.
1\=(5)1O; When DI transients from high to low, “Normal Open” of relay
output will short with COMMON in 5 seconds.
A\=W{192.168.0.1
:6000}{no
signal!};
If there is no video signal, a message “no signal!” will be sent to
port 6000 of 192.168.0.1 once.
1H=V1P15; When sensor input 2 is high, drive the camera mapped to video
1 to go to preset location 16.
M1=UF+S1+N{vid
eo%c%a@%y%M
%d%h%m%s};
If any motion is detected, upload snapshots. If an event
triggered at 19:05:30 2002/10/15, the snapshot files will be
named as,
videopre@20021015190530.jpg,
videotrg@20021015190530.jpg,
videopos@20021015190531.jpg