Axis 2401 - PHP3 GUIDE Informazioni Techniche Pagina 28

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 27
An Introduction to PHP3
Axis Communications AB provides NO support for application development of any kind. The information
here is provided "as is", and there is no guarantee that any of the examples shown will work in your
particular application.
Revision 1.02 October 2002 28
break;
case 6: // Down
fopen("http://127.0.0.1/axis-
cgi/com/serial.cgi?port=1\&write=FF020010003F51","w");
usleep(100000); // Wait 0.1 seconds
fopen("http://127.0.0.1/axis-
cgi/com/serial.cgi?port=1\&write=FF020000000002","w");
break;
case 7: // Down Left
fopen("http://127.0.0.1/axis-
cgi/com/serial.cgi?port=1\&write=FF020010003F51","w");
fopen("http://127.0.0.1/axis-
cgi/com/serial.cgi?port=1\&write=FF0200043F0045","w");
usleep(100000); // Wait 0.1 seconds
fopen("http://127.0.0.1/axis-
cgi/com/serial.cgi?port=1\&write=FF020000000002","w");
break;
case 8: // Left
fopen("http://127.0.0.1/axis-
cgi/com/serial.cgi?port=1\&write=FF0200043F0045","w");
usleep(100000); // Wait 0.1 seconds
fopen("http://127.0.0.1/axis-
cgi/com/serial.cgi?port=1\&write=FF020000000002","w");
break;
case 9: // Zoom Out
fopen("http://127.0.0.1/axis-
cgi/com/serial.cgi?port=1\&write=FF020040000042","w");
usleep(1000000); // Wait 0.1 seconds
fopen("http://127.0.0.1/axis-
cgi/com/serial.cgi?port=1\&write=FF020000000002","w");
break;
case 10: // Zoom In
fopen("http://127.0.0.1/axis-
cgi/com/serial.cgi?port=1\&write=FF020020000022","w");
usleep(1000000); // Wait 0.1 seconds
fopen("http://127.0.0.1/axis-
cgi/com/serial.cgi?port=1\&write=FF020000000002","w");
break;
}
printf(" "); //Return data to avoid the popup windows saying
"Document contains no data"
?>
Vedere la pagina 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 84 85

Commenti su questo manuale

Nessun commento