VPort 2141 Video Encoder User’s Manual
Advanced Applications
5-9
Send command to device attached to COM1
/
cgi-bin/senddata.cgi?com=1&data=123456,ABCDEF&flush=yes&wait=1000&read=6
This hyperlink will inform the VPort 2141 to send out binary format commands to COM1 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 the COM port must be cleared
before it is 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 the returned homepage as 414243 instead of ABC.
Send command to device attached to COM2
/cgi-bin/senddata.cgi?com=2&data=123456,,,ABCDEF
This hyperlink will inform the VPort 2141 to send a binary format command to COM2 with “0x12,
0x34, 0x56” followed by “0xAB, 0xCD, 0xEF” after 600 milliseconds.
URL Commands for System Maintenance
Downloading the System Log by FTP
In addition to viewing the system log from the web page, administrators can download the system
log file, SYSTEM.LOG, via FTP. To log into the FTP daemon, enter “root” as the user name and
the administrator password used for Web access.
Restarting the System by URL
/cgi-bin/reset.cgi
The above command restarts the VPort 2141 without warning.
Restoring Factory Default Settings by URL
/cgi-bin/restore.cgi
The VPort 2141 will automatically restart after restoring factory default configurations.