●HTML Sample File [nsmainview1.html]
<HTML>
<HEAD></HEAD>
<BODY BGCOLOR=”#FFFFCC”> <CENTER>
<SCRIPT LANGUAGE=”JavaScript”> width=%W
height=%H
myDate = new Date();
document.write(“<IMG
</SCRIPT>z </CENTER>
</BODY>
</HTML
zThis is to request a new image in push mode. The page number of the argument is added for nullifying the cache.
■Camera Operation
●CGI functions related to camera operation
The
The following commands can be selected at a time. (Example: PAN and TILT can be operated in a combined manner.)
CGI item | URL | Parameter name | Parameter | Parameter |
|
|
|
|
|
Camera | CHSEL | Selecting a video channel | ||
control |
|
|
| Random Camera mode: Enabled |
|
|
|
| Multi Camera/Fixed Camera mode: Disabled |
|
|
|
|
|
|
| CH | Selecting a camera to be controlled in the Multi | |
|
|
|
| Camera mode |
|
|
|
| Random Camera and Fixed Camera modes are |
|
|
|
| ineffective even if they are selected, and com- |
|
|
|
| mands are applied only to the CH displayed. |
|
|
|
|
|
|
| PRESET | 0: Calling a home position | |
|
|
|
| 1 to 64: Calling a preset position |
|
|
|
|
|
|
| PAN | PAN & STOP | |
|
|
|
| Negative: Left, Positive: Right |
|
|
|
| The moving distance is in proportion to their |
|
|
|
| absolute values. |
|
|
|
|
|
|
| TILT | TILT & STOP | |
|
|
|
| Negative: Down, Positive: Up |
|
|
|
| The moving distance is in proportion to their |
|
|
|
| absolute values. |
|
|
|
|
|
|
| ZOOM | ZOOM | |
|
|
|
| Negative: Wide, Positive: Tele |
|
|
|
| Zooming ratio is in proportion to their absolute val- |
|
|
|
| ues. |
|
|
|
|
|
|
| ATPAN | on, off | Turning ON/OFF of auto pan |
|
|
|
|
|
|
| AF | on | Auto Focus |
|
|
|
|
|
|
| FOCUS | Focus | |
|
|
|
| Negative: Near, Positive: Far |
|
|
|
| Focusing ratio is in proportion to their absolute val- |
|
|
|
| ues. |
|
|
|
|
|
|
| IRIS | Iris | |
|
|
|
| Negative: Close, Positive: Open, 0: Reset |
|
|
|
| The |
|
|
|
| absolute values. |
|
| FILE | file name | Specifies the file name when the user wants to dis- |
|
|
|
| play a different image after performing a camera |
|
|
|
| control operation. If the parameter is omitted, the |
|
|
|
| image displayed on the screen is not changed. |
74