EasyManua.ls Logo

Omega iServer MicroServer iTHX-SD - Httpget Using Port 2000

Omega iServer MicroServer iTHX-SD
82 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
48
4.9.1 HTTPget using Port 2000
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 iServer by using TCP port
2000. 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 can be downloaded from the website listed on the cover of this manual (software
section).
Notes on using HTTPget :
The HTTPget.exe program should be installed to the windows directory (usually c:\winnt
or c:\windows)
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 “*SRTC\r” 192.168.1.200:2000
where:
-r –S are parameters needed for the command string
*SRTC is the command:
\r is the carriage return termination character
192.168.1.200 is an IP address
2000 is a socket port number
Response:
076.6 (in Deg.F format)
*SRT/*SRTC Get Temperature Reading in Celsius from Probe 1
*SRT2/*SRTC2 Get Temperature Reading in Celsius from Probe 2
*SRT3/*SRTC3 Get Temperature Reading in Celsius from Probe 1 and 2;
separated by a semi-colon
*SRTF Get Temperature Reading in Fahrenheit from Probe 1
*SRTF2 Get Temperature Reading in Fahrenheit from Probe 2
*SRTF3 Get Temperature Reading in Fahrenheit from Probe 1 and 2;
separated by a semi-colon
*SRH Get Humidity (%) Reading from Probe 1
*SRH2 Get Humidity (%) Reading from Probe 2
*SRH3 Get Humidity (%) Reading from Probe 1 and 2; separated by a
semi-colon
*SRD/*SRDC Get Dewpoint Reading in Celsius from Probe 1
*SRD2/*SRDC2 Get Dewpoint Reading in Celsius from Probe 2
*SRD3/*SRDC3 Get Dewpoint Reading in Celsius from Probe 1 and 2; separated
by a semi-colon

Table of Contents

Related product manuals