Vivotek PZ7122 manual Query status of the digital input, Http//myserver/cgi-bin/dido/getdi.cgi?di1

Page 107

VIVOTEK - A Leading Provider of Multimedia Communication Solutions

path according the 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

Request:

http://myserver/cgi-bin/dido/getdi.cgi?di1

Response:

HTTP/1.0 200 OK\r\n Content-Type: text/plain\r\n Content-Length: 7\r\n \r\n

di1=1\r\n

User's Manual - 107

Image 107
Contents IP Surveillance Table of Contents Read before use Package contentsRear panel Physical descriptionDI/DO Diagram Hardware Reset Hardware installation InstallationNetwork deployment Setup the Network Camera over the InternetInternet connection with static IP Set up the Network Camera through Power over Ethernet PoE Network Camera Software installationUsing web browsers Accessing the Network CameraPage Using Rtsp players MPEG-4 Using 3GPP-compatible mobile devicesUsing Vivotek recording software Main Configuration area Page Video control buttons Drop-down list of preset positions Client Settings MP4 Saving Options Configuration System SystemDI and do System TimeManage Privilege Root PasswordSecurity Manage UserCreate and Install Certificate Method Enable HttpsHttps Create self-signed certificate manually Page Page Network Type NetworkPPPoE Point-to-point over Ethernet Page LAN Http//192.168.4.160 or Http//192.168.4.1608080 Two way audio HttpsFTP Rtsp Streaming Page Wireless LAN PZ7112/PZ7122 only Page Page Ddns Ddns Dynamic domain name serviceCustomSafe100 Delete allowed list / Delete denied list Access listAllowed list / Denied list Audio and video Video SettingsImage Settings Advanced mode CCD Adjustment Advanced mode Video quality settings for stream 1 / stream 2 Advanced mode Ntsc Audio settings Motion detection Follow the steps below to enable motion detectionPercentage = 30% Zoom times display Preset PositionCamera control Zoom Patrol SettingsDwelling time sec Return to home position while idleLogo graph Homepage layoutPreview Theme options Page Application Event SettingsTrigger Event Schedule Page Page Server Type Server SettingsPage Page Media Type Media SettingsFor example Recording Recording SettingsRecording Settings Recorded files on Network Storage Current Log System logRemote Log View parameters Restore MaintenanceReboot Upgrade Firmware Export / Upload Files Page Appendix URL Commands of the Network CameraMethod GET/POST General CGI URL syntax and parametersSecurity level Get server parameter valuesParameter pair Return Set server parameter valuesGroupname Valid Values Description Available parameters on the server480 ~ Page New Delhi When cooperating with others, Group dii0~ndi-1 MODEL-BRAND-VERSIONGroup security Group doi0~ndo-1Name Value Group wireless Group ipfilter HEX, AsciiAllowi0~9end 0.0 ~ Qcif 16000 = 16 Kbps Group upnppresentation DHSGroup upnpportforwarding Group capability 1support Jpeg Parameter Value Security Description Group eventi0~2One bit represents one digital input. The LSB Group serveri0~4 Group mediai0~4mediafreespace is used internally Name Value Security Description Donum Drive the digital outputHttp//myserver/cgi-bin/dido/getdi.cgi?di1 Query status of the digital inputCapture single snapshot Query status of the digital outputQuality ResolutionAccount management ChannelPost data Upgrade firmwareSystem logs Camera Control Recall System Information Preset LocationsMethod Addallow IP filteringOpen the network streamings Get SDP of StreamingsPan/Tilt/Zoom Technical SpecificationsTechnology License Notice Electromagnetic Compatibility EMC
Related manuals
Manual 126 pages 46.97 Kb