National Instruments PCI-GPIB Getting Started

National Instruments PCI-GPIB Getting Started

And the ni-488.2m software for digital unix
Hide thumbs Also See for PCI-GPIB:

Advertisement

Quick Links

Getting Started with Your PCI-GPIB
and the NI-488.2M
Software
for Digital UNIX
March 1996 Edition
Part Number 321182A-01
© Copyright 1996 National Instruments Corporation.
All Rights Reserved.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PCI-GPIB and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for National Instruments PCI-GPIB

  • Page 1 Getting Started with Your PCI-GPIB ™ and the NI-488.2M Software for Digital UNIX March 1996 Edition Part Number 321182A-01 © Copyright 1996 National Instruments Corporation. All Rights Reserved.
  • Page 2 National Instruments Corporate Headquarters 6504 Bridge Point Parkway Austin, TX 78730-5039 (512) 794-0100 Technical support fax: (512) 794-5678 Branch Offices: Australia 03 9 879 9422, Austria 0662 45 79 90 0, Belgium 02 757 00 20, Canada (Ontario) 519 622 9310, Canada (Québec) 514 694 8521,...
  • Page 3 The reader should consult National Instruments if errors are suspected. In no event shall National Instruments be liable for any damages arising out of or related to this document or the information contained in it.
  • Page 4 National Instruments will apply regardless of the form of action, whether in contract or tort, including negligence. Any action against National Instruments must be brought within one year after the cause of action accrues. National Instruments shall not be liable for any delay in performance due to causes beyond its reasonable control.
  • Page 5 National Instruments products are being used. National Instruments products are NOT intended to be a substitute for any form of established process, procedure, or equipment used to monitor or...
  • Page 6 FCC rules. If necessary, consult National Instruments or an experienced radio/television technician for additional suggestions. The following booklet prepared by the FCC may also be helpful: Interference to Home Electronic Entertainment Equipment Handbook.
  • Page 7: Table Of Contents

    Troubleshooting ibtsta Messages ........... 4-2 Common Questions ..............4-3 Chapter 5 Using Your NI-488.2M Software ..........5-1 Introduction to ibic ..............5-1 Programming Considerations ..........5-1 Appendix A Hardware Specifications ............A-1 © National Instruments Corp. PCI-GPIB for Digital UNIX...
  • Page 8 Contents Appendix B Customer Communication ............B-1 Glossary ..................... G-1 Figure Figure 2-1. Installing the PCI-GPIB ..........2-2 Tables Table A-1. Electrical Characteristics..........A-1 Table A-2. Physical Characteristics........... A-1 Table A-3. Environmental Characteristics......... A-1 PCI-GPIB for Digital UNIX viii © National Instruments Corp.
  • Page 9: About This Manual

    PCI-GPIB and the recommended operating conditions. • Appendix B, Customer Communication, contains forms you can use to request help from National Instruments or to comment on our products and manuals. • The Glossary contains an alphabetical list and a description of terms that this manual uses, including abbreviations, acronyms, metric prefixes, mnemonics, and symbols.
  • Page 10: Conventions Used In This Manual

    The following documents contain information that you may find helpful as you read this manual. • ANSI/IEEE Standard 488.1-1987, IEEE Standard Digital Interface for Programmable Instrumentation. • ANSI/IEEE Standard 488.2-1992, IEEE Standard Codes, Formats, Protocols, and Common Commands. PCI-GPIB for Digital UNIX © National Instruments Corp.
  • Page 11: Customer Communication

    About This Manual Customer Communication National Instruments wants to receive your comments on our products and manuals. We are interested in the applications you develop with our products, and we want to help if you have problems with them. To make it easy for you to contact us, this manual contains comment and configuration forms for you to complete.
  • Page 12: Chapter 1 Introduction

    Chapter 1 Introduction This chapter explains how to use this manual, lists what you need to get started, and describes the NI-488.2M software and the PCI-GPIB. How to Use This Manual Gather What You Need Chapter 1 to Get Started...
  • Page 13: What You Need To Get Started

    (HS488), so that you can have data transfers of up to 1.5 Mbytes/s, depending on the speed of your system. You can use standard GPIB cables to connect the PCI-GPIB with up to 14 instruments. If you need to use more than the maximum number of...
  • Page 14 GPIB expander/isolator to add additional instruments to the system. Double-shielded GPIB cables are also available. Refer to Appendix A, Hardware Specifications, for more information about the PCI-GPIB specifications and recommended operating conditions. © National Instruments Corp. PCI-GPIB for Digital UNIX...
  • Page 15: Hardware Installation

    Before you install the PCI-GPIB, consult the manual that came with your workstation for specific instructions and warnings. You must have super-user privileges to install the hardware and software. This requires you to log on as root.
  • Page 16 Hardware Installation Chapter 2 Figure 2-1. Installing the PCI-GPIB Screw the mounting bracket of the PCI-GPIB to the back panel rail of the computer. Replace the top cover (or the access panel to the expansion slot). Turn on your computer. The PCI-GPIB interface board is now installed.
  • Page 17: Software Installation And Configuration

    • An interactive GPIB control program (ibic) Remove an Existing Driver If you have a previous version of the NI-488.2M software for the PCI-GPIB installed in your system, you must remove it before you install the new version. To check for an existing driver, enter the following command:...
  • Page 18: Install The Software

    XXX is a three-digit number corresponding to the version number. Install the Software After you have removed any existing driver for the PCI-GPIB, follow these steps to install your NI-488.2M software. Remember you must be a super user to install the software.
  • Page 19: Configure The Software With Ibconf (Optional)

    Configure the Software with ibconf (Optional) The ibconf utility is the National Instruments GPIB driver configuration utility. After installing the software, you can run ibconf to examine or modify the software configuration. You also might want to run ibconf to change configuration options such as device names or timeout values.
  • Page 20 Reference Manual . After you have installed and configured the software, you should verify the installation. Refer to Chapter 4, Installation Verification and Troubleshooting, for instructions on verifying the software and hardware installation. PCI-GPIB for Digital UNIX © National Instruments Corp.
  • Page 21: Installation Verification And Troubleshooting

    National Instruments PCI-GPIB ************************************************** NI-488.2M GPIB Device Driver, Version 1. x Copyright (c) 1996 National Instruments Corp. * All Rights Reserved. ************************************************** where nnn is the serial number of the board, and XXXXXXX could either be blank, indicating the driver is capable of DMA I/O transfers, or *** NON-DMA ***, indicating the driver is not capable of DMA I/O transfers.
  • Page 22: Troubleshooting Ibtsta Messages

    Verify that you built a kernel with the driver and that you booted the system from the new kernel. • If the two previous items are correct, run the system utility kmknod by entering the following command: /sbin/kmknod PCI-GPIB for Digital UNIX © National Instruments Corp.
  • Page 23: Common Questions

    Contact your system administrator for more information. Another possibility is that the data on the distribution diskette is corrupted. Contact National Instruments in this case. Why can't I run ibconf? If you do not have the necessary reading and writing permission, you cannot run ibconf , because ibconf changes the binary code of the kernel (/vmunix).
  • Page 24 Programming Considerations section of Chapter 5, Using Your NI-488.2M Software. When would I use ibic? You can use ibic to test and verify instrument communication, troubleshoot problems, and develop your application program. For more PCI-GPIB for Digital UNIX © National Instruments Corp.
  • Page 25 Manual. What information should I have before I call National Instruments? When you call National Instruments, you should have the results of the diagnostic test ibtsta. You should also have run ibic to try to find the source of your problem. Also, make sure you have filled out the configuration form in Appendix B, Customer Communication.
  • Page 26: Using Your Ni-488.2M Software

    Include the header file ugpib.h in your application. #include <sys/ugpib.h> Compile the application program (assume that the example program you just created is in a file called test.c) by entering one of the following commands: © National Instruments Corp. PCI-GPIB for Digital UNIX...
  • Page 27 For more detailed information about compiling, refer to the man pages on cc and ld. Run the program by entering the following command: test For detailed information about each NI-488 function and NI-488.2 routine, refer to the NI-488.2M Software Reference Manual. PCI-GPIB for Digital UNIX © National Instruments Corp.
  • Page 28: Appendix A Hardware Specifications

    Appendix A Hardware Specifications This appendix specifies the electrical, environmental, and physical characteristics of the PCI-GPIB and the recommended operating conditions. Table A-1. Electrical Characteristics Characteristic Specification Number of GPIB Loads Maximum Transfer Rate 1.2 Mbytes/s using three-wire handshake* (programmed I/O) 1.5 Mbytes/s using HS488*...
  • Page 29 Filling out a copy of the Technical Support Form before contacting National Instruments helps us help you better and faster. National Instruments provides comprehensive technical assistance around the world.
  • Page 30 National Instruments for technical support helps our applications engineers answer your questions more efficiently. If you are using any National Instruments hardware or software products related to this problem, include the configuration forms from their user manuals. Include additional pages if necessary.
  • Page 31 National Instruments software product Version Configuration The problem is List any error messages The following steps will reproduce the problem...
  • Page 32 National Instruments Products • PCI-GPIB Hardware Revision • NI-488.2M Software Version Number on Distribution Medium • Number of PCI-GPIB Boards in System Other Products • Computer Make and Model • Clock Frequency • Operating System Version •...
  • Page 33 Documentation Comment Form National Instruments encourages you to comment on the documentation supplied with our products. This information helps us provide quality products to meet your needs. ™ Title: Getting Started with Your PCI-GPIB and the NI-488.2M Software for Digital UNIX...
  • Page 34 If you find errors in the manual, please record the page numbers and describe the errors. Thank you for your help. Name Title Company Address Phone Mail to: Technical Publications National Instruments Corporation 6504 Bridge Point Parkway Austin, TX 78730-5039 Fax to: Technical Publications National Instruments Corporation (512) 794-5678...
  • Page 35 General Purpose Interface Bus hertz ibic Interface Bus Interactive Control IEEE Institute of Electrical and Electronic Engineers inches input/output Industry Standard Architecture meters megabytes of memory Peripheral Component Interconnect random-access memory seconds volts direct current © National Instruments Corp. PCI-GPIB for Digital UNIX...

Table of Contents