HP 1660c, 1670a schematic

LAN User’s Guide
Publication number 01660-97025 March 2000
For Safety information, Warranties and Regulatory information, see the pages behind the index
Copyright Agilent Technologies 1993-2000
All Rights Reserved
Agilent Technologies 1660C/CS-Series and 1670A-Series Logic Analyzers

Introducing the LAN Interface

The Logic Analyzer LAN interface lets you connect your logic analyzer to an Ethernet network that uses TCP/IP. With the LAN Interface, you can:
Set up and run measurements using the logic analyzer’s X Window
interface.
Copy measurement data from the logic analyzer to your computer using
File Transfer Protocol program (ftp) or Network File System (NFS).
Save and restore configurations.
Program the logic analyzer.
Requirements
In order to use your Agilent Technologies logic analyzer on the LAN, you need the following equipment and software:
Agilent Technologies 1660C/CS-series logic analyzer with LAN option or
Agilent Technologies 1670A-series logic analyzer.
Ethernet local area network using TCP/IP protocol.
If you are using a PC, NFS program or ftp program.
If you want to use the logic analyzer’s X Window interface, X server
program running on your computer.
Characteristics
Physical Connection
RJ-45 connector for direct connection to 10Base-T ("ethertwist") networks
BNC connector for direct connection to 10Base2 ("thinlan") networks
Supported Protocols
Transmission Control Protocol/Internet Protocol (TCP/IP)
Network File System (NFS)
File Transfer Protocol (ftp)
X Window System Version 11, release 5 (X11R5)
Simple Network Management Protocol (SNMP)
ii

In This Book

This book shows you how to connect, use, and troubleshoot your Agilent Technologies logic analyzer via a Local Area Network (LAN) connection. This book contains the following chapters:
Chapter 1 provides information about
connecting the logic analyzer to the network. To effectively use this chapter, you should be familiar with your network setup and operation.
Chapter 2 shows you how to access
the logic analyzer’s file system. This is a prerequisite for some of the other things you can do with a logic analyzer on the network.
Chapter 3 shows you how to display
the analyzer interface on an X Window server, and describes the basics of using the interface.
Chapter 4 shows you how to retrieve
measurement data, screen images, and status information from your logic analyzer on the LAN, and how to copy and restore configurations.
Chapter 5 shows you methods for
programming the logic analyzer via the network connection.
Chapter 6 contains additional
information on the logic analyzer’s directory structure and dynamic files.
Chapter 7 describes what to do if you
have a problem using the logic analyzer on your network.
1
2
3
4
5
6
7
Connecting and Configuring
Accessing the Logic Analyzer File
System
Using the X Window Interface
Retrieving and Restoring Data
Programming the Logic Analyzer
Concepts
Troubleshooting
Glossary
Index
iii
See Also The Logic Analyzer Training Kit if you are unfamiliar with the basic
operation of the logic analyzer.
The User’s Guide for your logic analyzer for information on using the logic analyzer to make measurements.
The Programmer’s Guide for your logic analyzer for detailed information on programming the analyzer. The Programmer’s Guide can be ordered from your Agilent Technologies Sales Office.
is a registered trademark in the United States and other countries,
UNIX licensed exclusively through X/Open Company Limited.
and MS-DOS are U.S. registered trademarks of Microsoft Corporation.
MS
MS Windows® and Windows® are U.S. registered trademarks of Microsoft Corporation.
Postscript is a trademark of Adobe Systems Incorporated which may be registered in certain jurisdictions.
iv

Contents

