Vivotek 4X-IP7142 manual Drive the digital output, Query status of the digital input

Page 86

VIVOTEK - A Leading Provider of Multimedia Communication Solutions

Drive the digital output

Note: This request requires the privilege of viewer.

Method: GET/POST

Syntax:

http://<servername>/cgi-bin/dido/setdo.cgi?do1=<state>[&do2=<state>][&do3=<state>][&do4=<state>] [&return=<return page>]

Where state is 0, 1. “0” means inactive or normal state while “1” means active or triggered state.

Parameter

Value

Description

do<num>

0,

0

=> inactive, normal state

1

1

=> active, triggered state

 

 

 

Redirect to the page <return page> after the parameter

return

<return page>

is assigned. The <return page> can be a full URL path or

relative path according the current path. If you omit this

 

 

 

 

parameter, it will redirect to an empty page.

Example: Drive the digital output 1 to triggered state and redirect to an empty page

http://myserver/cgi-bin/dido/setdo.cgi?do1=1

Query status of the digital input

Note: This request requires the privilege of viewer.

Method: GET/POST

Syntax:

http://<servername>/cgi-bin/dido/getdi.cgi?[di0][&di1][&di2][&di3]

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

Return:

HTTP/1.0 200 OK\r\n Content-Type: text/plain\r\n Content-Length: <length>\r\n \r\n

[di0=<state>]\r\n

[di1=<state>]\r\n

[di2=<state>]\r\n

[di3=<state>]\r\n

where <state> can be 0 or 1.

Example: Query the status of digital input 1

86 - User's Manual

Image 86
Contents Page Table of Contents Package contents Read before useConnectors Physical descriptionDI/DO Diagram Hardware installation Hardware ResetWall mount Ceiling mount Ethernet switch Network deploymentInternet connection with static IP Set up the Network Camera through Power over Ethernet PoE Software installation 0002D17142ADAccessing the Network Camera Using web browsersPage Using Rtsp players Using 3GPP-compatible mobile devices MPEG-4Using Vivotek recording software Main Live Video Window Video title Title and time Client Settings MP4 Saving Options System Time SystemSystem DI and do Add User Root PasswordSecurity Manage UserEnable Https Create and Install CertificateTo create a self-signed certificate Certificate Information Network Network TypePPPoE Point-to-point over Ethernet Page Http Https Two way audioFTP Rtsp Streaming Page Ddns Dynamic domain name service DdnsCustomSafe100 Delete allowed list / Delete denied list Access listAllowed list / Denied list Video settings Audio and videoImage Settings Privacy mask Page Page Audio settings To enable motion detection, follow the steps below Motion detectionPercentage = 30% RS485 Settings Camera controlPreset Position Custom CommandNetwork Camera Media Settings ApplicationSnapshot20080104100341 Server Settings Page Page Event Settings Page Recording Settings RecordingPage Current Log System logRemote Log View parameters Restore MaintenanceReboot Upload / Export Daylight Saving Time Configuration File Upgrade Firmware Page Style convention URL Commands of the Network CameraOverview Get server parameter values General CGI URL syntax and parametersSecurity level Method GET/POSTSet server parameter values Page Available parameters on the server Timezoneindex 489 ~ Group dii0~ndi-1 Group doi0~ndo-1Group security Subgroup of network httpSubgroup of network pppoe Subgroup of network httpsSubgroup of network rtsp Group ipfilter Page Page Adjust saturation of image according to mode settings Group upnppresentation Group upnpportforwarding= Logalert = Logcrit Even Group uarti0~n-1 n is uart port countGroup capability Group eventi0~2 Group serveri0~4 Group mediai0~4 Group recordingi0~1To enable or disable this recoding Drive the digital output Query status of the digital inputQuery status of the digital output Capture single snapshotAccount management System Information Upgrade firmwareSystem logs Method PostIP filtering Method GET/POSTSenddata Get SDP of StreamingsOpen the network streamings Page Technical Specifications LensTechnology License Notice Electromagnetic Compatibility EMC