Omega Engineering i.BTX-M manual Httpget using Port, Response

Page 32
where: -r–S *SRT

4.5.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 “*SRTC\r” 192.168.1.200:1000

are parameters needed for the command string is the command as the following:

*SRTC Read the temperature in C *SRTF Read the temperature in F *SRHb Read the pressure in mbar / hPa. *SRHi Read the pressure in inHg (Mercury). *SRHm Read the pressure in mmHg (Mercury).

*SRA Read the SP1 and SP2

*SRB Read the temperature and barometric pressure *SRYS Indicate Power to be on AC or DC *SRYRST Reset Power on iServer

\r is the carriage return termination character 192.168.1.200 is an IP address

1000 is a socket port number

Response:

076.6 (in Deg.F format)

28

Image 32
Contents User’s Guide OMEGAnet On-Line Service Internet e-mail Info@omega.com Servicing North AmericaTable of Contents List of Figures IServer and iLD Big Display on the Ethernet NetworkFeatures Part Introduction Computer with Standard Web Browser Mounting DIP SwitchesPart 2 Hardware Parts of the iServer Unit Parts of the iServer Unit Parts of iServer UnitDisassembly Instruction Opening the Unit2 10Base-T Crossover Wiring Relay Wiring ConnectionsRunning on Battery Power Network Communication Interfaces 1 10Base-T RJ-45 PinoutEthernet MAC Address Part Network ConfigurationNetwork Protocols Dhcp IP AddressExample C\Telnet 192.168.1.200 Default IP AddressPort Number Testing the Connection Part OperationsAssigning an IP Address using iCONNECT ICONNECT SoftwareSetting a New IP Address over the Network Access ControlSetup and Operation using the iServer Web IServer HomeRead Sensor Java Runtime Environment 1.4 Setup instructions Read SensorDiagnostics Java Runtime Environment 1.5 5.0 Setup instructionsAccessing iServer units using the internet Adjustable Chart Pressure/TempRetrieving Data from Flash Option10 Access Control Host Name Refer to .4, DNSConfiguration #1 RTC is not set and Flash Card is empty#2 RTC is set, and recording is in progress #4 RTC is not set and the Flash Card is not empty11 Configuration Sensor/Device SetupReal Time Clock THi/Lo BHi/Lo BHi/Hi BLo/Hi BLo/LoFlash Recording Terminal Server Remote Access Remote End Char Sensor ParametersT75.7F P1014.9mbar Telnet Setup Httpget ProgramHttpget using Port ResponseHttpget -r -S 00000000 Where Httpget and ARP to setup Device IP AddressApr -s 192.168.1.200 00-03-34-00-00-06-b6 14 ARP Commands and Responses ARP ProtocolILOG Software 15 iLOG Software Logging DataInstallation Mail Notifier Software17 iServer Mail Notifier Profile Setup Email Connection Mapi AccessDevice Setting and Configuration Device setup requires 18 iServer Mail Notifier Device SettingPart 5 Specifications Temperature TPower PackagingRemote Access Tunneling Network InterfaceAppendix a Glossary Appendix B IP Address Appendix C IP Netmask Mask Dotted Notation Mask Binary Mask Bits Class aClass B Class CAppendix D Ascii Chart AsciiDec Hex Binary Dec Hex Binary Char No Parity No parityAppendix D Ascii Chart Continuation Ascii Control CodesDec Hex Ctrl Key Definition Dec Hex Ctrl Key Definition Char EquivPart Approvals Information CE Approval Measurement CategoryWARRANTY/DISCLAIMER Shop on line at omega.com