1 Connecting and Configuring
To connect to your network 1–3 To configure the network addresses 1–4 To verify connectivity with the ping utility 1–7 To mount the logic analyzer 1–8
2 Accessing the Logic Analyzer File System
To mount the file system via NFS 2–3 To access the file system via ftp 2–8
3 Using the X Window Interface
To start the interface 3–3 To close the interface 3–8 To load the custom fonts 3–10 Additional Information 3–12
4 Retrieving and Restoring Data
To copy ASCII measurement data 4–3 To copy raw measurement data 4–5 To restore raw measurement data 4–6 To strip LIF structure from raw measurement data 4–7 To copy screen images from \system\graphics 4–9 To copy status information from \status 4–10 To copy configurations from setup.raw 4–12 To restore configurations 4–13
5 Programming the Logic Analyzer
To set up for Ethernet LAN programming 5–4 To enter commands directly using telnet 5–5 To copy commands to \system\program 5–7 To write programs that open \system\program 5–9 To write programs that open the command parser socket 5–12
1
Contents
6 Concepts
Directory structure of the logic analyzer’s file system 6–3 Dynamic files 6–6 LAN-related fields in the logic analyzer’s menus 6–7
7 Troubleshooting
Troubleshooting the Initial Connection 7–3
Assess the problem 7–3 Troubleshooting in a workstation environment 7–5 Troubleshooting in an MS-DOS environment 7–8 Troubleshooting in an MS Windows environment 7–11 Verify the logic analyzer performance 7–14 Status Number 7–16 Network Status Information 7–19
Solutions to Common Problems 7–21
If you cannot connect to the logic analyzer 7–21 If you cannot mount the logic analyzer file system 7–22 If you cannot access the file system via ftp 7–22 If you cannot start the X Window interface 7–23 If your X Window looks odd 7–23 If you cannot copy files from the logic analyzer 7–23 If you cannot restore raw files 7–24 If you cannot telnet to the command parser socket 7–24 If you get an "operation timed-out" message 7–25 If the logic analyzer begins to operate slowly 7–25 If the logic analyzer does not respond 7–25 If all else fails 7–25
Getting Service Support 7–26
Agilent Technologies on-site service 7–26 Return to Agilent Technologies service 7–26
2
1

Connecting and Configuring

