National Instruments GPIB-PCIIB Getting Started

National Instruments GPIB-PCIIB Getting Started

With ni-488 software for ms-dos

Advertisement

Quick Links

National Instruments GPIB-PCIIB Manual
Get Pricing & Availability at
ApexWaves.com
Call Today: 1-800-915-6216
Email:
sales@apexwaves.com
https://www.apexwaves.com/modular-systems/national-instruments/gpib-instrument-control-modules/GPIB-PCIIB

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for National Instruments GPIB-PCIIB

  • Page 1 National Instruments GPIB-PCIIB Manual Get Pricing & Availability at ApexWaves.com Call Today: 1-800-915-6216 Email: sales@apexwaves.com https://www.apexwaves.com/modular-systems/national-instruments/gpib-instrument-control-modules/GPIB-PCIIB...
  • Page 2 Getting Started with Your GPIB-PCIIB and the ® NI-488 Software for MS-DOS June 1994 Edition Part Number 320226B-01 © Copyright 1989, 1994 National Instruments Corporation. All Rights Reserved.
  • Page 3 National Instruments Corporate Headquarters 6504 Bridge Point Parkway Austin, TX 78730-5039 (512) 794-0100 Technical support fax: (800) 328-2203 (512) 794-5678 Branch Offices: Australia (03) 879 9422, Austria (0662) 435986, Belgium 02/757.00.20, Canada (Ontario) (519) 622-9310, Canada (Québec) (514) 694-8521, Denmark 45 76 26 00, Finland (90) 527 2321, France (1) 48 14 24 24,...
  • Page 4 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 5 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. The warranty provided herein does not cover damages, defects, malfunctions, or service failures caused by owner’s failure to follow the National Instruments...
  • Page 6 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 safeguard human health and safety in medical or clinical treatment.
  • Page 7 FCC/DOC Radio Frequency Interference Compliance This equipment generates and uses radio frequency energy and, if not installed and used in strict accordance with the instructions in this manual, may cause interference to radio and television reception. This equipment has been tested and found to comply with the following two regulatory agencies: Federal Communications Commission This device complies with Part 15 of the Federal Communications...
  • Page 8 National Instruments could void the user’s authority to operate the equipment under the 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: How to Identify and Resolve Radio-TV Interference Problems.
  • Page 9: Table Of Contents

    Accessing IBSTART........3-4 Running IBSTART ........3-4 Step 3. Configure the Software (optional) ....3-6 Step 4. Restart (optional)........... 3-7 Step 5. Test the Software Installation......3-8 Step 6. Developing Your Application Program ..3-9 © National Instruments Corp. GPIB-PCIIB/MS-DOS...
  • Page 10 Figure 2-4. DMA Channel Jumper Setting Options ......2-7 Figure 2-5. Wait-State Generator Settings ..........2-8 Tables Table 2-1. Factory Default Settings and Optional Configurations ..............2-2 Table 2-2. DMA Channels for the GPIB-PCIIB ........2-6 GPIB-PCIIB/MS-DOS © National Instruments Corp.
  • Page 11: About This Manual

    GPIB-PCIIB board. • Appendix, Customer Communication, contains forms you can use to request help from National Instruments or to comment on our products and manuals. Conventions Used in This Manual Throughout this manual, the following conventions are used to distinguish...
  • Page 12: Customer Communication

    Key names are capitalized. 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 13: Chapter 1 Introduction

    5.25 in. NI-488 Distribution Disk for NI-488 MS-DOS Handler, BASICA, QuickBASIC, C * , and Universal Interfaces * Microsoft C Optional Equipment You can call National Instruments to order the following optional equipment. • Double-shielded GPIB cables* GPIB Type X2 cables (1 m, 2 m, or 4 m) To meet FCC emission limits for a Class B device, you must use a double-shielded (Type X2) GPIB cable.
  • Page 14: Hardware Configuration And Installation

    Hardware Configuration and Installation This chapter contains the instructions to configure and install the GPIB-PCIIB interface board. Configuration Figure 2-1 shows the location of the GPIB-PCIIB configuration jumpers and switches. Figure 2-1. GPIB-PCIIB Parts Locator Diagram © National Instruments Corp. GPIB-PCIIB/MS-DOS...
  • Page 15: Switch And Jumper Settings

    Chapter 2 The settings of the base I/O address, the interrupt line, and the DMA channel to which the GPIB-PCIIB was configured at the factory are suitable for most computer systems. These default settings must exactly match the software configurations in the NI-488 software.
  • Page 16: Base I/O Address Selection

    I/O channel. The base I/O address for the GPIB-PCIIB is determined by the switches at position U22. The switches are set at the factory for the I/O address 2B0 hex. The GPIB-PCIIB uses the I/O address space 2B0 through 2BF hex with this setting.
  • Page 17: Figure 2-2. Base I/O Address Switch Settings

    (Base I/O Address 2B0) Binary OFF = 1 ON = 0 OFF = 1 OFF = 1 ON = 0 OFF = 1 b. Switch Set to Base Address 2D0 Figure 2-2. Base I/O Address Switch Settings GPIB-PCIIB/MS-DOS © National Instruments Corp.
  • Page 18: Interrupt Selection

    Hardware Configuration and Installation Interrupt Selection The GPIB-PCIIB interface board can use one of six interrupt lines of the PC I/O channel. The interrupt line is selected by placing a jumper across the double rows of pins which are located at the lower left side of the GPIB-PCIIB (see Figure 2-1).
  • Page 19: Dma Channel Selection

    The DMA channel used by the GPIB-PCIIB is selected by jumpers located at the lower center of the interface board (see Figure 2-1). The GPIB-PCIIB is set at the factory to use DMA channel 1. Verify that this DMA channel is not also used by equipment already installed in your computer.
  • Page 20: Figure 2-4. Dma Channel Jumper Setting Options

    Figure 2-4 displays the jumper position options. b. DMA Channel 2 Selected a. DMA Channel 1 Selected (Default Setting) d. No DMA Channel Selected Figure 2-4. DMA Channel Jumper Setting Options © National Instruments Corp. GPIB-PCIIB/MS-DOS...
  • Page 21: Wait State Generator

    (see Figure 2-1) to the enabled position. Enabling the wait state generator guarantees that the timing requirements of the GPIB-PCIIB are met on computers with very fast I/O cycles (less than 180 nsec). The default configuration setting for the wait state generator is at the disabled position as almost all personal computers already have sufficiently long I/O cycles.
  • Page 22: Installation

    It may be a tight fit, but do not force the board in place. 5. Screw the mounting bracket of the GPIB-PCIIB to the back panel rail of the computer. 6. Check the installation.
  • Page 23: Software Installation And Configuration

    Before installing the software, you should review the files on your NI-488 distribution diskette to gain an understanding of what they are. Main Programs and Files The following programs and files are required to program the GPIB-PCIIB from BASICA, QuickBASIC, Microsoft C, or Universal interface using the NI-488 software handler: •...
  • Page 24: Additional Programs And Files

    APPMON.COM is the applications monitor program. It is a resident program that is useful in debugging your application. The applications monitor can halt program execution (trap) on return from GPIB driver calls, so that you can inspect function arguments, buffers, return values, GPIB-PCIIB/MS-DOS © National Instruments Corp.
  • Page 25: Installing The Software

    BTEST.BAS, CTEST.C, and PTEST.PAS are example programs to use with the Universal Language Interface. Readme files are included on the distribution diskette. README.DOC discusses the GPIB-PCIIB software handler. The remaining Readme files discuss programming considerations for different versions of QuickBASIC and Microsoft C.
  • Page 26: Step 2. Run Ibstart

    Running IBSTART IBSTART first creates a directory named GPIB-PC on the startup disk, then copies the NI-488 software to that directory, except for the files GPIB.COM and IBCONF.EXE, which are copied to the root directory. GPIB-PCIIB/MS-DOS © National Instruments Corp.
  • Page 27 Try reconfiguring the hardware and run IBDIAG again. • Check the GPIB-PCIIB to ensure that it is not connected to a GPIB device. IBDIAG requires that the GPIB-PCIIB interface board not be connected to a GPIB device.
  • Page 28: Step 3. Configure The Software (Optional)

    Chapter 3 If you have performed these steps and IBSTART still fails, complete the GPIB-PCIIB Hardware and Software Configuration Form in the Appendix and then call National Instruments for technical support. If the diagnostics passed, you can proceed through the remainder of this chapter.
  • Page 29: Step 4. Restart (Optional)

    You must restart your computer if you have made any changes using IBCONF as explained in Step 3. Restart your computer from the startup drive you specified when you ran IBSTART by pressing <Ctrl-Alt-Del> so that DOS will load the modified handler GPIB.COM. © National Instruments Corp. GPIB-PCIIB/MS-DOS...
  • Page 30: Step 5. Test The Software Installation

    (refer to Step 4). If you have completed this checklist and IBTEST still fails, complete the GPIB-PCIIB Hardware and Software Configuration Form in the Appendix and then call National Instruments for technical support. If no errors occur, you can proceed to learn how to use the software and to develop your application program.
  • Page 31: Step 6. Developing Your Application Program

    IBCONF passes two groups of features to the handler. The first group consists of the characteristics of the instruments or devices attached to your GPIB-PCIIB board. The second group consists of the characteristics of each GPIB-PCIIB board installed in the computer.
  • Page 32: Characteristics Of Each Gpib-Pciib Board

    EOI signal line. Still others use both. Some terminate messages only when a predetermined number of bytes are sent or received. Characteristics of Each GPIB-PCIIB Board Each GPIB-PCIIB board has the following characteristics: • A symbolic name (such as GPIB0 or GPIB1). •...
  • Page 33: Default Configurations

    • The 16 devices are assigned to GPIB0 as their access board. GPIB0 is the symbolic name of the first GPIB-PCIIB board in your system. If you have an additional GPIB-PCIIB board in your system, its symbolic name is GPIB1.
  • Page 34: Specific Board Characteristics Of Ibconf For The Gpib-Pciib

    In addition to the board and device characteristics of IBCONF listed in Section Two of the NI-488 MS-DOS Software Reference Manual, the GPIB-PCIIB handler has the following option. Disable Device Unaddressing (Board Characteristic Only) Normally, devices are unaddressed upon completion of a device function by sending the Untalk (UNT) and Unlisten (UNL) interface commands.
  • Page 35: Exiting Ibconf

    If any of the these situations is encountered, you are notified and given the option of re-entering or exiting IBCONF. To disable automatic checking when starting IBCONF, enter the following command: ibconf –e After exiting, the system must be restarted for the new values to take effect. © National Instruments Corp. 3-13 GPIB-PCIIB/MS-DOS...
  • Page 36: Using Your Gpib-Pciib

    Now that your software and hardware are installed, read Section Three of the NI-488 MS-DOS Software Reference Manual for a description of the NI-488 function groups available for the GPIB-PCIIB. The functions are described in the order you will most likely use them. Pay special attention to the device functions, which are found in Group I, Group II, and Group III.
  • Page 37: Appendix

    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. In the U.S. and Canada, applications engineers are available Monday through Friday from 8:00 a.m. to 6:00 p.m. (central time). In other countries, contact the nearest branch office.
  • Page 38 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 39 National Instruments software product Version Configuration The problem is List any error messages The following steps will reproduce the problem...
  • Page 40 Completing this form accurately before contacting National Instruments for technical support helps our applications engineers answer your questions more efficiently. National Instruments Products •...
  • Page 41 • Clock Frequency • Type of Monitor Card Installed • DOS Version : • Programming Language Version • Other Boards in System • Base I/O Address of Other Boards • DMA Channels of Other Boards • Interrupt Level of Other Boards...
  • Page 42 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 GPIB-PCIIB and the NI-488 Software for MS-DOS...
  • Page 43 Thank you for your help. Name Title Company Address Phone Mail to: Technical Publications National Instruments Corporation 6504 Bridge Point Parkway, MS 53-02 Austin, TX 78730-5039 Fax to: Technical Publications National Instruments Corporation MS 53-02 (512) 794-5678...
  • Page 44: Glossary

    Glossary Prefix Meaning Value nano- µ- micro- hexadecimal inch meter second © National Instruments Corp. GPIB-PCII/MS-DOS...

Table of Contents