VIVOTEK
User's Manual - 419
© 2019 VIVOTEK INC. All Right Reserved
284
Example:
http://myserver/cgi-bin/admin/optimizedir.cgi?channel=0&operation=settoall&irmode=manual&str
ength=100
Response:
HTTP/1.0 200 OK\r\n
Cache-control: no-cache\r\n
Pragma: no-cache\r\n
\r\n
"optimizedir_c0_irstrength='100,100,100,100,100'"
"optimizedir_c0_irmode='manual'"
Example:
http://myserver/cgi-bin/admin/optimizedir.cgi?channel=0&operation=set&irmode=auto&strength=
50,70,50,50,50
Response:
HTTP/1.0 200 OK\r\n
Cache-control: no-cache\r\n
Pragma: no-cache\r\n
\r\n
ERROR: Parameter "irmode" must be set as "manual"!
Example:
http://myserver/cgi-bin/admin/optimizedir.cgi?channel=0&operation=set&strength=50,70,50,50,50
Response:
HTTP/1.0 200 OK\r\n
Cache-control: no-cache\r\n
Pragma: no-cache\r\n
\r\n
ERROR: Must have the "irmode=manual" argument!
Syntax:
(for query API)
© 2019 VIVOTEK INC. All Right Reserved
285
http://<servername>/cgi-bin/admin/optimizedir.cgi?channel=<value>&operation=get
[&support_irmode]
–
list all adjustment mode that IR supports
[&irmode]
–
Get current IR mode
[&irnum]
–
Get the number of IR zone
PARAMETER
VALUE
DESCRIPTION
channel
0~"capability_nvideoin"-1 Channel of the video source.
support_irmode
N/A
List all adjustment mode that IR supports
irmode
N/A
Get the current IR control mode.
irnum
N/A
Get the number of IR that camera supports.
Example:
http://myserver/cgi-bin/admin/optimizedir.cgi?channel=0&operation=get&irmode
Response:
HTTP/1.0 200 OK\r\n
Cache-control: no-cache\r\n
Pragma: no-cache\r\n
\r\n
"optimizedir_c0_irmode='auto'"
8.37
Lens Thermal Control
(capabiltiy_image_c<0~(n-1)>_sensortype=thermalsensor)
Note:
This request requires Administrator privileges.
Method:
GET/POST
Syntax:
(for control API)
http://<
servername
>/cgi-bin/admin/thermalctrl.cgi?operation=set
&action=<value>
Example:
http://myserver/cgi-bin/admin/thermalctrl.cgi?operation=set&action=shuttercompensate
Response:
HTTP/1.0 200 OK\r\n
Cache-control: no-cache\r\n
Pragma: no-cache\r\n