LevelOne FCS-5030 user manual Query status of the digital input, Donum

Page 97

do<num>

0, 1

0

– inactive, normal state

 

 

1

– active, triggered state

 

 

 

return

<return page>

Redirect to the page <return page> after the parameter

 

 

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

 

 

relative 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

Image 97
Contents LevelOne Page Table of Contents Http Package Content To install in Ethernet Hardware installationWaterproof Process Make connectionsSoftware installation Installation How to Use Installation WizardDestination Location for Installation Page User Interface Using Installation WizardPage Action buttons Function buttons Manual Setup Change root password System SettingChange Host Name Adjust date and time PPPoE Setting Network SettingPage LAN Setting Mobile Access Apply to selected device Upgrade Device Information Select Firmware Firmware InformationStart Upgrade Update progress How to Use Initial Access to the Network CameraCheck Network Settings Add Password to prevent Unauthorized AccessAuthentication Installing plug-in Main Screen with Camera View Primary user’s capabilityPage Digital Zoom Snapshot MP4 RecordingLocal Settings Page Digital output Fine-tuning for Best Performance Administrator’s capabilityFor Viewing by Mobile Phone For Best Real-time Video ImagesOnly Quality Images Will Do Somewhere Between Real-time and Clear ImagesOpening accounts for new use Protect Network Camera by passwordsBuild a security application Software revision upgrade Network type Basic-NetworkLAN & PPPoE Get IP address automatically & Use fixed IP addressPage Audio and Video Video SettingsVideo orientation Audio settings Image Settings Page Privacy Mask Page System User Management Advanced-Network Ddns Rtsp Streaming Two way audioPage IP Filtering Motion detection Event Setup Event Server ServerPage Media Setting Page Recording Page Peripherals System log Maintenance Reset and restore TroubleshootingOverview URL commands of the Network CameraStyle convention Security level General CGI URL syntax and parametersGet server parameter values Method GET/POSTParameter pair Groupname Set server parameter valuesReturn Available parameters on the server NTP server 489 ~Page Page Integer Name Value Security DescriptionGroup doi0~ndo-1 Group dii0~ndi-1Admin Group network Name Value Tilt Build-in ExternalZoom Cmos Providerhostna string128 String128 Logerr Logwarning Lognotice Loginfo Logdebug Description Page Videooutcodec VideoincodecAudiolineout AudioincodecTransmissionmode Page Group serveri0~4 Name String40 Enable Priority Drive the digital output Donum Query status of the digital inputQuery status of the digital output Capture single snapshot ResolutionAccount management ChannelSystem logs Http//servername/cgi-bin/admin/syslog.cgiIP filtering Upgrade firmwareRtsp SDP Page Networking SpecificationsEMI & Safety MPEG-4 AAC Technology Technology License NoticePage Liability Electromagnetic Compatibility EMCGNU General Public License GNU General Public License Page Page Page No Warranty