Httpget Program; Httpget Using Port 1000 - Omega iServer Microserver User Manual

Table of Contents

Advertisement

4.9 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). Also 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 # of
connections/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
NEWPORT software or with other programs supporting TCPIP communications. The
Port 1000 access can be used with NEWPORT 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.9.1 HTTPGET 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 embedded server
firmware by using TCP port 1000. The command string is sent to this TCP port, then the
response can be read back from the same socket.
The Httpget.exe file is used to setup and read information from the iServer. This file will
be automatically installed when you install the MailNotifier software available on our
website and CD.
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.
2. If you now type "httpget" and press the "enter" key, the program options should be
displayed.
3. Next run httpget with the options displayed below
httpget -r -S "*SRA" 192.168.1.96:1000
then:
httpget -r -S "*SRB" 192.168.1.96:1000
and:
httpget -r -S "*SRP" 192.168.1.96:1000
46

Advertisement

Table of Contents
loading

Table of Contents