Connecting and Configuring
In order to use your logic analyzer’s network capabilities, you need to connect it to your network and configure the logic analyzer.
The following chart shows an overview of the process.
Connect
Configure
Ping
Mount
Connect the RJ-45 or BNC connector from your network, then turn on the logic analyzer.
Setup the configuration menus.
Verify connectivity with the ping utility. Ping OK?
Yes
Mount the logic analyzer. Mount OK?
Yes
Ready to use.
No
No
Go to chapter 7, "Troubleshooting."
Go to chapter 7, "Troubleshooting."
1–2
Connecting and Configuring
To connect to your network
To connect to your network
1 Turn off the logic analyzer. 2 Connect the analyzer to your network using an RJ-45 or BNC
connector.
Ethertwist and thinlan are the two most common types of LAN network connection. Ethertwist uses unshielded twisted pair and an RJ-45 connector, and resembles a standard modular phone line. Thinlan uses coaxial cable. If you are unsure what your network uses for its physical connection, contact your local network administrator.
The logic analyzer LAN ports are on the back panel. The RJ-45 connector goes in the port labeled "LAN-TP" and the BNC attaches to the port labeled "LAN-BNC".
Turn on the logic analyzer.
3
1–3
Connecting and Configuring
To configure the network addresses
To configure the network addresses
You can configure the logic analyzer to work with your network from the front panel. Information entered in the configuration menus will be stored in nonvolatile memory.
Go to the System External I/O menu and select LAN Settings.
1
a Turn on the analyzer and wait until the power-up tests are complete. bb Press the System key.
c In the System External I/O menu, select the LAN Settings box.
System External I/O menu
1–4
LAN Settings
2 Set up the LAN Settings menu.
LAN Settings menu
Connecting and Configuring
To configure the network addresses
Lan Port The LAN Port toggles between LAN TP and LAN BNC. Set it
Analyzer IP Address TCP/IP uses the Internet Protocol (IP) Address for
Gateway IP Address Gateways act as connections between different physical
File Timeout This is not the same as the network timeout, which is set on
Analyzer Name The Analyzer Name is for user reference only. It appears in
to whichever type you are using for the connection.
communication between network nodes and requires this entry. Each IP address on a network must be unique ­contact your system administrator if you need to have one created for the logic analyzer. The logic analyzer responds to messages sent to this IP address.
subnets. If the logic analyzer is on a different subnet than the computer you wish to use it with, you need to enter a gateway address.
the computer. The logic analyzer file timeout is how long the analyzer keeps a file in the active portion of memory. For slow network connections, a large file timeout decreases the total time for a file transfer. Too high a file timeout for a fast network connection can actually slow file transfers because too much is in active memory. A good guideline for file timeout is 150% of the average time it takes for packets to go from source to destination.
the status files of the logic analyzer, and in the X Window display. It is not the same as the IP name.
1–5
Connecting and Configuring
To configure the network addresses
3 If necessary, add the logic analyzer to your local network
configuration.
If you are doing a point-to-point connection, this step is unnecessary because the computer and the logic analyzer only communicate with each other.
For UNIX networks and PC networks based on a UNIX model, the network software requires an entry for the logic analyzer before another computer can talk to it. These entries are usually kept in a file named /etc/hosts. The /etc/hosts file also associates an alias with the IP address so that you can use a meaningful name rather than the IP address.
Other styles of PC networks have different conventions. Consult your LAN documentation or your local system administrator to see if you need to do anything else.
1–6
Connecting and Configuring
To verify connectivity with the ping utility
To verify connectivity with the ping utility
Use the ping utility to verify that the logic analyzer is on your network.
Refer to your network documentation for the exact syntax.
UNIX
ping [IP address|symbolic name]
MS-DOS
ping [IP address|symbolic name]
MS Windows
For a Windows environment, select the ping icon in your network menu. Refer to your network documentation for more information about using the ping utility.
1–7
Connecting and Configuring
To mount the logic analyzer
To mount the logic analyzer
Before Mounting
You need to wait at least 15 seconds after the Analyzer Configuration menu is displayed before attempting to mount. If you try to mount too soon, you will receive an error message.
You can mount the logic analyzer on your network for two different levels of use, control or data. The logic analyzer accommodates one control user and multiple data users. Control allows users to read and write files to and from the analyzer, while data allows users to only read files from the file system. Data users can also write files to the disk drives of the logic analyzer.
If you have trouble, refer to chapter 7, "Troubleshooting."
For the exact syntax of the mount command for mount, refer to your network documentation.
Mounting and Unmounting
You must unmount the logic analyzer before turning it off. After unmounting, you can mount the analyzer 15 seconds after the Analyzer Configuration menu is displayed when powering up the instrument. You can write a network script that executes an unmount and mount procedure.
1–8
Connecting and Configuring
To mount the logic analyzer
UNIX
For UNIX, use your network’s command for an NFS mount.
For example:
mount [analyzer name:]/[control|data][mount point]
Some UNIX workstations will not accept a straight IP address. You must add an aliased name for the logic analyzer to the host file, then use that name in your mount command.
Refer to your network documentation for more information.
MS-DOS
For a PC using MS-DOS and running PC-NFS, use a form of the net use command.
For example, PC-NFS uses:
net use [drive specifier][IP address or a named alias]\ [control|data]
Refer to your PC-based NFS documentation for more information.
MS Windows
For an MS Windows environment, refer to your Windows-based NFS documentation and File Manager documentation for mounting instructions.
1–9
1–10
2

Accessing the Logic Analyzer File System

