National Instruments GPIB-PCII Getting Started

National Instruments GPIB-PCII Getting Started

Ni-488.2 software for ms-dos/windows graphics applications
Hide thumbs Also See for GPIB-PCII:
Table of Contents

Advertisement

Quick Links

Getting Started with Your
GPIB-PCII/IIA and
the NI-488.2
Software
for MS-DOS/Windows Graphics
Applications
October 1994 Edition
Part Number 320269B-01
© Copyright 1990, 1994 National Instruments Corporation.
All Rights Reserved.

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for National Instruments GPIB-PCII

  • Page 1 Getting Started with Your GPIB-PCII/IIA and ™ the NI-488.2 Software for MS-DOS/Windows Graphics Applications October 1994 Edition Part Number 320269B-01 © Copyright 1990, 1994 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: (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 3: Limited Warranty

    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 Any action against National Instrument 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...
  • Page 5: Federal Communications Commission

    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 6 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 7: Table Of Contents

    ......... 1-1 What You Need to Get Started........... 1-1 Optional Equipment..............1-2 Hardware Description..............1-2 Software Description ..............1-3 Installing the GPIB-PCII/IIA ............. 1-3 Chapter 2 NI-488.2 Software Files ..............2-1 NI-488.2 Software Programs and Files for MS-DOS....2-1 NI-488.2 Software Programs and Files for Windows ....2-2...
  • Page 8 Installing the Software for MS-DOS ......D-2 Running IBDIAG for MS-DOS ........D-3 Exiting INSTALL ............D-3 INSTALL for Windows ............. D-4 Installing the Software for Windows ......D-4 Running IBDIAG for Windows ........D-5 Exiting INSTALL ............D-5 GPIB-PCII/IIA for Graphics © National Instruments Corp.
  • Page 9 Appendix E Customer Communication ............E-1 Glossary ....................G-1 Figures Figure 1-1. Installing the GPIB-PCII/IIA........... 1-4 Figure C-1. GPIC-PCII/IIA Parts Locator Diagram ......C-1 Figure C-2. GPIC-PC Mode Selection Settings ........C-2 Figure C-3. Base I/O Address Switch Settings for GPIC-PCII Mode ................C-6 Figure C-4.
  • Page 10: About This Manual

    Appendix D, Interactive Software Installation, contains instructions for running the interactive version of INSTALL. • Appendix E, Customer Communication, contains forms you can use to request help from National Instruments or to comment on our products and manuals. © National Instruments Corp. xiii...
  • Page 11: Conventions Used In This Manual

    Angle brackets enclose the name of a key on the keyboard—for example, <Ctrl>. A hyphen between two or more key names enclosed in angle brackets denotes that you should simultaneously press the named keys— for example, <Ctrl-Alt-Del>. <Shift> Key names are capitalized. GPIB-PCII/IIA for Graphics © National Instruments Corp.
  • Page 12: Related Documentation

    Microsoft Windows User's Guide, Microsoft Corporation 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: Introduction And Hardware Installation

    NI-488.2 software, and contains instructions for installing your GPIB-PCII/IIA. What You Need to Get Started GPIB-PCII/IIA interface board set for one of the following modes: GPIB-PCIIA GPIB-PCII 3.5 in. NI-488.2 Distribution Diskette for Graphics Applications...
  • Page 14: Optional Equipment

    Introduction and Hardware Installation Chapter 1 Optional Equipment You can contact National Instruments to order any of the following optional equipment. • GPIB Bus Extenders Parallel – 100 to 120 VAC Parallel – 220 to 240 VAC Fiber-optic – 100 to 120 VAC Fiber-optic –...
  • Page 15: Software Description

    Chapter 1 Introduction and Hardware Installation You can use standard GPIB cables to connect the GPIB-PCII/IIA with up to 14 instruments. If you want to use more instruments, you can order a bus extender or expander from National Instruments. Refer to Appendix A, Hardware Specifications, for more information about the GPIB-PCII/IIA hardware specifications and recommended operating conditions.
  • Page 16: Figure 1-1. Installing The Gpib-Pcii/Iia

    2 Back panel 3 PC AT plug-in board Figure 1-1. Installing the GPIB-PCII/IIA Screw the mounting bracket of the GPIB-PCII/IIA to the back panel rail of the computer. Verify that the GPIB-PCII/IIA is securely installed. Replace the retaining screw of the expansion slot cover if there is one.
  • Page 17: Ni-488.2 Software Files

    CONFIG.SYS, the MS-DOS system configuration file. • IBTEST.EXE is a program that tests the installation of the NI-488.2 software. • IBCONF.EXE is a software configuration program that changes the configuration parameters of the NI-488.2 software handler. © National Instruments Corp. GPIB-PCII/IIA for Graphics...
  • Page 18: Ni-488.2 Software Programs And Files For Windows

    GPIB board. It ensures that the board is properly installed and that the hardware is accessible. • IBDIAG.PIF contains configuration information about the program IBDIAG.EXE that is used by Windows when it is executed. GPIB-PCII/IIA for Graphics © National Instruments Corp.
  • Page 19 It can be used to establish communication between your computer and your graphics device. After you have reviewed all the programs and files on your distribution diskette, proceed to Chapter 3, Software Installation. © National Instruments Corp. GPIB-PCII/IIA for Graphics...
  • Page 20: Software Installation

    Complete the following steps to run the quick version of INSTALL. 1. Insert the NI-488.2 distribution diskette into an unused drive. 2. Install the software by entering the following command: x : install/q © National Instruments Corp. GPIB-PCII/IIA for Graphics...
  • Page 21: Step 2. Test The Software Installation

    If you changed any of the hardware configuration settings on the GPIB-PCII/IIA interface board, check the current software configurations of the GPIB-PCII/IIA in IBCONF to make sure that they match the hardware settings. If you make changes in IBCONF, be sure to save them.
  • Page 22: Installing The Ni-488.2 Software For Windows

    Is the file GPIB.COM located in the GPIB-PC directory? If it is not, run INSTALL again and include it. • Check the GPIB-PCII/IIA to ensure that it is not connected to a GPIB cable. IBTEST may not function properly if a cable is connected to the GPIB-PCII/IIA.
  • Page 23: Step 2. Set Up The Windows Applications

    If IBDIAG returns an error message, check the GPIB-PCII/IIA to ensure that it is not connected to a GPIB cable. IBDIAG may not function properly if a cable is connected to the GPIB-PCII/IIA.
  • Page 24: Step 3. Test The Software Installation

    Instruments for technical support. If no errors occur, the NI-488.2 handler for Windows is installed correctly and you are ready to start using your GPIB-PCII/IIA with your graphics application program. If your graphics application program instructs you to change the default...
  • Page 25: Appendix A Hardware Specifications

    Appendix A Hardware Specifications This appendix describes the electrical, environmental, and physical characteristics of the GPIB-PCII/IIA and the recommended operating conditions. Table A-1. Electrical Characteristics Characteristic Specification Maximum GPIB Transfer Rates GPIB Reads 400 kbytes/s* GPIB Writes 400 kytes/s* Power Requirement...
  • Page 26: Table A-3. Physical Characteristics

    Hardware Specifications Appendix A Table A-3. Physical Characteristics Characteristic Specification Dimensions 10.67 cm by 11.05 cm (4.2 in. by 4.35 in.) I/O Connector IEEE 488 Standard 24-pin GPIB-PCII/IIA for Graphics © National Instruments Corp.
  • Page 27: Appendix B Changing Board And Device Characteristics

    Two groups of features can be changed in the handler file or configuration file. The first group consists of the characteristics of the devices attached to your GPIB- PCII/IIA. The second group consists of the characteristics of each GPIB-PCII/IIA installed in the computer. The following sections describe the characteristics of each group.
  • Page 28: Characteristics Of Each Gpib-Pcii/Iia

    Changing Board and Device Characteristics Appendix B Characteristics of Each GPIB-PCII/IIA Each GPIB-PCII/IIA board has the following characteristics: • A symbolic name (either GPIB0 or GPIB1). • A GPIB primary or secondary address. • A computer I/O address. • A GPIB-PC mode (either PCII or PCIIA).
  • Page 29: Primary Default Characteristics

    The first 16 devices are assigned to GPIB0 as their access board, and the second 16 devices are assigned to GPIB1 as their access board. GPIB0 is the symbolic name of the first GPIB-PCII/IIA board in your system. If you have an additional GPIB-PCII/IIA board in your system, its symbolic name is GPIB1.
  • Page 30: Repeat Addressing (Device Characteristic Only

    3. When the configuration map appears, make sure that the board or device is highlighted and press <F8>. 4. Using the arrow keys, move the highlight to the characteristic you want to change. GPIB-PCII/IIA for Graphics © National Instruments Corp.
  • Page 31: Changing Characteristics For Windows

    If you used the interactive version of INSTALL and did not install the software in the default directory, C:\WINDOWS, enter the name of your Windows directory and the path to GPIB.INI—for example, E:\WINDOWS\GPIB.INI. 3. Press any key to display the configuration map. © National Instruments Corp. GPIB-PCII/IIA for Graphics...
  • Page 32 8. Press <F9> once again to quit WIBCONF. 9. WIBCONF displays a prompt asking if you want to save your changes. Enter y for yes. Changes to other configurable parameters can be made in the same manner. GPIB-PCII/IIA for Graphics © National Instruments Corp.
  • Page 33: Hardware And Software Configuration

    Appendix C Hardware and Software Configuration This appendix contains instructions for verifying and changing the configuration settings of your GPIB-PCII/IIA. Figure C-1 shows the location of the GPIB-PCII/IIA configuration jumpers and switches when the board is in PCIIA mode. NATIONAL ®...
  • Page 34: Verifying The Gpic-Pc Mode Setting

    Appendix C Verifying the GPIB-PC Mode Setting The GPIB-PC mode of the GPIB-PCII/IIA is set using switch 9 in switch block U2. Check to ensure that this switch is set to the mode indicated on the identifying label on the mounting bracket of the interface board, beside the GPIB connector.
  • Page 35: Verifying The Hardware Configuration Settings

    PCII/IIA, complete the instructions in this section to verify the hardware configuration settings. Table C-1 shows the factory settings and available configurations for the switches and jumpers on the GPIB-PCII/IIA in GPIB-PCII mode. Table C-2 shows the factory settings and available configurations for the switches and jumpers in GPIB-PCIIA mode.
  • Page 36: Changing Hardware Configuration Settings

    Check Tables C-1 and C-2 to make sure that the factory default settings of your GPIB-PCII/IIA board are the same as the values you entered when prompted by the IBDIAG program. If they are not, run IBDIAG again, and enter the default values when prompted.
  • Page 37 8 between 100 and 3F8 hex. For example, for the default address, 2B8 hex, the GPIB-PCII uses the address space 2B8 through 2BF hex. Press the side marked 1 to select a binary value of 1 for the corresponding address bit.
  • Page 38 Push this side down (on) for logic 0 Binary Hex a. Switch Set to Base I/O Address hex 300 Binary Hex b. Switch Set to Default Setting (Address hex 2B8) Figure C-3. Base I/O Address Switch Settings for GPIB-PCII Mode GPIB-PCII/IIA for Graphics © National Instruments Corp.
  • Page 39 06E1 12E1 1AE1 1EE1 16E1 82E1 8AE1 8EE1 86E1 92E1 9AE1 9EE1 96E1 a. Switch Set to Base I/O Address hex 2E1 Figure C-4. Base I/O Address Switch Settings for GPIB-PCIIA Mode (Continues) © National Instruments Corp. GPIB-PCII/IIA for Graphics...
  • Page 40 62E1 66E1 6AE1 6EE1 72E1 76E1 7AE1 7EE1 E2E1 E6E1 EAE1 EEE1 F2E1 F6E1 FAE1 FEE1 d. Switches Set to Base I/O Address hex 62E1 Figure C-4. Base I/O Address Switch Settings (Continued) GPIB-PCII/IIA for Graphics © National Instruments Corp.
  • Page 41: Possible Conflicts

    When conflicts do surface, the problems can exhibit themselves simply as strange behavior. National Instruments has made every effort to select a default base I/O address that will work. However, because of the numerous different interface boards available for use in the PC, it is not possible to select a base I/O address that is guaranteed to work in all systems.
  • Page 42: Table C-3. I/O Addresses Used By Other Devices

    2A0 to 2A7 LIM Expanded Memory Card 2A9 to 2AF 2B0 to 2DF PC, AT EGA (alternate) LIM Expanded Memory Card, GPIB-PCII (base) 2B9 to 2BF 2C0 to 2DF AT-GPIB board 0 (default) 2E0 to 2FF AT-GPIB board 1 (default)
  • Page 43: Interrupt Selection

    PC, or no interrupts at all. The interrupt line is selected using the jumper sets labeled IRQ2 through IRQ7 (see Figure C-1). The GPIB-PCII/IIA is set at the factory to use line 7. To select another interrupt line, place the supplied jumper across the two pins adjacent to the label designating that interrupt line.
  • Page 44: Shared Interrupts In Gpic-Pciia Mode

    Multiple GPIB-PCII/IIA boards can share the same interrupt level if they are all configured for GPIB-PCIIA mode. If you use the GPIB-PCII/IIA in GPIB-PCIIA mode and you want to change the interrupt line, you must set switches I0, I1, and I2 in switch block U2 to the line setting in addition to setting the interrupt jumpers.
  • Page 45 Figure C-7 shows the switch and jumper settings for the five remaining interrupt lines. = not used to select the interrupt line Binary Hex Figure C-6. Default Interrupt Jumper Setting for GPIB-PCIIA Mode © National Instruments Corp. C-13 GPIB-PCII/IIA for Graphics...
  • Page 46 Hardware and Software Configuration Appendix C = not used to select the interrupt line a. Interrupt Line 6 Selected b. Interrupt Line 5 Selected Figure C-7. Interrupt Jumper Settings for GPIB-PCIIA Mode (Continues) GPIB-PCII/IIA for Graphics C-14 © National Instruments Corp.
  • Page 47 Appendix C Hardware and Software Configuration c. Interrupt Line 4 Selected d. Interrupt Line 3 Selected e. Interrupt Line 2 Selected Figure C-7. Interrupt Jumper Settings for GPIB-PCIIA Mode (Continued) © National Instruments Corp. C-15 GPIB-PCII/IIA for Graphics...
  • Page 48: Possible Conflicts

    GPIB function calls. When conflicts do surface, the problems can exhibit themselves simply as strange behavior. National Instruments has made every effort to select a default interrupt line that will work. However, because of the numerous different interface boards available for use in the PC, it is not possible to select an interrupt line that is guaranteed to work in all systems.
  • Page 49: Dma Channel Selection

    Keyboard Controller Output Buffer Full Timer Channel 0 Output DMA Channel Selection The GPIB-PCII/IIA can use DMA channels 1, 2, or 3, or no DMA at all. The DMA channel is selected by the jumper sets labeled DRQ1 through DACK 3 (see Figure C-1).
  • Page 50 DMA channel 1. Figure C-8. DMA Channel Jumper Setting for DMA Channel 1 If you do not want to use DMA for GPIB transfers (the GPIB-PCII/IIA alternatively can use programmed I/O transfers), you must logically disconnect the GPIB-PCII/IIA from the DMA lines by selecting NONE for the DMA line when you run the software configuration program, as explained in Step 3.
  • Page 51: Possible Conflicts

    If any device uses DMA channel 1, change the DMA channel used by either the GPIB-PCII/IIA or the other device to DMA channel 2 or 3. If no DMA channel is available, configure the software to run without DMA using the software configuration program.
  • Page 52: Step 2. Run The Ibdiag Diagnostic Program

    Logic Ground Connected to Shield Ground (Default) Logic Ground Disconnected from Shield Ground Figure C-9. Ground Configuration Jumper Settings Be sure to record the jumper setting on the GPIB-PCII/IIA Hardware and Software Configuration Form in Appendix E, Customer Communication. Step 2. Run the IBDIAG Diagnostic Program If you have changed any hardware configuration settings, you must run the diagnostic program, IBDIAG, again.
  • Page 53: Configuring The Software For Ms-Dos

    9. IBCONF displays a prompt asking if you want to update the handler in memory. Enter y for yes. In some cases, IBCONF instructs you to restart your computer. Changes to other configurable parameters can be made in the same manner. © National Instruments Corp. C-21 GPIB-PCII/IIA for Graphics...
  • Page 54: Configuring The Software For Windows

    5. Using the arrow keys, move the highlight to the board parameter you want to change. 6. Use the arrow keys to change the value of the parameter to match the hardware configuration. GPIB-PCII/IIA for Graphics C-22 © National Instruments Corp.
  • Page 55 8. Press <F9> once again to quit WIBCONF. 9. WIBCONF displays a prompt asking if you want to save your changes. Enter y for yes. Changes to other configurable parameters can be made in the same manner. © National Instruments Corp. C-23 GPIB-PCII/IIA for Graphics...
  • Page 56: Interactive Software Installation

    INSTALL displays a DOS installation menu with three options: GPIB Installation, Diagnostics, and Return to DOS. If you have already installed the NI-488.2 software files and need to run IBDIAG again, skip to Running IBDIAG for MS-DOS, later in this section. © National Instruments Corp. GPIB-PCII/IIA for Graphics...
  • Page 57: Installing The Software For Ms-Dos

    CONFIG.SYS with the new information. If you enter no to the above prompt, INSTALL displays a message informing you of the correct line that you should add to your CONFIG.SYS file. GPIB-PCII/IIA for Graphics © National Instruments Corp.
  • Page 58: Running Ibdiag For Ms-Dos

    IBDIAG. IBDIAG confirms that the hardware is functioning properly, and verifies that the software configuration settings are set correctly. If IBDIAG returns an error message, check the GPIB-PCII/IIA to ensure that it is not connected to a GPIB cable. IBDIAG may not function properly if a cable is connected to the GPIB-PCII/IIA.
  • Page 59: Installing The Software For Windows

    IBDIAG. IBDIAG confirms that the hardware is functioning properly, and verifies that the software configuration settings are set correctly. If IBDIAG returns an error message, check the GPIB-PCII/IIA to ensure that it is not connected to a GPIB cable. IBDIAG may not function properly if a cable is connected to the GPIB-PCII/IIA.
  • Page 60: Exiting Install

    If IBDIAG still returns an error message, you may need to check the hardware configuration switch and jumper settings. Refer to Appendix C, Hardware and Software Configuration, for information on checking and changing the GPIB-PCII/IIA hardware configuration settings. If there are no errors, INSTALL displays the Windows installation menu. Exiting INSTALL You have now completed the interactive version of INSTALL for Windows.
  • Page 61: Appendix E Customer Communication

    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 62: Technical Support Form

    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 63 National Instruments software product Version Configuration Application Program Version Graphics Devices Used The problem is List any error messages The following steps will reproduce the problem...
  • Page 64 Complete this form each time you revise your software or hardware configuration, and use this form as a reference for your current configuration. Completing this form accurately before contacting National Instruments for technical support helps our applications engineers answer your questions more efficiently. National Instruments Products •...
  • Page 65 Other Products • Computer Make and Model • Microprocessor • Clock Frequency • Type of Monitor Card Installed • DOS or Windows Version • Graphics Devices Used • Application Program Version • Other Boards in System • Base I/O Addresses of Other Boards •...
  • Page 66 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-PCII/IIA and the ™ NI-488.2 Software for MS-DOS/Windows Graphics...
  • Page 67: Austin, Tx

    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 68: Glossary

    Federal Communications Commission GPIB General Purpose Interface Bus hexadecimal hertz IEEE Institute of Electrical and Electronic Engineers inches input/output meters megabytes of memory personal computer random-access memory seconds volts direct current © National Instruments Corp. GPIB-PCIIIIA for Graphics...

This manual is also suitable for:

Gpib-pciia

Table of Contents