National Instruments GPIB Series Getting Started

National Instruments GPIB Series Getting Started

For solaris
Hide thumbs Also See for GPIB Series:

Advertisement

Quick Links

GPIB
Getting Started with Your
PCI-GPIB, PXI
-GPIB, or
PMC-GPIB and NI-488.2
for Solaris
PCI-GPIB, PXI-GPIB, or PMC-GPIB for Solaris
May 2001 Edition
Part Number 321381B-01

Advertisement

Table of Contents
loading

Summary of Contents for National Instruments GPIB Series

  • Page 1 GPIB Getting Started with Your ™ PCI-GPIB, PXI -GPIB, or ™ PMC-GPIB and NI-488.2 for Solaris PCI-GPIB, PXI-GPIB, or PMC-GPIB for Solaris May 2001 Edition Part Number 321381B-01...
  • Page 2 Singapore 2265886, Spain 91 640 0085, Sweden 08 587 895 00, Switzerland 056 200 51 51, Taiwan 02 2528 7227, United Kingdom 01635 523545 For further support information, see the Technical Support Resources appendix. To comment on the documentation, send e-mail to techpubs@ni.com. Copyright © 2001 National Instruments Corporation. All rights reserved.
  • 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 Classification requirements are the same for the Federal Communications Commission (FCC) and the Canadian Department of Communications (DOC). Changes or modifications not expressly approved by National Instruments could void the user’s authority to operate the equipment under the FCC Rules.
  • Page 5 Canadian Department of Communications This Class B digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations. Cet appareil numérique de la classe B respecte toutes les exigences du Règlement sur le matériel brouilleur du Canada. Compliance to EU Directives Readers in the European Union (EU) must refer to the Manufacturer's Declaration of Conformity (DoC) for information** pertaining to the CE Mark compliance scheme.
  • Page 6 Conventions The following conventions are used in this manual: This icon denotes a caution, which advises you of precautions to take to avoid injury, data loss, or a system crash. italic Italic text denotes variables, emphasis, a cross reference, or an introduction to a key concept.
  • Page 7: Table Of Contents

    Verifying the System Boot Messages ................3-1 Running the Software Installation Test .................3-1 Troubleshooting Error Messages ...................3-2 Chapter 4 Using NI-488.2 with Solaris Using ibic ........................4-1 Programming Considerations ..................4-1 Appendix A Common Questions Appendix B Specifications © National Instruments Corporation PCI-GPIB, PXI-GPIB, or PMC-GPIB for Solaris...
  • Page 8 Contents Appendix C Technical Support Resources Glossary Index PCI-GPIB, PXI-GPIB, or PMC-GPIB for Solaris viii ni.com...
  • Page 9: What You Need To Get Started

    One of the following GPIB cables: – For the PCI-GPIB or PXI-GPIB—single-shielded or double-shielded cables, Type X1, X2, X4, X5, or X11, which you can order from National Instruments – For the PMC-GPIB—MicroGPIB cable, which is included in your kit...
  • Page 10: Ni-488.2 Overview

    You can connect the PCI-GPIB, PXI-GPIB, or PMC-GPIB with up to 14 instruments. If you need to use more than the maximum number of instruments, you can use the National Instruments GPIB extenders or the GPIB expander/isolator to add more instruments to the system.
  • Page 11 ANSI C environment for building your test program logic, and a collection of automated code generation tools, as well as utilities for building automated test systems, monitoring applications, or laboratory experiments. © National Instruments Corporation PCI-GPIB, PXI-GPIB, or PMC-GPIB for Solaris...
  • Page 12: Installation

    Remove the top cover (or other access panels) to give yourself access to the computer expansion slots. Find an unused PCI slot in your computer. Remove the corresponding slot cover. © National Instruments Corporation PCI-GPIB, PXI-GPIB, or PMC-GPIB for Solaris...
  • Page 13 Chapter 2 Installation Insert the PCI-GPIB into the slot with the GPIB connector sticking out of the opening on the back panel, as shown in Figure 2-1. It might be a tight fit, but do not force the board into place. Replace the top cover (or the access panel to the PCI slot).
  • Page 14: Installing The Pxi-Gpib

    PXI-GPIB has an onboard DMA controller that can only be used if the board is installed in a slot that supports bus arbitration, or bus master cards. National Instruments recommends installing the PXI-GPIB in such a slot. If you install...
  • Page 15 Chapter 2 Installation 1 Injector/Ejector Handle (in Down Position) 3 PXI Chassis 2 PXI-GPIB Board 4 Injector/Ejector Rail Figure 2-2. Installing the PXI-GPIB PCI-GPIB, PXI-GPIB, or PMC-GPIB for Solaris ni.com...
  • Page 16: Installing The Pmc-Gpib

    Use the mounting hardware provided to fasten the PMC-GPIB to the host. 9. Reinstall the host, if you removed it to install the PMC-GPIB. 10. Turn on your system. The PMC-GPIB interface board is now installed. © National Instruments Corporation PCI-GPIB, PXI-GPIB, or PMC-GPIB for Solaris...
  • Page 17: Installing Ni-488.2

    Chapter 2 Installation 1 Host Face Plate 3 +5 V Voltage Key 2 PMC-GPIB Board 4 Mounting Screws Figure 2-3. Installing the PMC-GPIB Installing NI-488.2 Complete the following steps to install NI-488.2 for Solaris. Insert the NI-488.2 for Solaris installation CD-ROM. You must have superuser privilege before you can install NI-488.2 for Solaris.
  • Page 18: Configuring The Software With Ibconf (Optional)

    NI-488.2 software. To remove NI-488.2 from the kernel configuration, you must have super-user privilege and the driver must not be in use. Enter the following command to unload the software: pkgrm NIpcigpib © National Instruments Corporation PCI-GPIB, PXI-GPIB, or PMC-GPIB for Solaris...
  • Page 19: Verify The Installation

    DMA and interrupt operation. ibtstb ibtstb requires a GPIB analyzer, such as the National Instruments GPIB analyzer. You can omit this test if an analyzer is not available. © National Instruments Corporation PCI-GPIB, PXI-GPIB, or PMC-GPIB for Solaris...
  • Page 20: Troubleshooting Error Messages

    Chapter 3 Verify the Installation Follow these steps to run the software verification test. Type the following command to verify the software installation. ibtsta completes without errors and you have a bus analyzer, ibtsta connect the bus analyzer to the GPIB board and run by typing ibtstb the following command.
  • Page 21: Using Ni-488.2 With Solaris

    For example, you must include the header file in your source code if you are using C/C++. sys/ugpib.h © National Instruments Corporation PCI-GPIB, PXI-GPIB, or PMC-GPIB for Solaris...
  • Page 22 Chapter 4 Using NI-488.2 with Solaris You must link the language interface library with your compiled source code. Link the GPIB C language interface library using one of the following commands, where is your application name: example.c cc example.c -lgpib cc example.c -dy -lgpib cc example.c -dn -lgpib specifies dynamic linking, which is the default method.
  • Page 23: Appendix A Common Questions

    PCI-GPIB, PXI-GPIB, or PMC-GPIB. If necessary, remove and reinstall NI-488.2 from the CD-ROM. If you already have completed the troubleshooting steps, contact National Instruments. How should I check for errors in my GPIB application? Examine the value of after each NI-488 or NI-488.2 call. If a call...
  • Page 24 Chapter 5, NI-488M Software Characteristics and Functions, in the NI-488.2M Software Reference Manual, for more information. What information should I have before I call National Instruments? Please have the results of the diagnostic test . You also should have ibtsta to try to find the source of your problem.
  • Page 25: Appendix B Specifications

    PXI-GPIB........10 by 16 cm (3.94 by 6.30 in.) PMC-GPIB........7.4 by 14.9 cm (2.9 by 5.9 in.) I/O Connectors PCI-GPIB ..........IEEE 488 standard 24 pin PXI-GPIB..........IEEE 488 standard 24 pin PMC-GPIB..........Micro D-sub 25 pin © National Instruments Corporation PCI-GPIB, PXI-GPIB, or PMC-GPIB for Solaris...
  • Page 26 Appendix B Specifications Maximum Software Transfer Rates PCI-GPIB 3-wire (IEEE 488) ......1.3 Mbytes/s HS488 ..........7.2 Mbytes/s PXI-GPIB 3-wire (IEEE 488) ......1.5 Mbytes/s HS488 ..........7.8 Mbytes/s PMC-GPIB 3-wire (IEEE 488) ......1.5 Mbytes/s HS488 ..........7.8 Mbytes/s Actual speed may vary considerably from speed shown due to system and instrumentation capabilities. PCI-GPIB, PXI-GPIB, or PMC-GPIB for Solaris ni.com...
  • Page 27 Technical Support Resources Web Support National Instruments Web support is your first stop for help in solving installation, configuration, and application problems and questions. Online problem-solving and diagnostic resources include frequently asked questions, knowledge bases, product-specific troubleshooting wizards, manuals, drivers, software updates, and more. Web support is available through the Technical Support section of ni.com...
  • Page 28 Appendix C Technical Support Resources Worldwide Support National Instruments has offices located around the world to help address your support needs. You can access our branch office Web sites from the Worldwide Offices section of . Branch office Web sites provide ni.com...
  • Page 29 Federal Communications Commission GPIB General Purpose Interface Bus hertz input/output IEEE Institute of Electrical and Electronic Engineers inches interrupt request meters megabytes of memory random-access memory seconds volts volts direct current © National Instruments Corporation PCI-GPIB, PXI-GPIB, or PMC-GPIB for Solaris...
  • Page 30 PCI-GPIB, 2-1 PMC-GPIB, 2-5 PXI-GPIB, 2-3 verification, 3-1 getting started, 1-1 GPIB cables disconnecting before running ibtsta, A-1 GPIB communication, A-2 kit contents, 1-1 hardware overview, 1-1 LabVIEW, 1-2 LabWindows/CVI, 1-2 © National Instruments Corporation PCI-GPIB, PXI-GPIB, or PMC-GPIB for Solaris...
  • Page 31 1-1 National Instruments software installation, 2-5 LabVIEW, 1-2 power requirements, B-1 LabWindows/CVI, 1-2 programming considerations, 4-1 National Instruments Web support, C-1 PXI-GPIB NI Developer Zone, C-1 hardware overview, 1-1 NI-488.2 instalation, 2-3 components, 1-2 configuring with ibconf, 2-7...
  • Page 32 Index verifying Web support from National Instruments, C-1 software installation, 3-1 worldwide technical support, C-2 system boot messages, 3-1 voltage rating, B-1 © National Instruments Corporation PCI-GPIB, PXI-GPIB, or PMC-GPIB for Solaris...

This manual is also suitable for:

Pci-gpibPxi-gpibPmc-gpibNi-488.2

Table of Contents