Accessing the Logic Analyzer File System
This chapter shows you how to:
Mount the file system via NFS.
Access the file system via ftp.
This chapter assumes that the logic analyzer is physically connected to your local area network. If it is not connected, refer to Chapter 1 for information on how to connect the system.
Control User vs. Data User
You can access the logic analyzer file system as either the control user or a data user.
Control User
The control user can send programming commands.
The control user has read and write access to the file system.
There can only be one control user at any time.
Data User
The data user cannot send programming commands.
The data user has read access to the entire file system, but can only
write to \system\disk\hard and \system\disk\flexible directories (the logic analyzer disk drives).
Multiple data users can access the logic analyzer simultaneously.
Password and File Protection
There is no password protection built into the logic analyzer. This means that files are not protected against either deletion or being written over.
2-2
Accessing the Logic Analyzer File System
To mount the file system via NFS
To mount the file system via NFS
The logic analyzer must be on and completely booted up before you can mount the file system. Once power is applied and the Analyzer Configuration menu is displayed, allow an additional 15 seconds before attempting to mount the system.
Be sure to unmount the logic analyzer’s file system before turning off the logic analyzer. If you don’t do this, you may get a "stale NFS file handle" error message the next time you try to mount. If you get this message, unmount the file system and try mounting again.
From Computers Running the UNIX Operating System
The syntax of the mount command is typically
mount [symbolic name|IP address]:/[control|data] /[directory name]
The symbolic name is the host name of the logic analyzer as set up by your system administrator. Typically, this name is found in the /etc/hosts file on your computer or returned by a name server. It is equivalent to the logic analyzer’s IP (Internet Protocol) address.
The control or data option specifies the type of access you want.
The directory name is the name of an empty directory in your computer’s file system to which the logic analyzer’s file system will be mounted.
See the example on the next page.
2-3
Accessing the Logic Analyzer File System
To mount the file system via NFS
Example Mounting the logic analyzer on a UNIX computer
To mount the analyzer named "1660C_1" as the control user to a directory on your computer named /logic, enter the following command at the UNIX command line:
mount 1660C_1:/control /logic
After you have entered this command, you will be able to see the logic analyzer’s file system under the /logic directory on your computer.
To unmount:
umount /logic
2-4
Accessing the Logic Analyzer File System
To mount the file system via NFS
From Computers Running the MS-DOS Operating System
To use the logic analyzer interface in an MS-DOS environment, you need to install a program on your PC that allows you to use NFS protocol. One such program is PC-NFS® by SunSoft Inc.
To mount the logic analyzer file system from a PC running MS-DOS, you must create a logical drive that points to it. A typical MS-DOS command to do this would look like one of these two examples:
net use [drive name] [host name|IP address]:/[control|data]
net use [drive name] \\[host name|IP address]\[control|data]
The choice of drive name is up to you.
The host name of the logic analyzer is set up by your system administrator. Typically, this name is found in the hosts file on your computer or returned by a name server. It is equivalent to the logic analyzer’s IP (Internet Protocol) address.
The control or data option specifies the type of access you want.
Example Mounting the logic analyzer with MS-DOS
To mount, as the control user, the logic analyzer whose IP address is "15.6.254.150" to the logical drive "L:", enter the following command at the MS-DOS prompt. In this example, the PC-NFS application is used.
net use L: 15.6.254.150:/control
After you have entered this command, you will be able to see the analyzer’s file system under the "L:" logical drive on your computer.
To unmount:
net use L: /d
2-5
Accessing the Logic Analyzer File System
To mount the file system via NFS
From Computers Running MS Windows
To use the logic analyzer in an MS Windows environment, you need to install a program on your PC that allows you to use NFS protocol. One such program is PC-NFS by SunSoft Inc.
To mount the logic analyzer’s file system from a PC running MS Windows, use the Network Connections menu in the Disk options of File Manager.
To connect to the logic analyzer from the File Manager in MS Windows, Version 3.1, perform the following steps:
1
Open File Manager and select Disk. Then, select Network Connections.
2 In the "New Connection" section of the pop-up menu, click on the
Drive Letter selection box and select the drive name you wish to use.
2-6
Accessing the Logic Analyzer File System
To mount the file system via NFS
3 In the Path field, type the name of the server that the logic analyzer
system is mounted on, followed by the analyzer’s name or IP address. At the end of the path, specify which kind of connection you would like to establish, either "control" or "data".
2-7
Accessing the Logic Analyzer File System
To access the file system via ftp
To access the file system via ftp
To access the logic analyzer’s file system using ftp, enter the following command on your computer:
ftp [symbolic name|IP address]
The symbolic name is the host name of the logic analyzer as set up by your system administrator. Typically, this name is found in the hosts file on your computer or returned by a name server. It is equivalent to the analyzer’s IP (Internet Protocol) address.
When the connection is made, you will be prompted for a login name. Enter "control" or "data" depending on the type of access you want.
If you are prompted for a password, just press the Return or Enter key. There is no password protection built into Agilent Technologies logic analyzers.
Example Using ftp
To access the file system of the logic analyzer named 1670sys using ftp enter:
ftp 1670sys
login name: data ftp>
The exact commands you use within ftp depend on the software. If you are not familiar with your ftp software, type "?" or "help" at the ftp prompt to see a list of commands.
2-8
3

