VIVOTEK VS3102 Manuel D’Utilisation

Page de 98
 
 
 
 
 
 
 
 
 
 
www.vivotek.com
 
  
T: 
886-2-22404099 
  
F: 
886-2-22404097 
 
 
 
 
 
 
 
82
Clear data mode serial port driver 
This URL applies to the attached serial port device including supported PTZ cameras or non-supported 
custom cameras. Note the serial port settings of custom cameras must be correctly defined in advance. 
Send command to device attached to COM 
/cgi-bin/senddata.cgi?data=123456,ABCDEF&flush=yes&wait=1000&read=6 
This hyperlink will inform VisualServer to send out binary format commands to the COM with “0x12, 
0x34, 0x56” followed by “0xAB, 0xCD, 0xEF”. Each comma separates the commands by 200 
milliseconds. “flush=yes” means the receive data buffer of COM port must be cleared before read. Then 
read 6 bytes after waiting for 1000 milliseconds. The read data can be up to 128 bytes and will return as 
ASCII coded hexadecimal value, e.g., 0x41, 0x42, 0x43 read from COM port will show in returned 
homepage as 414243 instead of ABC. 
 
Restore factory default settings 
/setup/restore.cgi 
VisualServer will automatically restart after restoring factory default configurations. 
 
Restart system 
/setup/reset.cgi 
Restart VisualServer without warning.