VIVOTEK
User's Manual - 413
© 2022 VIVOTEK INC. All Right Reserved
264
Return:
HTTP/1.0200OK\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>canbe0or1.
Example:Querythestatusofdigitalinput#1.
Request:
http://myserver/cgi‐bin/dido/getdi.cgi?di0
Response:
HTTP/1.0200OK\r\n
Content‐Type:text/plain\r\n
Content‐Length:7\r\n
\r\n
di0=1\r\n
8.3 QueryStatusoftheDigitalOutput(capability_ndo>0)
Note:Thisre questrequiresViewerprivileges
Method:GET/POST
Synta x:
http://<servername>/cgi‐bin/dido/getdo.cgi?[do0][&do1][&do2][&do3]
Ifnoparameterisspecified,allthedigitaloutputstatuseswillbereturned.
Return:
HTTP/1.0200OK\r\n
Content‐Type:text/plain\r\n
Content‐Length:<length>\r\n
\r\n
[do0=<state>]\r\n