Using the X Window Interface

Using the X Window Interface
This chapter shows you how to:
Start the interface.
Close the interface.
Load the custom fonts.
Using the Mouse and Keyboard
Once you have started the X Window interface and are displaying it on your computer running the X server, you can use your computer’s keyboard and mouse to control the logic analyzer interface in the same way you use the logic analyzer’s keyboard and mouse. Refer to your logic analyzer’s User’s Guide for a complete description of keyboard and mouse operation.
Duplicating Front-Panel Knob Control
To duplicate turning the knob, hold down the right mouse button, and move the mouse up or to the right for clockwise knob movement; move the mouse down or to the left for counter-clockwise knob movement.
You can also use the keyboard’s Shift-up or -right arrow keys to duplicate clockwise knob movement. Use the Shift-down or -left arrow keys to duplicate counter-clockwise knob movement.
3-2
Using the X Window Interface
To start the interface
To start the interface
From the Logic Analyzer Front Panel
Start the X server software on your host computer.
1 2 On your X server, enable analyzer-initiated windows.
Most X server packages have a security feature which stops unwanted client-initiated windows from being displayed.
On computers running the UNIX operating system, you can enable the analyzer to initiate windows by entering the xhost command:
xhost +<analyzer IP address>
On computers that aren’t running the UNIX operating system, the X server package documentation will explain its security features.
In the analyzer’s System External I/O menu, select the X-Window
3
Settings field.
X-Window Settings field
3-3
Using the X Window Interface
To start the interface
4 In the X-Window Settings menu that pops up, enter the IP address of
the X Windows server, the display number, and the screen number.
These values are saved for the next time you initiate an X Window. The display number and the screen number are usually 0. The display number is not zero when you have multiple displays. For some workstations, screen number 1 is a black-and-white screen.
Select Done, then select Connect.
5
Your X server opens an analyzer window like the one below, and the Connect field changes to Disconnect.
3-4
Using the X Window Interface
To start the interface
From the Computer
On your X server, enable analyzer-initiated windows.
1
Most X server packages have a security feature which stops unwanted client-initiated windows from being displayed.
On computers running the UNIX operating system, you can enable analyzer-initiated windows by entering the xhost command:
xhost +<analyzer IP address>
On computers that aren’t running the UNIX operating system, the X server package documentation will explain its security features.
Send the XWIN ON programming command to the logic analyzer.
2
The syntax of the XWIN ON command is:
xwin on,"<X server IP address>:<display>.<screen>"
The IP (Internet Protocol) address is the address of the X Windows server.
There are several methods for sending the XWIN ON command. The easiest is using psuedo-telnet, but it can also be done using ftp or writing to the NFS-mounted logic analyzer. See the following examples.
Example NFS method using a UNIX computer
To enable windows to be initiated from the logic analyzer named lp1660C, enter the following command on the computer running the X server:
xhost +lp1660C
If you have NFS mounted the analyzer’s file system to a directory named /logic on your computer whose IP address is 15.6.253.146 (and is running the X server), enter the following command to start the X Window interface:
echo "xwin on,’15.6.253.146:0.0’" > /logic/system/program
3-5
Using the X Window Interface
To start the interface
Example Pseudo–telnet method using a UNIX computer
To enable windows to be initiated from the logic analyzer named lp1660C, enter the following command on the computer running the X server :
xhost +lp1660C
To connect to the command parser socket of the logic analyzer named lp1660C, enter:
telnet lp1660C 5025
Agilent Technologies logic analyzers are not telnet servers. The UNIX command telnet is used to make a connection to the analyzer command parser, which uses socket number 5025. A telnet server would normally not need to have the socket specified.
To start the X Window interface on the computer whose IP address is
15.6.253.146 (and is running the X server) enter:
xwin on,"15.6.253.146:0.0"
If you are not planning on sending more commands to the logic analyzer, close the telnet connection by typing the escape character, and then "quit" when the telnet prompt appears. The escape character is often Control-]; your telnet program should tell you when it opens the connection.
3-6
Loading...
+ 76 hidden pages