HP 16500H User Manual
HP 16500H User Manual

HP 16500H User Manual

Interface module
Hide thumbs Also See for 16500H:

Advertisement

Quick Links

LAN User's Guide
Publication number 16500-97013
First edition, May 1995
For Safety information, Warranties and Regulatory information, see the pages
behind the index
© Copyright Hewlett-Packard Company 1993-1995
All Rights Reserved
HP 16500H Interface Module

Advertisement

Table of Contents
loading

Summary of Contents for HP 16500H

  • Page 1 LAN User’s Guide Publication number 16500-97013 First edition, May 1995 For Safety information, Warranties and Regulatory information, see the pages behind the index © Copyright Hewlett-Packard Company 1993-1995 All Rights Reserved HP 16500H Interface Module...
  • Page 2 Save and restore HP 16500B system and module configurations. • Program the HP 16500B. Requirements In order to use the HP 16500B Logic Analysis System on the LAN, you need the following equipment and software: • HP 16500B Logic Analysis Mainframe.
  • Page 3 • Chapter 1 shows you how to access Programming the HP 16500B the HP 16500B’s file system. This is a prerequisite for some of the other things you can do with an HP 16500B Concepts on the network.
  • Page 4 The HP 16500H Interface Module LAN Administrator’s and Service Guide for information on setting up the HP 16500H. The HP 16500H Interface Module Installation and Service Guide for information about installing the HP 16500H. The Logic Analyzer Training Kit if you are unfamiliar with the basic operation of the HP 16500B system.
  • Page 5: Table Of Contents

    1 Accessing the HP 16500B File System To mount the file system via NFS 1–4 To access the file system via FTP 1–9 2 Using the HP 16500B X Window Interface To start the interface 2–4 To close the interface 2–9 To load the custom fonts 2–11...
  • Page 6 If you cannot connect to the HP 16500B 7–2 If you cannot mount the HP 16500B file system 7–3 If you cannot access the HP 16500B file system via FTP 7–3 If you cannot start the X Window interface 7–4 If you cannot copy files from HP 16500B 7–4...
  • Page 7: Accessing The Hp 16500B File System

    Accessing the HP 16500B File System...
  • Page 8 Access the file system via FTP. This chapter assumes that the HP 16500B mainframe is physically connected to your local area network. If it is not connected, refer to the HP 16500H Administrator’s and Service Guide for information on how to connect the system.
  • Page 9 Do not delete the operating system files. If the files are deleted, the C A U T I O N HP 16500B will not operate the next time it is re-booted. If you accidentally delete any of these files, copy them from the flexible disks labeled "16500 Operating System"...
  • Page 10: To Mount The File System Via Nfs

    [symbolic name|IP address]:/[control|data] /[directory name] The symbolic name is the host name of the HP 16500B 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 HP 16500B’s IP (Internet Protocol) address.
  • Page 11 Accessing the HP 16500B File System To mount the file system via NFS Example To mount, as the control user, the HP 16500B named "16500sys" to a directory on your computer named "/logic", enter the following command at the UNIX command line:...
  • Page 12 To mount the file system via NFS From Computers Running the MS-DOS Operating System To use the HP 16500H in an MS-DOS environment, you need to install a program on your PC that allows you to use NFS protocol. One example is PC-NFS by SunSoft Inc.
  • Page 13 To mount the file system via NFS From Computers Running MS Windows To use the HP 16500H in an MS Windows environment, you need to install a program on your PC that allows you to use NFS protocol. One example is PC-NFS by SunSoft Inc.
  • Page 14 Accessing the HP 16500B File System To mount the file system via NFS In the Path field, type the name of the server that the HP 16500B system is mounted on, followed by the HP 16500’s name or IP address. At the end of the path, specify which kind of connection...
  • Page 15: To Access The File System Via Ftp

    [symbolic name|IP address] The symbolic name is the host name of the HP 16500B 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 HP 16500B’s IP (Internet Protocol) address.
  • Page 16 1-10...
  • Page 17 Using the HP 16500B X Window Interface...
  • Page 18: Using The Hp 16500B X Window Interface

    Close the interface. • Load the custom fonts. Supported HP 16500B Modules The more recent HP 16500 modules are supported with the X Window interface. They include the following: • HP 16517A and HP 16518A Ultra High Speed Timing modules.
  • Page 19 Using the HP 16500B X Window Interface Or, use the keyboard’s tab or arrow keys to highlight a field and use the carriage return key to make the selection. Duplicating Front-Panel Knob Movement Hold down the center mouse button, and move the mouse up or to the right to duplicate clockwise knob movement;...
  • Page 20: To Start The Interface

    From the HP 16500B Front Panel Start the X server software on your host computer. On your X server, enable HP 16500B initiated windows. Most X server packages have a security feature which stops unwanted client-initiated windows from being displayed.
  • Page 21 Connected.The window below appears on the computer running the X server. From a Remote Computer On your X server, enable HP 16500B initiated windows. Most X server packages have a security feature which stops unwanted client-initiated windows from being displayed.
  • Page 22 "lp16500b", enter: telnet lp16500b 5025 The HP 16500B is not a telnet server. The telnet UNIX command is used to make a connection to the HP 16500B command parser, which uses socket number 5025 in the logic analyzer. A telnet server would normally not need to have the socket specified.
  • Page 23 X server software, first start the X server software (and enable HP 16500B initiated windows, if necessary). If you have NFS mounted the HP 16500B’s file system to the logical drive "L:" 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"...
  • Page 24 Using the HP 16500B X Window Interface To start the interface The HP 16500B is named lp16500b in this example. Next, create a text file with the following contents (where 15.6.253.146 is the IP address of the X server with display 0 and screen 0 selected): xwin on,’15.6.253.146:0.0’<cr>...
  • Page 25: To Close The Interface

    Using the HP 16500B X Window Interface To close the interface To close the interface From the HP 16500B X Window Interface or Front Panel In the System Configuration menu, select the Communications field. Then, select the X Window field.
  • Page 26 Example Network file system method. If you have mounted the HP 16500B’s file system to a directory named "/logic" on your UNIX computer, enter the following command to close the X Window interface: echo ’xwin off’ > /logic/system/program If you are using a PC and the logical drive "L:,"...
  • Page 27: To Load The Custom Fonts

    Copy the SM165.BDF and LG165.BDF files from the HP 16500B’s \system\disk\hard\system directory to a directory on your computer. These font files may also be copied from the HP 16500B Operating System (version 2.00 or greater) media. Set up the X server so that it can read these fonts.
  • Page 28 Change to the directory where you want to install the custom font files. cd /users/guest/165fonts As the data user, access, via FTP, the file system of the HP 16500B named lp16500b. Then, copy the SM165.BDF and LG165.BDF files from the HP 16500B’s \system\disk\hard\system directory to your computer.
  • Page 29 Using the HP 16500B X Window Interface To load the custom fonts The xset commands must be repeated each time that X11 is restarted. To overcome this, simply install the fonts in the default X11 font directory, typically found in /usr/lib/X11/fonts/misc; this directory is usually protected, so your system administrator may have to perform the installation.
  • Page 30 Window Dimensions and Content The dimensions of the HP 16500B window are set at 576 x 378 pixels to match the instrument display. The actual size of the window will vary with the physical and pixel dimensions of your computer display. Re–sizing the window will not add more content.
  • Page 31: Retrieving And Restoring Measurement Data

    Retrieving and Restoring Measurement Data...
  • Page 32 Retrieving and Restoring Measurement Data This chapter shows you how to: • Copy ASCII measurement data. • Copy raw measurement data. • Restore raw measurement data. • Strip LIF structure from raw measurement data. • Copy screen images from \system\graphics. •...
  • Page 33: To Copy Ascii Measurement Data

    Access the HP 16500B’s file system. Refer to the "Accessing the HP 16500B File System" chapter. You can do this from the HP 16500B’s X Window interface or front panel, or by programming the HP 16500B. Copy the measurement data from the \slot_{x}\data.asc subdirectory.
  • Page 34 Example Suppose you have an HP 16550A State/Timing Analyzer installed in slot C of your HP 16500B mainframe. The name of analyzer 1 of the HP 16550A is 68000_BUS. You have created some labels under analyzer 1 of the HP 16550A, including one called "addr_lo." The directory structure of the...
  • Page 35: To Copy Raw Measurement Data

    Set up the module for the measurement you want to make, and run the analyzer to acquire data. You can do this from the HP 16500B’s X Window interface or front panel, or by programming the HP 16500B. Access the HP 16500B’s file system.
  • Page 36: To Restore Raw Measurement Data

    Retrieving and Restoring Measurement Data To restore raw measurement data To restore raw measurement data Access the HP 16500B’s file system as the control user. Refer to the "Accessing the HP 16500B File System" chapter. Copy the data.raw file to the appropriate \slot_{x} directory.
  • Page 37: To Strip Lif Structure From Raw Measurement Data

    Write a program that strips LIF structure from raw data files. You may want to convert the data.raw file into a format that is consistent with the file format transmitted from the HP 16500B via HP-IB. The following example program will perform this conversion.
  • Page 38 Retrieving and Restoring Measurement Data To strip LIF structure from raw measurement data Example This C-language program strips the LIF structure from the data.raw file. #include <stdio.h> main( argc, argv ) int argc ; char *argv[] ; char buffer[256] ; int len ;...
  • Page 39: To Copy Screen Images From \System\Graphics

    - a black and white Encapsulated PostScript file in EPS version 3.0 format. These graphics files contain the current display on the HP 16500B screen. The contents of the files change whenever you change the display. When you copy one of the graphics files, the display will freeze for a few moments to make a copy of the current display.
  • Page 40 Retrieving and Restoring Measurement Data To copy screen images from \system\graphics Example To import a color .PCX graphics file into an MS Windows based bitmap editor, perform the following steps: Select FILE, OPEN Select the graphics subdirectory L:\system\graphics Double-click on the file screen.pcx 3-10...
  • Page 41: To Copy Status Information From \Status

    • frame.txt - shows which modules are installed in the slots of your HP 16500B system and the version of operating system code for each module. • mount.txt - shows the hosts that the HP 16500B is currently mounted on and whether it’s a control user access or data user access.
  • Page 42 Retrieving and Restoring Measurement Data To copy status information from \status Example An example frame.txt file: Analyzer name:16500SYS Slot Module Name Code Version Card ID Code ====== =========== ============ ============ System V02.00 slot_a Pattern Gen V02.00 slot_d 100/500MHz LA V02.00 Example An example mount.txt file: Analyzer name: 16500SYS...
  • Page 43: Configuring Hp 16500B Modules

    Configuring HP 16500B Modules...
  • Page 44 Configuring HP 16500B Modules This chapter shows you how to: • Copy module configurations from setup.raw. • Restore module configurations. You can also configure modules by programming the HP 16500B (refer to the "Programming the HP 16500B" chapter).
  • Page 45: To Copy Module Configurations From Setup.raw

    To copy module configurations from setup.raw Set up the module configuration. You can do this from the HP 16500B’s X Window interface or front panel. Access the HP 16500B’s file system. Refer to the "Accessing the HP 16500B File System" chapter.
  • Page 46: To Restore Module Configurations

    Suppose you want to load a configuration file called "486_bus" from your local computer into an HP 16550A state/timing module. The HP 16550A is installed in slot B of the HP 16500B mainframe. The mainframe is mounted on your network as disk drive L:.
  • Page 47: Programming The Hp 16500B

    Programming the HP 16500B...
  • Page 48 Programming the HP 16500B You can program the HP 16500B over the Local Area Network (LAN) by sending commands to the \system\program file or by sending commands to the command parser socket. This chapter shows you how to: • Set up for Ethernet programming.
  • Page 49 Connection to the command parser socket is, by definition, a control user connection. Because only one control user connection is allowed, you will not be able to connect to the command parser socket if someone else is accessing the HP 16500B’s file system as the control user.
  • Page 50: To Set Up For Ethernet Programming

    To set up for Ethernet programming To set up for Ethernet programming Before you can send programming commands to the HP 16500B via the LAN, you must set up Ethernet communications from the HP 16500B front panel. In the System Configuration menu, select the Communications field.
  • Page 51 Configuration Menu will look like this: asterisk The asterisk next to the word "Ethernet" indicates that the Ethernet port has been selected to be the controller port. This prevents commands from being accepted by the HP 16500B via HP-IB or RS-232.
  • Page 52: To Enter Commands Directly, Using Telnet

    The syntax of the TELNET command is: telnet [symbolic name|IP address] 5025 The symbolic name is the host name of the HP 16500B 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.
  • Page 53: To Copy Commands To \System\Program

    \system\program file. Example Suppose an HP 16550A state/timing analyzer is installed in slot C (slot 3) of your HP 16500B mainframe. To clear the trigger set-up on the HP 16550A, enter the following echo commands at the MS-DOS prompt: echo :SELECT 3 >...
  • Page 54 To copy commands to \system\program Example Suppose an HP 16550A state/timing analyzer is installed in slot C (slot 3) of your HP 16500B mainframe. To clear the format and trigger set-ups on the HP 16550A, first type the following commands into an ASCII text file.
  • Page 55: To Write Programs That Open \System\Program

    \system\program file. Your operating system may buffer the commands before sending them to the HP 16500B. To prevent this, you may need to empty the buffer after each command. In C-language, you can use the flush function to empty the buffer.
  • Page 56 Programming the HP 16500B To write programs that open \system\program Example The following C-language example opens the \system\program file and sends several commands and queries. #include <stdio.h> #include <unistd.h> #define STR_LEN 80 void putstr(file, str) FILE *file; char *str; fwrite(str, strlen(str), 1, file);...
  • Page 57 Programming the HP 16500B To write programs that open \system\program putstr(file, ":sel 9\n"); putstr(file, ":mach1:twav:range 1 s\n"); putstr(file, ":start\n"); putstr(file, ":mach1:twav:range 100 ns\n"); fclose(file); sleep(2); file = fopen("/logic/system/program", "r"); while (getstr(file, receive_str) == 0); fclose(file); printf("%s\n", receive_str); 5-11...
  • Page 58: To Write Programs That Open The Command Parser Socket

    To write programs that open the command parser socket • If you are programming in C, open the HP 16500B command parser socket and send programming commands to it. The HP 16500B command parser socket port identification number is 5025.
  • Page 59 Programming the HP 16500B To write programs that open the command parser socket serv_addr.sin_port = htons ( port ); /* Create an endpoint for communication */ sockfd = socket( AF_INET, SOCK_STREAM, 0 ); /* Initiate a connection on the created socket */ connect( sockfd, ( tdSOCKET_ADDR * )&serv_addr, sizeof (...
  • Page 60 5-14...
  • Page 61: Concepts

    Concepts...
  • Page 62 Concepts This chapter describes: • HP 16500B File System Directory Structure • Dynamic Files • New Menus for HP 16500H...
  • Page 63: Hp 16500B File System Directory Structure

    Concepts HP 16500B File System Directory Structure HP 16500B File System Directory Structure The HP 16500B directory structure is shown below. HP 16500B Directory Structure setup.raw Binary configuration files. You can save and restore configurations by copying these files. \system\program Port for sending programming commands to the command parser.
  • Page 64 ASCII measurement data. There are two subdirectories attached to the data.asc directory, one for each of the two analyzers in the HP 16554A/55A/56A (if they are turned on in the Configuration Menu). The default names of these subdirectories are machine1 and machine2, but they will change whenever the analyzer names are changed in the Configuration Menu.
  • Page 65 ASCII measurement data. There are two subdirectories attached to the data.asc directory, one for each of the two analyzers in the HP 16550A (if they are turned on in the Configuration Menu). The default names of these subdirectories are machine1 and machine2, but they will change whenever the analyzer names are changed in the Configuration Menu.
  • Page 66 Both state and timing data are available, and both kinds of data are represented as a column of values. The numeric base - hex, binary, etc., in these files is the same as the base that is currently set in the HP 16550A Listing Menu.
  • Page 67 Concepts HP 16500B File System Directory Structure HP 16542A State Analyzer Subdirectories and Files If you are using an HP 16542A 2-Mbyte state analyzer, the slot_x directory contains a subdirectory called data.asc that contains ASCII measurement data. HP 16542A State Analyzer Directory Structure Label Data Files: \slot_x\data.asc\{label name}.txt The data.asc...
  • Page 68 Sample_period 10e-9 See Also The HP 16542A User’s Reference for more information about data acquisition modes. Time Tag and State Tag Data If time count feature is turned on, the time_abs.txt file contains a column of time values for the most current state or timing measurement.
  • Page 69: Dynamic Files

    Your applications might only retrieve one or two characters from a file that you believe has many more characters in it. To work around this problem, copy the file that you want to work with from the HP 16500B system to your local computer. Use the local copy as your working copy.
  • Page 70: New Menus For Hp 16500H

    When the HP 16500H LAN Interface Module is installed in your HP 16500B mainframe, several new menus or menu choices become available in the HP 16500B. These new fields and menus allow you to set up your LAN port and the high speed port, and to configure the HP 16500B.
  • Page 71 Controller Selection field Ethernet field See Also The HP 16500H Administrator’s and Service Guide for more information about the LAN configuration and setup menus. The HP 16500B System User’s Reference for a detailed explanation of the Communication Configuration menu. 6-11...
  • Page 72 New Menus for HP 16500H Time Zone Field When an HP 16500H is installed and the HP 16500B is connected to a LAN, a field labeled "Time Zone" appears in the Real Time Clock setup menu. The Real Time Clock setup menu is accessed by selecting the Real Time Clock Adjustments field in the System Utilities menu.
  • Page 73: If You Have A Problem

    If You Have a Problem...
  • Page 74: If You Cannot Connect To The Hp 16500B

    Make sure power to the HP 16500B is ON. Check the physical connection to the LAN. Make sure the Internet (IP) Address of the HP 16500B is set up correctly in the Ethernet communications configuration. If the HP 16500B and the computer are on different networks or subnets,...
  • Page 75: If You Cannot Mount The Hp 16500B File System

    OFF power to the HP 16500B before unmounting. If you get a "server not responding" message: If the power to the HP 16500B was just turned ON, make sure that you wait 15 seconds after the System Configuration menu is displayed before attempting the mount.
  • Page 76: If You Cannot Start The X Window Interface

    If you get an "Unable to open window on <IP address>.<display>.<screen>" message: Make sure that the HP 16500B has permission to open a window on the X server. For example, you may have to enter an "xhost +<16500 IP address>" command on your X server machine.
  • Page 77: If You Cannot Restore Raw Files

    HP 16500B system: Verify the LAN connection between your computer and the HP 16500B. Refer to "If you cannot connect to the HP 16500B" earlier in this chapter. Change the file time-out. To change the time-out: Access the HP 16500B System Configuration menu.
  • Page 78: If You Get An "Operation Timed-Out" Message

    If You Have a Problem If you get an "operation timed-out" message If the power to the HP 16500B was just turned ON, make sure that you wait 15 seconds after the System Configuration menu is displayed before attempting the TELNET.
  • Page 79 TCP/IP network. a file system or printer. The HP 16500B acts like a server on your Before using your HP 16500B, you or network. Glossary-1...
  • Page 80 If the is no response by the end of the pe- riod, the system takes an action. In the HP 16500B, the file timeout func- tion in the Ethernet Configuration menu is used to set the time out pe- riod.
  • Page 81 (front-panel) movement, duplicating, custom fonts for X Window interface, 2–3 2–3 loading, 2–11 to 2–13 FTP, accessing the HP 16500B file system, 1–9 label names, 6–4, 6–6 data last line of acquisition, 6–6 HP16542A, 6–6 Gateway Address, 7–2...
  • Page 82 HP 16542A, 6–6 TIFF format screen image files, copying, HP 16550A, 6–4 queries by program commands, 5–9 3–9 to 3–10 menus, new for in the HP 16500H, 6–9 to time out, 7–5 to 7–6 6–11 time tags module status, 3–11 HP 16542A, 6–7...
  • Page 83 • © Copyright Hewlett- Safety Safety Symbols Service instructions are for Packard Company 1987, trained service personnel. To This apparatus has been 1990, 1993, 1994, 1995 avoid dangerous electric designed and tested in shock, do not perform any All Rights Reserved. accordance with IEC Instruction manual symbol: service unless qualified to do...
  • Page 84 This Hewlett-Packard This is the third edition of the Hewlett-Packard edition and of any changed product has a warranty HP 16500H Interface specifically disclaims the pages to that edition. against defects in material Module User’s Guide. implied warranties of...

Table of Contents