4-14
Remote Control
Performing a Measurement
service has been successfully started and the correct
.rhosts
files exist on both
the remote machine and the measurement computer, the message client and
server may communicate.
Initiation of the
MsgCenter
part of the test executive on the measurement com-
puter is accomplished by issuing the “rsh” command on the remote computer
along with the name of the test program and the appropriate UserID and pass-
word. Note, the
rsh.exe
file is normally installed in the “system32 directory dur-
ing the installation of networking under Windows NT 4.0. More information on
rsh commands may be obtained from the MS Windows NT documentation.
The correct syntax is in the example file and is shown below:
"rsh.exe " & remote_machine & " -l " & login_name & " c:\hpcd\cd_shell.exe " & "-userid " & userid & " -
passwd " & passwd & " -quiet -host " & local_machine & " -port " & PORT
The correct user ID and password to use for remote operation of the measure-
ment computer are
remote_user
and
HPCD
respectively, as shown in the example
file.
The communication package,
MsgCenter
, in the test executive control program
is called a “server” in TCP/IP terms because the socket is started in Listen
Mode awaiting a message from a Client, in our case the user software running
on the remote machine. Since the development of the remote test control pro-
gram is the responsibility of the user, HP provides only a simple example con-
trol program that demonstrates the use of the communication function to
connect to
MsgCenter
, start a given test, abort a running test, and close
Msg-
Center
.
The Message Server and the Message Client communicate over socket 4444.
All messages between the two programs, the client and server, are variable
length character strings. The first six characters of these messages contain the
total length of the message. The maximum length of a single transmission is
currently set at 8096 bytes. A message can involve multiple transmissions.
The control program on the remote machine can send the following fixed mes-
sages:
“000015@@ABORT@@”
“000016@@CANCEL@@”
“000014@@STOP@@”
The ‘@’ is used to avoid confusion with other messages between the programs.
The other messages from the remote control program to the system specify
the running of specific tests. These have the following format:
Six characters containing the total length followed by “testplan:” followed by
test_plan_name.
Содержание 86037B
Страница 1: ...User s Guide HP 86037B Chromatic Dispersion Test System ...
Страница 31: ...2 13 Operation The Main Window Figure 2 4 Repeat Measurement Selector ...
Страница 72: ...3 16 Normalization Setting Normalization Preferences ...
Страница 94: ...4 22 Remote Control TES Parameters Main chromatic dispersion screen ...
Страница 100: ...4 28 Remote Control TES Parameters CD and Gain Measurement Settings Dialog Box ...
Страница 102: ...4 30 Remote Control TES Parameters Length Measurement Settings Dialog Box ...
Страница 104: ...4 32 Remote Control TES Parameters Normalization Settings Dialog Box ...
Страница 106: ...4 34 Remote Control TES Parameters New Normalization Button Dialog Box ...
Страница 120: ...4 48 Remote Control Output Parameters ...
Страница 158: ...5 38 Maintenance Hewlett Packard Sales and Service Offices ...
Страница 165: ...6 7 Installation Installation 2 3 4 5 1 8 7 Fan Pack 6 6 Power Distribution Assembly 1 7 Power Distribution Assembly 2 ...
Страница 170: ...6 12 Installation Installation ...
Страница 174: ...7 4 Reference Theory of Operation Figure 7 3 HP 86037B Block Diagram Options 121 and 122 ...
Страница 175: ...7 5 Reference Theory of Operation Figure 7 4 The HP 86037B Option 114 block diagram ...
Страница 190: ...7 20 Reference System Options ...
Страница 191: ...8 Specifications 8 3 Regulatory Information 8 7 Specifications and Regulatory Information ...
Страница 198: ...8 8 Specifications and Regulatory Information Regulatory Information Declaration of Conformity ...
Страница 204: ...Index 6 Index ...