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

Page 49
Image 49
Vivotek VS2403 manual URL for External Device Control, Query status of digital inputs, Drive digital outputs