National Instruments PC/104-GPIB Getting Started

National Instruments PC/104-GPIB Getting Started

Ni-488.2m software for windows nt
Hide thumbs Also See for PC/104-GPIB:
Table of Contents

Advertisement

Quick Links

Getting Started with
Your PC/104-GPIB and
the NI-488.2M
Software
for Windows NT
May 1997 Edition
Part Number 321375A-01
© Copyright 1996, 1997 National Instruments Corporation.
All rights reserved.

Advertisement

Table of Contents
loading

Summary of Contents for National Instruments PC/104-GPIB

  • Page 1 Getting Started with Your PC/104-GPIB and the NI-488.2M ™ Software for Windows NT May 1997 Edition Part Number 321375A-01 © Copyright 1996, 1997 National Instruments Corporation. All rights reserved.
  • Page 2 Norway 32 84 84 00, Singapore 2265886, Spain 91 640 0085, Sweden 08 730 49 70, Switzerland 056 200 51 51, Taiwan 02 377 1200, U.K. 01635 523545 National Instruments Corporate Headquarters 6504 Bridge Point Parkway Austin, TX 78730-5039 Tel: (512) 794-0100...
  • Page 3 Important Information Warranty The PC/104-GPIB hardware is warranted against defects in materials and workmanship for a period of two years from the date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment that proves to be defective during the warranty period.
  • Page 4 This device complies with the FCC rules only if used with shielded interface cables of suitable quality and construction. National Instruments used such cables to test this device and provides them for sale to the user. The use of inferior or nonshielded interface cables could void the user's authority to operate the equipment under the FCC rules.
  • Page 5 Configure the Hardware (Optional)................2-4 Selecting the Base I/O Address ...............2-6 Selecting the Interrupt Request Line ...............2-9 Selecting the DMA Channel................2-11 Using Programmed I/O for GPIB Transfers............2-12 Setting the Shield Ground Configuration ............2-13 © National Instruments Corporation PC/104-GPIB for Windows NT...
  • Page 6: Table Of Contents

    Using Windows NT Diagnostic Tools ................A-4 Examining NT Devices to Verify the NI-488.2M Installation ....... A-4 Examining the NT System Log Using the Event Viewer ....... A-5 Common Questions ..................A-6 PC/104-GPIB for Windows NT © National Instruments Corporation...
  • Page 7 Hardware Default Settings ...............2-1 Table 2-2. Possible Base I/O Address Switch Settings..........2-6 Table 2-3. DMA Channels..................2-11 Table B-1. PC/104-GPIB Hardware Characteristics ..........B-1 Table B-2. NI-488.2M Software Transfer Rates for the PC/104-GPIB .....B-2 © National Instruments Corporation PC/104-GPIB for Windows NT...
  • Page 9 This Manual This manual contains instructions to help you install and configure the National Instruments PC/104-GPIB interface module and the NI-488.2M software for Windows NT. The interface module is intended for use in a PC/104-based system. This manual assumes that you are already familiar with Windows NT.
  • Page 10 This manual is organized as follows: • Chapter 1, Introduction, explains how to use this manual, lists what you need to get started, and briefly describes the PC/104-GPIB and the NI-488.2M software for Windows NT. • Chapter 2, Hardware Configuration and Installation, contains instructions to help you configure and install your PC/104-GPIB.
  • Page 11 Related Documentation 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 © National Instruments Corporation PC/104-GPIB for Windows NT...
  • Page 12 PC/104 Specification, Version 2.3 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 Introduction This chapter explains how to use this manual, lists what you need to get started, and briefly describes the PC/104-GPIB and the NI-488.2M software for Windows NT. How to Use This Manual Gather What You Need Chapter 1...
  • Page 14 GPIB Software for Windows NT (NI-488.2M Software) GPIB cables—single-shielded or double-shielded, Type X1, X2, or X5, which you can order from National Instruments Optional Equipment Call National Instruments for more information about the following optional equipment. • Serial or parallel bus extender and cables •...
  • Page 15 The PC/104-GPIB is functionally identical to the AT-GPIB/TNT and can run any NI-488.2 driver software for the AT-GPIB/TNT. The PC/104-GPIB is available in an 8-bit version and a 16-bit version. You can plug the 16-bit version into an 8-bit stack if you disable DMA transfers.
  • Page 16 It includes all the tools needed for instrument control, data acquisition, analysis, and presentation. LabVIEW also includes an extensive instrument driver library. For more information about LabWindows/CVI and LabVIEW, contact National Instruments. PC/104-GPIB for Windows NT © National Instruments Corporation...
  • Page 17: Table 2-1. Hardware Default Settings

    The PC/104-GPIB default settings are suitable for most PC/104 systems. However, if the default settings conflict with another device in your system, if you are installing the PC/104-GPIB in an 8-bit stack, or if you need to install more than one PC/104-GPIB, you must reconfigure the hardware.
  • Page 18 PC/104 connector. Verify that you have the correct version for your system. Perform the following steps to install the PC/104-GPIB. In this section, the term parent module generically refers to either the parent system or the adjacent PC/104 module you stack the PC/104-GPIB onto.
  • Page 19: Figure 2-1. Installing The Pc/104-Gpib

    Figure 2-1. Installing the PC/104-GPIB Plug the GPIB ribbon cable into the GPIB connection on the PC/104-GPIB. The header is keyed so that it fits in only one direction. Do not force the GPIB ribbon cable connector into place. The GPIB ribbon cable is 20 in. long and terminated with a panel-mount GPIB connector that can be mounted for easy access in your system.
  • Page 20 PC/104-GPIB, you must reconfigure the hardware. If you are installing the PC/104-GPIB in an 8-bit stack, you must configure the PC/104-GPIB to use interrupt request level 3, 4, 5, 6 or 7 and disable DMA. Figure 2-2 shows the location of the configuration jumpers and switches on the PC/104-GPIB.
  • Page 21: Figure 2-2. Pc/104-Gpib Parts Locator Diagram

    Chapter 2 Hardware Configuration and Installation ® Product Name and Assembly Number DMA Channel Serial Number Interrupt Levels Base I/O Address Shield Ground Figure 2-2. PC/104-GPIB Parts Locator Diagram © National Instruments Corporation PC/104-GPIB for Windows NT...
  • Page 22: Table 2-2. Possible Base I/O Address Switch Settings

    PC/104-compatible systems have a segment of address space reserved for input and output. This segment is called the I/O address space. The base I/O address of a PC/104 module such as the PC/104-GPIB is the first position in the I/O address space occupied by the PC/104 module.
  • Page 23 3A0 to 3BF 3C0 to 3DF 3E0 to 3FF Locate the base I/O address switch at SW1 on your PC/104-GPIB. Refer to the parts locator diagram, Figure 2-2. Change the switch settings to configure the PC/104-GPIB to the new base I/O address.
  • Page 24: Figure 2-3. Base I/O Address Switch Settings

    GPIB Configuration utility to configure your software settings to match your new hardware settings. Refer to the Configure the Software (Optional) section in Chapter 3, Software Installation and Configuration, for information about the GPIB Configuration utility. PC/104-GPIB for Windows NT © National Instruments Corporation...
  • Page 25 Choose a new interrupt request line (IRQ) setting. If you are installing the PC/104-GPIB in a 16-bit stack, you can configure it to use any of the following interrupt lines: IRQ3, 4, 5, 6, 7, 9, 10, 11, 12, 14, or 15. You might not want to select interrupt...
  • Page 26: Figure 2-4. Interrupt Jumper Setting For Irq11 (Default Setting)

    GPIB Configuration utility to configure your software settings to match your new hardware settings. Refer to the Configure the Software (Optional) section in Chapter 3, Software Installation and Configuration, for information about the GPIB Configuration utility. PC/104-GPIB for Windows NT 2-10 © National Instruments Corporation...
  • Page 27: Table 2-3. Dma Channels

    DMA. In most cases, data transfers using DMA are significantly faster than programmed I/O transfers, which use more CPU time. By default, the PC/104-GPIB is configured to use DMA channel 5. If this is not an acceptable setting, if you are installing the PC/104-GPIB in an 8-bit stack, or if you are installing more than one PC/104-GPIB, follow these steps to reconfigure the DMA channel.
  • Page 28: Figure 2-7. Dma Jumper Setting For No Dma Channel

    Using Programmed I/O for GPIB Transfers As an alternative to DMA transfers, you can use programmed I/O. To use programmed I/O, you should disable DMA for the PC/104-GPIB by moving the jumpers as shown in Figure 2-7. Figure 2-7. DMA Jumper Setting for No DMA Channel...
  • Page 29: Figure 2-8. Ground Configuration Jumper Settings

    Chapter 2 Hardware Configuration and Installation Setting the Shield Ground Configuration The PC/104-GPIB is set at the factory with the jumper in place to connect the logic ground of the PC/104-GPIB to its shield ground. This configuration minimizes EMI emissions.
  • Page 31: Software Installation And Configuration

    NI-488.2M software. Complete the following steps to run the software installation program. Note: The PC/104-GPIB is functionally identical to the AT-GPIB/TNT. Therefore, the NI-488.2M software for Windows NT refers to the PC/104-GPIB as an AT-GPIB/TNT. Log onto your Windows NT system using the Administrator account.
  • Page 32: Figure 3-1. Ni-488.2M Software For Windows Nt Installation Screen

    Windows NT, which forces the driver to load. If you modified the hardware configuration or installed more than one PC/104-GPIB, you must reconfigure the software. Refer to the next section, Configure the Software (Optional), for instructions on running the GPIB Configuration utility. If you do not need to run the GPIB...
  • Page 33: Configure The Software (Optional)

    You must run the GPIB Configuration utility if you changed any of the hardware default settings or if you installed more than one PC/104-GPIB. Follow these steps to run the utility: Double-click on the GPIB icon in the Control Panel.
  • Page 35: Installation Verification

    If the Diagnostic utility test fails, it puts an X next to the interface, and changes its status from untested to failed. Figure 4-1 shows the Diagnostic utility dialog box after it has tested some GPIB interfaces. © National Instruments Corporation PC/104-GPIB for Windows NT...
  • Page 36: Figure 4-1. Diagnostic Utility After Testing

    Installation Verification Figure 4-1. Diagnostic Utility after Testing PC/104-GPIB boards show up as an AT-GPIB/TNT interface type. You can get details on any of the tested GPIB interfaces by selecting the interface and clicking on the Details button. For each failed GPIB interface, select it and click on the Details button to get a description of the failure encountered.
  • Page 37: Using The Gpib Software

    This utility includes extensive online help, which you can access by entering at the prompt. For more information about the Win32 help Interactive Control utility, refer to the NI-488.2M User Manual for Windows 95 and Windows NT. © National Instruments Corporation PC/104-GPIB for Windows NT...
  • Page 38: Introduction To The Gpib Spy Utility

    NI-488.2M software, or by using direct DLL entry from any programming environment. • Several sample GPIB applications are included with the NI-488.2M software. Use these as a guide for your own application development. PC/104-GPIB for Windows NT © National Instruments Corporation...
  • Page 39: Running Existing Dos And Windows Gpib Applications

    Windows NT winnt \system32 winnt directory, for example . As long as is in your c:\windows gpib.dll Windows NT directory, your system automatically accesses gpib.dll whenever you launch a 16-bit Windows GPIB application. © National Instruments Corporation PC/104-GPIB for Windows NT...
  • Page 41: Troubleshooting And Common Questions

    Windows NT and run the Diagnostic utility again. No GPIB Interfaces Present This error occurs if there is no PC/104-GPIB physically present in the system or there is a resource conflict with the interfaces that are installed. If you encounter this problem, use the GPIB Configuration utility to examine any installed GPIB interfaces and the resources assigned to each.
  • Page 42: Gpib Cables Need To Be Disconnected

    PC/104-GPIB. Disconnect all GPIB cables and run the Diagnostic utility again. Address Resource Conflict This error occurs if the address resources assigned to a PC/104-GPIB conflict with the address resources that other devices in the system are using. To resolve an address resource conflict, refer to the Resolving Resource Conflicts section later in this appendix.
  • Page 43: Gpib Software Problem Encountered

    Resolving Resource Conflicts Resource conflicts occur when your system contains hardware that is configured to use the same resources as your PC/104-GPIB. The NI-488.2M driver detects some resource conflicts when it loads. When the driver detects conflicts as it loads, it records an error message describing the conflict.
  • Page 44: Using Windows Nt Diagnostic Tools

    DMA channels that are currently being used in your system. Use system resources that this utility does not list when you assign resources to your PC/104-GPIB. Follow these instructions to run the Windows NT Diagnostics utility: Windows NT 3.51: Double-click on the Windows NT Diagnostics icon in the Administrative Tools group of the Program Manager.
  • Page 45: Examining The Nt System Log Using The Event Viewer

    NI-488.2M driver and an event is logged that . In this The system cannot find the file specified case, the NI-488.2M software is incorrectly installed. You should reinstall the software. © National Instruments Corporation PC/104-GPIB for Windows NT...
  • Page 46: Common Questions

    Common Questions How can I determine which type of GPIB hardware I have installed? Run the GPIB Configuration utility. To run the utility, open your Windows NT Control Panel and select the National Instruments eagle icon. Note: The PC/104-GPIB is functionally identical to the AT-GPIB/TNT.
  • Page 47 If you have already completed the troubleshooting steps, fill out the support forms in Appendix C, Customer Communication, and contact National Instruments. How do I communicate with my instrument over the GPIB? Refer to the documentation that came from the instrument manufacturer.
  • Page 48 Windows 95 and Windows NT. What information should I have before I call National Instruments? When you call National Instruments, you should have the results of the Diagnostic test. Also, make sure you have filled out the technical support form in Appendix C, Customer Communication.
  • Page 49: Appendix B Specifications

    Appendix Specifications This appendix describes the physical characteristics of the PC/104-GPIB and the transfer rates of the NI-488.2M software, along with the recommended operating conditions. Hardware Characteristics Table B-1. PC/104-GPIB Hardware Characteristics Characteristic Specification Dimensions 9.017 cm by 9.589 cm (3.55 in.
  • Page 50: Software Transfer Rates

    Appendix B Specifications Software Transfer Rates Table B-2. NI-488.2M Software Transfer Rates for the PC/104-GPIB Transfer Method Maximum GPIB Transfer Rate 3-Wire (IEEE 488) 1.5 Mbytes/s* High Speed (HS488) 1.8 Mbytes/s* * Actual speed may vary considerably from speed shown because of system and instrumentation capabilities.
  • Page 51: Appendix C Customer Communication

    Electronic Services Bulletin Board Support National Instruments has BBS and FTP sites dedicated for 24-hour support with a collection of files and documents to answer most common customer questions. From these sites, you can also download the latest instrument drivers, updates, and example programs. For recorded instructions on how to use the bulletin board and FTP services and for BBS automated information, call (512) 795-6990.
  • Page 52 Telephone and Fax Support National Instruments has branch offices all over the world. Use the list below to find the technical support number for your country. If there is no National Instruments office in your country, contact the source from which you purchased your software to obtain support.
  • Page 53 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 55 Complete a new copy of 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.
  • Page 57 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 PC/104-GPIB Hardware and the NI-488.2M™ Software for Windows NT...
  • Page 59: Glossary

    10 6 ° degrees percent amperes ANSI American National Standards Institute ASIC application-specific integrated circuit Celsius Conformite Europeene central processing unit direct memory access Federal Communications Commission GPIB General Purpose Interface Bus © National Instruments Corporation PC/104-GPIB for Windows NT...
  • Page 60 Glossary hexadecimal hertz input/output IEEE Institute of Electrical and Electronic Engineers inches interrupt request meters megabytes of memory personal computer random-access memory seconds volts direct current PC/104-GPIB for Windows NT © National Instruments Corporation...

Table of Contents