Vivotek VS2403 Command Script for Complex Applications, Command format, Parameter explanation

Page 46

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

- 45 -

www.vivotek.com

Image 46
Contents Page Technical@vivotek.com Before You Use Table of Contents Frequently Asked Questions Package Contents Features and Benefits Privacy mask Bundled powerful surveillance softwareRemote system upgrade Built-in motion detectionFront Panel Physical DescriptionStatus LED’s BNC video inputs DIP switches 1 toAuxiliary button Reset LED status DescriptionCOM port Rear PanelEthernet 10/100 socket General I/O terminal blockRS485 interface Power sourceDigital I/O control Power adapter How to Install Ethernet Environment Hardware installationPower on Cable connectionSoftware installation Easy way with installer programPage Set password of administrator How to UseFirst access to Video Server Complete the network settingsAuthentication Installing Plug-in Text mode Graphic modeMain Video quality selection System configurationVideo input selection Video size selectionCustom camera commands Motorized camera controlSystem Configuration IntroductionSystem parameters Definitions of ConfigurationAdjust date and time Change host nameSecurity privilege Fix the IP address Network settingsBasic network settings PPPoEPage Enable Ddns Ddns & UPnPFTP settings Mail settingsMail & FTP Allow list Access listDeny list Configure attached motorized camera Enable video channelsAdjust image settings Video, camera mapping and motion detectionSelect default video source Configure motion detectionConfigure privacy mask Set video modulationPage Camera Control Port settingsCustom commands Choose serial interfaceText mode Image modeHomepage layout Weekly schedule External command scriptApplication constitution Event operationSequential operation Sending methodView log file Factory defaultView parameters Get snapshot via URL Advanced FunctionsCapture Up-to-date Still Images Get snapshot via FTPSelect video source and quality and size Get Continuous ImagesDisplay all video Get triggered snapshots via FTP Download Event-triggered SnapshotsGet triggered snapshots via URL Channel name Folder name File name Value Description Upload snapshots to external FTP server Uploading Snapshots PeriodicallySend snapshots to external Smtp email server Customize Graphics in Homepage Object File nameCommand format Command Script for Complex ApplicationsParameter explanation Page Command line Description Practical examplesDrive digital outputs URL for External Device ControlQuery status of digital inputs Move motorized camera in PTZ directionSend command to device attached to COM2 Send command to device attached to COM1Transparent Remote Serial Driver Download System Log via FTP URL of System MaintenanceRestore Factory Default Settings via URL Restart System via URLConfigure System via FTP Viewmode Security Usercount Username 0root Userattr 0video1video2video3video4camctrldidoconf Monitor changed status of digital inputs Telnet CommandsSystem core debugging Stop information dumpingRestore factory default settings Reset systemLED pattern after Post Failed function Troubleshooting TroubleshootingPower-On-Self-Test AppendixSystem recovery ResetFrequently Asked Questions Page Page Upgrade System Firmware Easy way via Installation WizardURL URL Commands of Video ServerHomepage name Referenced URL System resource URL Resource name Referenced URLGet server parameter values General CGI URL syntax and parametersMethod GET/POST Set server parameter values NosyncYyyy/mm/dd WirelessVideo Serverwith Pan/Tilt/ZoomAvailable parameters on the server HhmmssSkip to invoke default server 192.168.0.99 Group Security255.255.255.0 LAN Usernameemail Address Group IPFilter255.255.255.255 For Ntsc only Ntsc PALGroup Motion1~4 Ntsc & CmosGroup CAMCTRL1~4 Script.vssx Group Feature Settings of Supported PTZ Cameras Camera model Baud rate Data bits Stop bit Parity bitCamera Control Cable Time Zone Table Page GMT+1000 Hobart Vladivostok GMT+1100 Technical Specifications NetworkingElectromagnetic Compatibility EMC