Vivotek VS2403 manual URL for External Device Control, Query status of digital inputs

Page 49

URL for External Device Control

Query status of digital inputs

/cgi-bin/getdi.cgi?[di1][&di2][&di3][&di4]

If no parameter is specified, all the status of digital input will be returned.

Drive digital outputs

/cgi-bin/setdo.cgi?do<number>=<state>

<number>: 1, 2, 3, 4 for DO1, DO2, DO3 and DO4

<state>: C, O denoting Normal Close or Normal Open respectively.

Move motorized camera in PTZ direction

/cgi-bin/control.cgi?<param>=<value>

param

value

Description

 

 

 

cam

1

Video 1

 

 

 

 

2

Video 2

 

 

 

 

3

Video 3

 

 

 

 

4

Video 4

 

 

 

move

up

Tilt up

 

 

 

 

down

Tilt down

 

 

 

 

left

Pan left

 

 

 

 

right

Pan right

 

 

 

 

home

Return to home position

 

 

 

zoom

wide

Zoom in

 

 

 

 

tele

Zoom out

 

 

 

focus

near

Focus near

 

 

 

 

far

Focus far

 

 

 

 

auto

Automatic focus

 

 

 

panspeed

-5 ~ 5

 

 

 

 

tiltspeed

-5 ~ 5

 

 

 

 

Recall camera position

/cgi-bin/recall.cgi?cam=<n>&recall=<position>

<n>:

video channel from 1 to 4

<position>:

the text string of a location that is preset in system configuration.

Refer to Camera preset configuration URL for preset function.

- 48 -

www.vivotek.com

Image 49
Contents Page Technical@vivotek.com Before You Use Table of Contents Frequently Asked Questions Package Contents Features and Benefits Remote system upgrade Bundled powerful surveillance softwarePrivacy mask Built-in motion detectionFront Panel Physical DescriptionStatus LED’s Auxiliary button Reset DIP switches 1 toBNC video inputs LED status DescriptionEthernet 10/100 socket Rear PanelCOM port General I/O terminal blockRS485 interface Power sourceDigital I/O control Power adapter How to Install Power on Hardware installationEthernet Environment Cable connectionEasy way with installer program Software installationPage First access to Video Server How to UseSet password of administrator Complete the network settingsAuthentication Installing Plug-in Text mode Graphic modeMain Video input selection System configurationVideo quality selection Video size selectionMotorized camera control Custom camera commandsIntroduction System ConfigurationAdjust date and time Definitions of ConfigurationSystem parameters Change host nameSecurity privilege Basic network settings Network settingsFix the IP address PPPoEPage Ddns & UPnP Enable DdnsFTP settings Mail settingsMail & FTP Allow list Access listDeny list Adjust image settings Enable video channelsConfigure attached motorized camera Video, camera mapping and motion detectionConfigure privacy mask Configure motion detectionSelect default video source Set video modulationPage Custom commands Port settingsCamera Control Choose serial interfaceText mode Image modeHomepage layout Application constitution External command scriptWeekly schedule Event operationSending method Sequential operationView log file Factory defaultView parameters Capture Up-to-date Still Images Advanced FunctionsGet snapshot via URL Get snapshot via FTPSelect video source and quality and size Get Continuous ImagesDisplay all video Get triggered snapshots via URL Download Event-triggered SnapshotsGet triggered snapshots via FTP Channel name Folder nameFile name Value Description Upload snapshots to external FTP server Uploading Snapshots PeriodicallySend snapshots to external Smtp email server Object File name Customize Graphics in Homepage Command format Command Script for Complex Applications Parameter explanation Page Practical examples Command line DescriptionQuery status of digital inputs URL for External Device ControlDrive digital outputs Move motorized camera in PTZ directionSend command to device attached to COM2 Send command to device attached to COM1Transparent Remote Serial Driver Restore Factory Default Settings via URL URL of System MaintenanceDownload System Log via FTP Restart System via URLConfigure System via FTP Viewmode Security Usercount Username 0root Userattr 0video1video2video3video4camctrldidoconf System core debugging Telnet CommandsMonitor changed status of digital inputs Stop information dumpingReset system Restore factory default settingsPower-On-Self-Test TroubleshootingLED pattern after Post Failed function Troubleshooting AppendixReset System recoveryFrequently Asked Questions Page Page Easy way via Installation Wizard Upgrade System FirmwareURL URL Commands of Video ServerHomepage name Referenced URL Resource name Referenced URL System resource URLGet server parameter values General CGI URL syntax and parametersMethod GET/POST Nosync Set server parameter valuesAvailable parameters on the server WirelessVideo Serverwith Pan/Tilt/ZoomYyyy/mm/dd HhmmssSkip to invoke default server 192.168.0.99 Group Security255.255.255.0 LAN Usernameemail Address Group IPFilter255.255.255.255 Ntsc PAL For Ntsc onlyNtsc & Cmos Group Motion1~4Group CAMCTRL1~4 Script.vssx Group Feature Camera model Baud rate Data bits Stop bit Parity bit Settings of Supported PTZ CamerasCamera Control Cable Time Zone Table Page GMT+1000 Hobart Vladivostok GMT+1100 Networking Technical SpecificationsElectromagnetic Compatibility EMC