User`s manual

VPort 2141 Video Encoder User’s Manual Advanced Applications
5-6
Step 3: Use FTP with administrators privilege to upload the script file.
Step 4: Enter the Application page in the system configuration to define the time period in Weekly
Schedule. If it is required to run any time, keep the original settings but check the option All the
time except for the above schedule.
Step 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 Explanations
Note that in the previous section, items in brackets show the options available for that item. An
explanation of each parameter is given below:
“Digital input number”: 1 to 4
“Digital input state”: H (high), L (low), / (low to high), \ (high to low)
“M”: motion detection event.
“Channel Number”: A, B, C, D for channel 1, 2, 3, 4
“Video input state”: / (signal from loss to presence), \ (signal from presence to loss), X (as
long as signal loss)
“Delay time”: seconds of delay for the following actions after events happen
“Digital output number”: 1 or 2
“Digital output state”: C (NC), O (NO)
“V”: set video channel to go to preset location
“P”: set preset location number to go to preset location
“W”: send warning to server
“IP”: server IP
“Port”: server port
“Message”: text to be sent to the server
“U”: upload snapshots