34
4.8 HTTPget Program
The HTTPget software is used to send a single HTTP or TCP request to an iServer
product. In contrast, the telnet or Hyperterminal programs allow a continuous
connection with multiple requests to be sent to the iServer product.
Generally HTTPget is used for simply programming an IP address to the iServer or for
quickly obtaining a reading of from a device.
The iServer product must be configured from the configuration web page so that the
"Server Type" value is set to "Command" (this is positioned under the heading of
Terminal Server).
The
Number of Connections
may need to be set to "0" to enable Port 1000 (Port 1000 is
for access in a non-standard terminal mode).
To use Port 2000 access (where "2000" is the value stored in "Port"), the
Number of
Connections
should be set to "2" for general usage.
The value of 2 can later be changed to a value from 1 to 5 depending on needs for
secure access or fault tolerance.
Whenever Terminal Server service (using Port 2000 by default) is required, the
Number
of Connections
must be set to a value from 1 to 5. The Terminal Server mode is the
recommended mode for the most reliable connection when operating with our software
or with other programs supporting TCPIP communications.
The Port 1000 access can be used with our software and may be needed with some
iServer products when you need to view readings from the web page while
simultaneously collecting data through TCPIP communications.
4.8.1 HTTPget Program using Port 1000
You can setup and read the information from the iServer by using the HTTPget program.
The following program can be used to read data from the serial device connected to the
iServer by using TCP port
1000
. The command string is sent to this TCP port, then the
response can be read back from the same port.
The iServer does not add to, or subtract from, the data, it is simply passing it between
the network and the serial ports.
The HTTPget.exe file is used to setup and read information from the iServer. This file will
be automatically installed when you install the Mail Notifier software available on our
website and CD.
In order to use port
1000
, in the Configuration page of the iServer you must set
“Number of Connections” to
0
.
In this case the port number will change to
1000
regardless of what the port
number already is.
Notes on using
HTTPget
:
The HTTPget.exe program is installed to the windows directory (usually c:\winnt or
c:\windows) when installing the Mail Notifier software.
1. Open up a command window (or have a DOS window)
a) Click on start menu
b) Click on "Run"
c) In the dialog box that appears, type "cmd" or "command" and click on "OK" button.
d) A command window should now appear.