Command script for complex applications, Command format, Parameter explanation – Vivotek VS2403 User Manual

Page 46

Advertising
background image

- 45 -

www.vivotek.com

Command Script for Complex Applications

Besides the application wizard, Video Server provides a more professional command
script for advanced applications. The command script will be executed exclusively with
the settings in Application page of system configuration except for the weekly schedule.
To build the advanced application, follow the steps below.
1. Use any text editor to edit the appropriate command script according to the command
format. The script size cannot exceed 500 bytes.
2. Save the script as a file named “SCRIPT.TXT”.
3. Use FTP with administrator’s privilege to upload the script file.
4. Enter the Application page in system configuration to define the time period in weekly
schedule. If it is supposed to run any time, keep the original settings but check the
option “All the time except for the above schedule”.
5. Check the option “Enable the external script file to exclude the following settings” to
activate the command script.

Command format

[Event][“Operator”Event]……=[Action][+Action]……;

Event

[“Digital Input Number””Digital Input State”]
[“M” “Channel Number…”]
[“Channel Number””Video Input State”]

Operator

“+”: (OR)
“*”:

(AND)

Action

[(“Delay Time”)“Digital Output Number””Digital Output State”]
[“V”“Channel Number”“P”“Preset Location Number”]
[“W”{“IP”:“Port”}{“Message”}]
[“U”“Method”]
[“S”“Channel Number…”]
[“N”{“filename”}];

Parameter explanation

Item between brackets means optional but at least one item should exist.
“Digital input number”: 1 ~ 4

Advertising