All rights reserved.
Reproduction, adaption,
or translation without prior
written permission is
prohibited, except as
allowed under the
copyright laws.
HP Part No. 37717-90430
First edition, 11/98
Printed in U.K.
Warranty
The information contained
in this document is subject
to change without notice.
Hewlett-Packard makes no
warranty of any kind with
regard to this material,
including, but not limited
to, the implied warranties
or merchantability and
fitness for a particular
purpose.
Hewlett-Packard shall not
be liable for errors
contained herein or for
incidental or
consequential damages in
connection with the
furnishing, performance,
or use of this material.
WARNING
Warning Symbols Used
on the Product
!
The product is marked
with this symbol when the
user should refer to the
instruction manual in order
to protect the apparatus
against damage.
The product is marked
with this symbol to
indicate that hazardous
voltages are present
The product is marked
with this symbol to
indicate that a laser is
fitted. The user should
refer to the laser safety
information in the
Calibration Manual.
Hewlett-Packard Limited
Telecommunications Networks Test Division
South Queensferry
West Lothian, Scotland EH30 9TG
Remote Control Manual
HP Part Number 37717-90430
Printed in U.K. November 1998
HP 37717C Communications
Performance Analyzer
In This Book
This manual contains all the information necessary for remote control of the HP
37717C Communications Performance Analyzer.
4
Contents
1 Methods of Remote Control
Methods of Remote Control 1-2
Connecting the HP 37717C to HP-IB 1-3
Operating Distances1-3
Communication with the System Controller1-3
Connecting the HP 37717C to RS-232-C 1-4
Terminal Mode1-4
Computer Mode1-6
Communication with the Terminal/Computer1-6
Connecting the HP 37717C to a LAN 1-10
Current Settings1-11
New Settings (BOOTP)1-11
New Settings (Keyboard Entry)1-12
To Initialize the HP 37717C 1-14
Remote Control Hints & Tips 1-15
Default Settings1-15
Instrument Coupling1-15
Error Checking1-15
Command Completion1-16
Setup Delays1-16
Status Registers1-16
Gating Control1-17
Frequency Offsets1-18
User Locks1-18
2 Common Commands
Common Commands 2-3
SCPI Command Format 2-3
Command Syntax2-3
v
Contents
SCPI Long Form Command Headers2-4
Linking Command Statements2-4
Parameters2-4
Remote Control Commands 2-6
Instrument Options 2-7
INSTrument subsystem 2-8
SOURce subsystem 2-9
SOURce subsystem - Transmitter Common Commands 2-11
INPut subsystem 2-14
SENSe subsystem 2-15
SENSe subsystem - Receiver Common Commands 2-17
SENSe subsystem - Test Timing 2-20
SENSe subsystem - Analysis Control 2-22
SENSe subsystem - Result Returning Commands 2-22
Common Results2-22
SENSe subsystem - Trouble Scan Results 2-23
Common System Commands 2-26
SENSe subsystem - Configuring Graphics 2-27
SENSe subsystem - Managing Graphics Stores 2-29
SENSe subsystem - Retrieving Graphics Store Data 2-31
SENSe subsystem - Retrieving Data for a Single Graph 2-33
SENSe subsystem -Obtaining Graphics End of Measurement Results 2-35
STATus subsystem 2-44
SYSTem Subsystem 2-47
IEEE common capabilities 2-62
SOURce subsystem - Transmitter SPDH Test Signal Settings Commands 328
SOURce subsystem - Transmitter SPDH Test Function Commands 3-36
INPut subsystem 3-51
SENSe subsystem - Receiver Unstructured PDH Settings 3-57
SENSe subsystem - Receiver Structured PDH Settings 3-62
SENSe subsystem - Receiver SPDH Test Signal Settings Commands 3-68
SENSe subsystem - Receiver SPDH Test Function Commands 3-74
SENSe subsystem - Analysis Control 3-75
SENSe subsystem - Alarm Scan Control 3-80
SENSe subsystem - SPDH Round Trip Delay Control 3-81
SENSe subsystem - Result Returning Commands 3-82
Unstructured PDH Short Term Results3-82
Unstructured PDH Cumulative Results3-82
Unstructured PDH and Payload G.821 Analysis Results3-83
Unstructured PDH M.2100 Analysis Results3-83
Unstructured PDH FAS Error Analysis Results3-84
Unstructured PDH CRC Error Analysis Results3-84
Unstructured PDH REBE Error Analysis Results3-85
Unstructured PDH Alarm Seconds Results3-85
Frequency Results (PDH and SPDH)3-86
SDH Clock settings4-7
Thru mode settings4-9
SDH Mapping Settings4-11
AU Layer Selection4-11
TU Layer Selection4-12
Payload Layer Selection4-13
TUG Channel4-14
TU Payload and Test Pattern4-15
Background Settings4-18
Old Commands4-22
SOURce subsystem - Transmitter SDH OVERHEAD SETUP 4-23
SOURce subsystem - Transmitter SDH Test Function Commands 4-36
viii
Contents
INPut subsystem 4-63
SENSe subsystem - Receiver SDH Settings 4-67
SDH Mapping settings4-67
AU Layer Selection4-68
TU Layer Selection4-68
Payload Layer Selection4-69
TUG Channel4-70
TU Payload and Test Pattern4-71
Old Commands4-75
SENSe subsystem - Receiver SDH Test Function Commands 4-76
SENSe subsystem - Alarm Scan Control 4-83
SENSe subsystem - SDH Tributary Scan Control 4-85
SENSe subsystem - Optical Power Measurement Settings 4-87
SENSe subsystem - Result Returning Commands 4-88
Frequency Results (SDH)4-88
SDH Short Term Results4-88
SDH Cumulative Results4-89
SDH RS B1 BIP Analysis Results4-90
SDH MS B2 BIP Analysis Results4-90
SDH Path MS FEBE Analysis Results4-91
SDH Path B3 BIP Analysis Results4-92
SDH Path FEBE Analysis Results4-92
SDH Path IEC Analysis Results4-93
SDH Tributary Path BIP Analysis Results4-93
SDH Tributary Path FEBE Analysis Results4-94
SDH Block Based Bit Analysis Results4-94
SDH M.2101 Analysis Results4-95
SDH Service Disruption Results4-96
SDH Optical Power Result4-97
SDH Pointer Activity Results4-97
SDH Alarm Seconds Results4-98
SOURce subsystem - Transmitter SONET OVERHEAD SETUP 5-21
:SOURce subsystem - Transmitter SONET Test Function Commands 5-32
INPut subsystem 5-59
SENSe subsystem - Receiver SONET Settings 5-63
SONET Mapping settings5-63
SPE Layer Selection5-64
VT Layer Selection5-64
Payload Layer Selection5-65
VT Group5-66
VT Payload and Test Pattern5-67
SENSe subsystem - Receiver SONET Test Function Commands 5-71
SENSe subsystem - Alarm Scan Control 5-77
SENSe subsystem - SONET Tributary Scan Control 5-79
SENSe subsystem - Optical Power Measurement Settings 5-81
SENSe subsystem - Result Returning Commands 5-82
Frequency Results (SONET)5-82
SONET Short Term Results5-82
SONET Cumulative Results5-83
SONET Section B1 BIP (CV-S) Analysis Results5-84
Status Byte8-5
Standard Event Status Register8-6
QUEStionable Status Register8-7
OPERation Status Register8-8
INSTrument Status Register8-9
DATA Status Register8-10
PDH Status Register8-11
FAS Status Register8-12
BINary Status Register8-13
SDH Status Register8-14
SDH2 Status Register8-15
xii
Contents
SONet Status Register8-16
SONet2 Status Register8-17
JITTer Status Register8-18
SPDH Status Register8-19
M140 Status Register8-20
M34 Status Register8-21
M8 Status Register8-22
M2 Status Register8-23
DS3 Status Register8-24
DS2 Status Register8-25
DS1 Status Register8-26
ATM Status Register8-27
DISK Status Register8-28
Variations in BINary Input to DATA Status Register8-31
Programmed Status Reporting8-32
9 General Information
General Information 9-2
SCPI Overview 9-2
HP-IB Universal Commands 9-3
Device Clear (CLEAR)9-3
Serial Poll (SPOLL)9-3
Remote Enable (REMOTE)9-3
Local Lockout (LOCAL LOCKOUT)9-4
Local (LOCAL)9-4
xiii
Contents
10 Application Program Examples
Initializing the HP 37717C 10-2
Setup the HP 37717C PDH Tx (Main Settings) 10-3
Setup the HP 37717C PDH Rx (Main Settings) 10-4
Setup the HP 37717C PDH Tx (Main & Structured Settings) 10-5
Setup the HP 37717C PDH Rx (Main & Structured Settings) 10-7
Setup the HP 37717C PDH Tx to add Errors & Alarms 10-8
Setup the HP 37717C PDH Rx to perform Bit Error Measurements 10-9
Setup the HP 37717C SDH Tx 10-10
Setup the HP 37717C SDH Rx 10-12
Setup the HP 37717C SDH Tx to add Errors & Alarms 10-13
Setup the HP 37717C SDH Tx Overhead Bytes 10-14
Setup the HP 37717C SDH Tx for Overhead Byte Sequencing 10-15
Perform HP 37717C SDH Rx Measurements 10-16
Setup the HP 37717C SDH Rx to retrieve Overhead Monitor Bytes 10-17
Setup the HP 37717C SDH Rx to perform Overhead Byte Capture 10-18
Setup the HP 37717C SONET Tx 10-19
Setup the HP 37717C SONET Rx 10-21
Setup the HP 37717C SONET Tx to add Errors & Alarms 10-22
Setup the HP 37717C SONET Tx Overhead Bytes 10-23
Setup the HP 37717C SONET Tx for Overhead Byte Sequencing 10-24
Perform HP 37717C SONET Rx Measurements 10-25
Setup the HP 37717C SONET Rx to retrieve Overhead Monitor Bytes 1026
Setup the HP 37717C SONET Rx to perform Overhead Byte Capture 1027
11 Backwards Compatibility
Backwards Compatibility 11-2
xiv
Contents
12 SCPI Error Messages
SCPI Error Messages 12-2
General Index
xv
Contents
xvi
1
1Methods of Remote Control
Methods of Remote Control
Methods of Remote Control
The HP 37717C can be remotely controlled in one of four ways :
HP-IB Options
A3B, A3D (1A8)Provides a parallel interface that allows the connection of other
devices to the system for example : Frequency Counter; Printer;
Signal Generator. Allows great flexibility in communicating
data and controlling data and provides one of the easiest
methods of constructing automatic systems. If long distance
communication is required, suitable HP-IB Extenders must be
connected within the test system at both ends of the
communication link.
RS-232-C Options
A3B, A3D (1CW) Provides a serial interface that can be connected directly to the
RS-232-C port of a terminal or computer. Only the controller
and the HP 37717C can be connected within the system. If long
distance communication is required, the HP 37717C can be
connected directly to the RS-232-C port of a Modem and
carried over a telephone line.
LAN Option A3B
(1F7)Provides a parallel interface that allows the connection of other
instruments and controllers to the system for example :
workstations; other HP 37717C’s; other test sets that have a
LAN interface.
DNA Option USS
Provides control via a Front Panel displayed on a PC connected
to a LAN. Other test sets that have the Virtual Remote
capability can be connected to the LAN and controlled via the
same PC. See HP E4540A Manual, HP part number E4540-
90004.
1-2
Methods of Remote Control
Connecting the HP 37717C to HP-IB
The following points should be considered when connecting the HP 37717C to
HP-IB :
• Operating distances
• Communication with the system controller
Operating Distances
1. The total length of HP-IB cable must not exceed 2 meters (6 feet) × the number of
devices in the system.
2. The total length of HP-IB cable, used to interconnect all devices in the system,
must not exceed 20 meters (65 feet).
Operating distances can be increased by using HP-IB Extenders, HP 37204A or HP
37201A :
Up to 1250 meters use HP 37204A.
Over 1250 meters use two HP 37201A and two suitable Modems.
Communication with the System Controller
Each device in the system must have a unique address to allow the controller to
access each one individually. On the HP 37717C the address is set on the OTHER
display under REMOTE CONTROL :
T o set the HP-IB Address pressOTHER;
REMOTE CONTROL and set the
display as shown opposite. Address 5 has
been selected but any Address in the
range 0 to 30 can be selected.
1-3
Methods of Remote Control
Connecting the HP 37717C to RS-232-C
Two methods of controlling the HP 37717C via RS-232-C are available :
TerminalSimple method of control on a command by command basis.
ComputerMore extensive method of control allows programs to be run.
Terminal Mode
Terminal mode is provided to allow the HP 37717C to be controlled by a "dumb"
terminal and provides the following features :
When connection is established via RS-232-C the HP 37717C responds with a
"prompt".
Any command sent to the HP 37717C is echoed back to the terminal to provide a
local record.
If a mistake is made in the command, the appropriate SCPI Error Message and
the "entered" command is returned to the terminal to provide a local record.
A command history buffer is provided with a capacity of 20 commands. This
allows frequently used commands to be retransmitted without having to retype
the command :
To list the history buffer contents type : !l (lower case L)
To retransmit the last Command sent type :
To retransmit a previously sent command type : !n where n = the commands
listed number.
When REMOTE CONTROL PORT [RS232] is selected on the OTHER REMOTE
CONTROL display the HP 37717C acts as DCE (Data Communications
Equipment). Dumb terminals act as DTE (Data Terminal Equipment). This makes
connection of the HP 37717C to a dumb terminal straightforward as shown in Table
1-1.
RS-232-C cable HP Part Number 5060-4461 will provide this connection.
1-4
Methods of Remote Control
Table 1-1HP 37717C (Options A3B & A3D) to RS-232-C Terminal
37717C Pin #SignalTerminal Pin #Signal
2Transmit Data (TX)2Transmit Data (TX)
3Receive Data (RX)3Receive Data (RX)
5Signal Ground7Signal Ground
RS-232-C cable HP Part Number 24542U will provide this connection.
Connection via a Modem
Full Modem control is not possible and the Modem should be configured to force
DSR, CD, CTS and DTR true.
Since Modems are always configured as DCE (Data Communications Equipment),
the same as the HP 37717C, a crossover is required in the three wire connection as
shown in Table 1-2.
Table 1-2HP 37717C (Options A3B & A3D ) to Modem
37717C Pin #SignalModem Pin #Signal
2Transmit Data (TX)3Receive Data (RX)
3Receive Data (RX)2Transmit Data (TX)
5Signal Ground7Signal Ground
RS-232-C cable HP Part Number 24542M will provide this connection.
1-5
Methods of Remote Control
Computer Mode
Computer mode is provided to allow the HP 37717C to be controlled by a RS-232-C
computer allowing programs to be run. Unlike Terminal mode commands are not
echoed back and SCPI Error Messages are not returned unless the appropriate query
command is issued.
When REMOTE CONTROL PORT [RS232] is selected on the OTHER REMOTE
CONTROL display the HP 37717C acts as DCE (Data Communications
Equipment). The Computer should be configured to act as DTE (Data Terminal
Equipment). This makes connection of the HP 37717C to a computer
straightforward as shown in Table 1-3.
Table 1-3HP 37717C (Option A3B & A3D) to RS-232-C Computer
37717C Pin # SignalComputer Pin #Signal
2Transmit Data (TX)2Transmit Data (TX)
3Receive Data (RX)3Receive Data (RX)
5Signal Ground7Signal Ground
RS-232-C cable HP Part Number 24542U will provide this connection.
Connection via a Modem
Full Modem control is not possible and the Modem should be configured to force
DSR, CD, CTS and DTR true.
Since Modems are always configured as DCE (Data Communications Equipment),
the same as the HP 37717C, a crossover is required in the three wire connection as
shown in Table 1-2 .
Communication with the Terminal/Computer
Remote control via RS-232-C requires that the HP 37717C RS-232-C interface
settings match those of the terminal/computer. These settings are made on the
OTHER display under REMOTE CONTROL.
1-6
Methods of Remote Control
Using , and the display softkeys
set REMOTE CONTR OL PORT [RS232].
Set CONTROLLER TYPE, XON/XOFF,
SPEED, PARITY and STOP BITS to
match the settings on your terminal/
computer.
.
1-7
Methods of Remote Control
Controlling the HP 37717C
The simplest way to verify the connection and become familiar with remote RS232-C operation is to send a few commands and observe their effect. In this e xample
using a terminal we will :
• Take the HP 37717C under remote control
• Initialize the HP 37717C
• Read the contents of the error register
• Start a test period
• Add errors
• Obtain the result (Option dependent)
• Return the HP 37717C to local operation
NOTESelect CONTROLLER TYPE [TERMINAL] on the OTHER REMOTE CONTR OL
display and connect the PDH OUT port to the PDH IN port for the duration of this
exercise.
Table 1-4HP 37717C to RS-232-C Computer
Terminal InputComment
:SYST:REMTakes the HP 37717C under remote control.
On the instrument the indicator above
LOCAL is lit.
*RSTDefault settings, registers cleared.
:SYST:ERR?The SCPI Error Message and number can be read,
even in local operation mode. (+0, "No error")
:SENS:DATA:TEL:TEST
Selects a manual test period.
:TYPE MAN
:SENS:DATA:TEL:TEST
ON
Starts the manual test period. On the instrument
the indicator above is lit.
1-8
RUN/STOP
Methods of Remote Control
Table 1-4HP 37717C to RS-232-C Computer
Terminal InputComment
:SOUR:DATA:TEL:ERR
Adds a single bit error.
:BIT ONCE
:SOUR:DATA:TEL:ERR
Adds a single bit error.
:BIT ONCE
:SOUR:DATA:TEL:ERR
Adds a single bit error.
:BIT ONCE
:SENS:DATA:TEL:TEST
OFF
:SENS:DATA "ECO:PDH
:BIT"
Halts the manual test period. On the instrument
the indicator above is extinguished.
RUN/STOP
Option UKK, Unstructured PDH -Returns the bit
error count in numeric form, in this example 3.
or
:SENS:DATA "ECO:SPDH
:BIT" RETURN
Option UKJ, Structured PDH - Returns the bit
error count in numeric form, in this example 3.
:SYST:LOCReturns the HP 37717C to local control. On the
instrument the indicator above LOCAL is
extinguished.
1-9
Methods of Remote Control
Connecting the HP 37717C to a LAN
Two methods of controlling the HP 37717C via a LAN are available :
TerminalSimple method of control on a command by command basis.
ComputerMore extensive method of control allows programs to be run.
The following information should be obtained from the LAN System Administrator
before connecting to the LAN:
• Internet address (Example 015.144.180.205)
• Subnet Mask (Example 255.255.248.0).
• Default Gateway IP Address (Example 15.144.176.1).
The PORT NUMBER and MAC ADDRESS are assigned to the HP 37717C at the
time of shipment.
Connect the HP 37717C LAN interface to the LAN network.
The HP 37717C must now be configured to accept the IP address, Subnet Mask and
Default Gateway IP Address.
OTHER
Press,
and set up the display as shown opposite.
The HP 37717C can be configured to
accept the IP address, Subnet Mask and
Default Gateway IP Address in one of
two ways:
1-10
REMOTE CONTROL
Methods of Remote Control
Current Settings
The IP Address, Subnet Mask and
Gateway IP Address will adopt the current
settings.
The Port Number and MAC Address are
displayed for information.
New Settings (BOOTP)
To use BOOTP your system administrator
must set up a BOOTP server on the
network.
When YES is selected the power must be
cycled on the HP 37717C to allow for a
change of settings.
When power is restored the HP 37717C
will issue BOOTP requests until it receiv es
a reply from a suitably configured BOOTP
server .
The Settings of IP Address, Subnet Mask and Gateway IP Address will be adopted
as the Current Settings.
1-11
Methods of Remote Control
New Settings (Keyboard Entry)
Use and
DECREASE DIGIT
INCREASE DIGIT
Address, Subnet Mask and Gateway IP
Address.
Use and to move between the
IP Address, Subnet Mask and Gateway
IP Address.
The New Settings will not become active
until the power is cycled (power off/
power on) on the HP 37717C.
The entered New settings are checked to ensure they conform to the relationships
that should exist between the IP Address, Subnet Mask and Gateway IP Address. If
the entered data contravenes these relationships, the HP 37717C will change the
data to more sensible values.
Configuration
The HP 37717C can only accept one tcp connection at a time and it cannot establish
an outgoing call. The connection has to be directed to port 5001.
to set the IP
For Example (from a UNIX system):
telnet <IP address> 5001
If ping <IP address> is issued (from a UNIX system), commands issued will be
echoed at the local end of the connection.
Controlling the HP 37717C
The simplest way to verify the connection and become familiar with remote LAN
operation is to send a few commands and observe their effect. In this example using
a terminal we will:
•Take the HP 37717C under remote control
•Initialize the HP 37717C
•Read the contents of the error register
•Start a test period
•Add errors
•Obtain the result (Option dependent)
•Return the HP 37717C to local operation
1-12
Methods of Remote Control
NOTEConnect the PDH OUT port to the PDH IN port for the duration of this exercise.
Table 1-5HP 37717C to RS-232-C Computer
Terminal InputComment
:SYST:REMTakes the HP 37717C under remote control. On the
instrument the indicator above LOCAL is lit.
*RSTDefault settings, registers cleared.
:SYST:ERR?The SCPI Error Message and number can be read,
even in local operation mode. (+0, "No error")
:SENS:DATA:TEL:TEST :TYPE MANSelects a manual test period.
:SENS:DAT A:TEL:TEST ONStarts the manual test period. On the instrument the
indicator above is lit.
RUN/STOP
:SOUR:DATA:TEL:ERR :BIT ONCEAdds a single bit error.
:SOUR:DATA:TEL:ERR :BIT ONCEAdds a single bit error.
:SOUR:DATA:TEL:ERR :BIT ONCEAdds a single bit error.
:SENS:DATA:TEL:TEST OFFHalts the manual test period. On the instrument the
indicator above is extinguished.
RUN/STOP
:SENS:DATA "ECO:PDH :BIT"Option UKK, Unstructured PDH -Returns the bit
error count in numeric form, in this example 3.
or
:SENS:DATA? "ECO:SPDH :BIT"Option UKJ, Structured PDH -Returns the bit error
count in numeric form, in this example 3.
:SYST:LOCReturns the HP 37717C to local control. On the
instrument the indicator above LOCAL is
extinguished.
1-13
Methods of Remote Control
To Initialize the HP 37717C
Regardless of the current setup the following command will initialize the HP
37717C. It sets the HP 37717C to the factory default settings and clears all registers.
*RST
It is recommended that you do not rely on default settings but program each setting
to what you require.
1-14
Loading...
+ 588 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.