4XEM IPCAMWFD manual Query status of the digital output

Page 80

Syntax:

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

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

[di1=<state>]\r\n [di2=<state>]\r\n [di3=<state>]\r\n [di4=<state>]\r\n

where <state> can be H or L.

Example: Query the status of digital input 1

Request:

http://myserver/cgi-bin/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=H\r\n

Query status of the digital output

Note: This request requires the privilege of I/O access control.

Method: GET/POST

Syntax:

http://<servername>/cgi-bin/getdo.cgi?[do1][&do2][&do3][&do4]

- 76 -

Image 80
Contents Page Page Before You Use This Product Package Contents Table of Contents Smtp FTP AppendixPage Hardware Installation Ethernet ConnectionMount the Camera Page Page Page Software Installation Page Page Page Initial Access to the Network Camera Installing Plug-inCheck Network Settings Add Password to Prevent Unauthorized AccessHow to Use AuthenticationPrimary User’s Capabilities Main Screen with Camera ViewConfiguration Camera viewClient Settings BothPage Administrator’s Capabilities Fine-tuning for Best PerformanceOnly Quality Images Will Do Somewhere Between Real-time and Clear ImagesFor Best Real-time Video Images Select for Motion Jpeg Protect Network Camera by Passwords Opening Accounts for New UsersDemo on Multiple Sites Mid-scale Service Product Demo for E-business Large-scale ServiceIf the web space has FTP service Build a Multimedia Web Attraction SitePage If the web space has no FTP service Image URL Send Snapshots When Motion is Detected Build a Security ApplicationPage Definitions in Configuration System Parameters User Group Administration Page Edit User Network Settings GeneralStreaming Ddns & UPnP Page Mail & FTP SmtpPage Page Video Codec Parameters Page Image Settings Contrast Hue SaturationCamera Settings Audio Page Motion Detection Event Operation Application SetupWeekly Schedule Sequential Operation Naming rule of snapshot file FTPPage Viewing System Parameters Factory DefaultViewing System Log Troubleshooting AppendixFrequently Asked Questions Page Page Style convention URL commands of Network CameraOverview Method GET/POST General CGI URL syntax and parametersGet server parameter values Set server parameter values Parameter pairParameter pair WirelessNetwork Camera With Pan/Tilt/Zoom Skip to invoke default serverAvailable parameters on the server Yyyy/mm/ddNTP 255.255.255.0 Group Security192.168.0.99 Dns1 IP address Primary DNS server 5003 5002For Ntsc only 120384000 8000 Save Directly save the adjust image Parameters Group CCD Ntsc & Cmos Script.vssx Application page CGI command Sun Dihigh Drive the digital output Query status of the digital inputQuery status of the digital output Capture single snapshot Account management EditSystem logs Privilege=dido&privilege=listenConfiguration file System InformationPage Preset Locations Technical Specifications Networking