Figure 4.23 Example Of Using Httpget Program - Omega iServer Microserver User Manual

Table of Contents

Advertisement

4.9.1 HTTPGET using Port 1000 (continued)
where:
-r –S
are parameters needed for the command string
*SRA
is the read command (of Channel A) in the first line.
*SRB
is the read command (of Channel B) in the second line.
*SRP
is the read command (of data string including configuration and all reading
values) in the third line.
192.168.1.96 is an IP address
1000
is a socket port number
Response: located right after each command line executed
384.8
value of Channel A input
212.9
value of Channel B input
a=A-B Fmode ; b=596.3;c=383.7;d=212.6;e=Dual F.Counter;
f=Hz;g=111;h=0.0;I=0.0;j=0;k=0;l=+;m=05:55:56 Jan,03 2003.
Refer to Table 4.1.
C:Windows\System32\cmd.exe
C:\
C:\>Httpget -r -S "*SRA" 192.168.1.96:1000
384.8
C:\>Httpget -r -S "*SRB" 192.168.1.96:1000
212.9
C:\>Httpget -r -S "*SRP" 192.168.1.96:1000
a=A-B F Mode ;b=596.3;c=383.7;d=212.6;e=Dual F.Counter;f=HZ;g=111;h=0.0;i=0.0;j=0;k=0;l=+;m=05:55:56 Jan,03 2003;
C:\>
Figure 4.23 An Example of using Httpget Program
47

Advertisement

Table of Contents
loading

Table of Contents