HTTP Server

<< Click to Display Table of Contents >>

Navigation:  Settings > Devices > Scale > Server >

HTTP Server

To enable HTTP Server, set the Port property to an open TCP port. Set the Port property to 0 to disable the HTTP Server.

 

Update interval controls how often the page will be refreshed.

 

clip0417

 

Here's an example of the HTTP Server page:

 

clip0418

 

Here is the page source code for the example (note the highlighted section):

 

<html>

<head>

<title>Scale1</title>

<script type="text/JavaScript">

<!--

function timedRefresh(timeoutPeriod) {

setTimeout("location.reload(true);",timeoutPeriod);

}

-->

</script>

</head>

<body onload="JavaScript:timedRefresh(2500);">

<p style="font-size:x-large;font-weight:bold;">28610</p>

<p>^B'   28610 KG GR  '^M^J</p>

<ul style="list-style:none;padding:0;">

<li>Scale1</li>

<li>drafting1-PC</li>

<li>192.168.7.102:4456</li>

<li>2021-09-15 7:14:25 PM</li>

<li>Update interval (ms):&nbsp;2500</li>

</ul>

<p><a href="https://en.wikipedia.org/wiki/ASCII" target="_blank">ASCII control codes</a></p>

</body>

</html>