VIVOTEK

8.20 Senddata (capability.nuart > 0)

Note: This request requires Viewer privileges.

Method: GET/POST

Syntax:

http://<servername>/cgi-bin/viewer/senddata.cgi? [com=<value>][&data=<value>][&flush=<value>] [&wait=<value>] [&read=<value>]

PARAMETER

 

VALUE

 

DESCRIPTION

 

com

 

1

~ <max. com port

 

The target COM/RS485 port number.

 

 

 

number>

 

 

 

 

 

 

 

 

 

data

 

<hex decimal

 

The <hex decimal data> is a series of digits from 0 ~ 9, A ~ F.

 

 

 

data>[,<hex decimal

 

Each comma separates the commands by 200 milliseconds.

 

 

 

data>]

 

 

 

 

 

 

 

 

 

flush

 

yes,no

 

yes: Receive data buffer of the COM port will be cleared before

 

 

 

 

 

 

read.

 

 

 

 

 

 

no: Do not clear the receive data buffer.

 

 

 

 

 

 

 

 

wait

 

1

~ 65535

 

Wait time in milliseconds before read data.

 

 

 

 

 

 

 

 

read

 

1

~ 128

 

The data length in bytes to read. The read data will be in the

 

 

 

 

 

 

return page.

 

 

 

 

 

 

 

 

Return:

HTTP/1.0 200 OK\r\n Content-Type: text/plain\r\n

Content-Length: <system information length>\r\n \r\n

<hex decimal data>\r\n

Where hexadecimal data is digits from 0 ~ 9, A ~ F.

User's Manual - 187

Page 187
Image 187
Vivotek IP8162 manual Senddata capability.nuart, Parameter Value Description