Résumé du contenu de la page N° 1
GPIB-PC User Manual
for the
IBM Personal Computer and
Compatibles
April 1988 Edition
Part Number 320014-01
© Copyright 1984, 1994 National Instruments Corporation.
All Rights Reserved.
Résumé du contenu de la page N° 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, Germany 089/741 31 30, Italy 02/48301892, Japan (03) 3788-1921, Netherlands 03480-33466, Norway 32-848400, Spain (91) 640
Résumé du contenu de la page N° 3
Limited Warranty The GPIB-PC 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. This warranty includes parts and labor. The media on which you receive National Instruments software are warranted not to fail to execute programming instructions, due to defects in m
Résumé du contenu de la page N° 4
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 installation, operation, or maintenance instructions; owner's modification of the product; owner's abuse, misuse, or negligent acts; and p
Résumé du contenu de la page N° 5
Preface Introduction to the GPIB The GPIB is a link, or bus, or interface system, through which interconnected electronic devices communicate. History of the GPIB The original GPIB was designed by Hewlett-Packard (where it is called the HP-IB) to connect and control programmable instruments manufactured by Hewlett-Packard. Because of its high data transfer rates of from 250 kilobytes to 1 mega
Résumé du contenu de la page N° 6
Preface •A Getting Started with your GPIB-PC pamphlet. The pamphlet contains the directions with a minimum of explanations for installing your hardware and software in your GPIB system. • A GPIB-PC distribution diskette. The distribution diskette is part of the GPIB-PC package. It contains the DOS handler, BASICA and QuickBASIC language interfaces, and other programs. •A GPIB-PC User Manual. The manual contains descriptions of the GPIB-PC handler functions, BASICA, and QuickBASIC language in
Résumé du contenu de la page N° 7
Preface About the Manual This manual is written specifically for a GPIB-PC which is to be installed in an IBM Personal Computer or compatible PC which is operating under PC-DOS or MS-DOS and programmed using BASICA and QuickBASIC. With appropriate supplements to the manual, other GPIB-PC interfaces can be installed in other computers, using other programming languages. Organization of the Manual Section One - Operation of the GPIB describes the operation of the GPIB. Section Two - Installation
Résumé du contenu de la page N° 8
Preface Appendix C - Differences Between Software Revisions points out differences between revisions of the GPIB-PC handler. Appendix D - Using your Printer with the GPIB-PC gives some quick steps to connect your GPIB-PC with your printer. Appendix E - Application Notes is an application note about computer- to-computer transfers. Appendix F - Customer Communication contains forms you can use to request help from National Instruments or to comment on our products and manuals. The Glossary contai
Résumé du contenu de la page N° 9
Contents Section One - Operation of the GPIB 1-1 ................................................ Types of Messages...................................................................................... 1-1 Talkers, Listeners, and Controllers 1-1 ..................................................... The Controller-In-Charge and System Controller......................... 1-2 GPIB Signals and L
Résumé du contenu de la page N° 10
Contents Running IBCONF 2-9 ........................................................................................ Upper and Lower Levels of IBCONF............................ 2-10 Upper Level - Device Map for Board GPIBx.................................................... 2-10 Device Map Concepts and Terms 2-11 ................ Lower Level - Device/Board Characteristics 2-11 ....................................................... Device and Board Characteristics...............................
Résumé du contenu de la page N° 11
Contents Group II............................................................................................................. 3-3 IBRSP (bd,spr) 3-3 ........................................................................... IBCLR (bd) 3-4 .................................................................................. Clearing the Device Versus Clearing the GPIB................................................... 3-4 Clearing the Device 3-4 ............................. Clearing the GPIB.....
Résumé du contenu de la page N° 12
Contents Group VI........................................................................................................ 3-17 IBEOT (bd,v)............................................................................ 3-17 IBEOS (bd,v)............................................................................ 3-18 IBBNA (bd,"GPIBn") 3-18 ........................................................... IBDMA (bd,v).......................................................................... 3-18 IBPAD (bd
Résumé du contenu de la page N° 13
Contents IBPCT 4A-44 .......................................................................................................................... IBPPC 4A-45 .......................................................................................................................... IBRD............................................................................................................................. 4A-47 IBRDA ...............................................................................
Résumé du contenu de la page N° 14
Contents Byte Count................................................................................................... 5-12 Auxiliary Functions 5-12 ................................................................................. SET (Select Device or Board)......................................... 5-13 HELP (Display Help Information).................................. 5-13 ! (Repeat Previous Function) 5-14 ........................................... - (Turn OFF Display).........................
Résumé du contenu de la page N° 15
Contents ESRQ(16)........................................................................................................ B-6 Other Error Conditions............................................................................... B-7 Appendix C - Differences Between Software Revisions............................................................................................... C-1 Revision B and Revision C C-1 .................................................................... Interrupts C-1 ...
Résumé du contenu de la page N° 16
Illustrations List of Figures Figure 1.1 - GPIB Connector and the Signal Assignment.........................1-6 Figure 1.2 - Linear Configuration..........................................................................1-7 Figure 1.3 - Star Configuration...............................................................................1-8 Figure 3.1 - Multiboard GPIB System.........................
Résumé du contenu de la page N° 17
Section One - Operation of the GPIB Communication between interconnected devices is achieved by passing messages through the interface system. Types of Messages The GPIB carries two types of messages — device-dependent messages and interface messages. • Device-dependent messages, often called data or data messages, contain device-specific information such as programming instructions, measuremen
Résumé du contenu de la page N° 18
Operation of the GPIB Section One The switching center (Controller) monitors the communications network (GPIB). When the Controller notices that a party (device) wants to make a call (send a data message), it connects the caller (Talker) to the receiver (Listener). The Controller usually addresses a Talker and a Listener before the Talker can send its message to the Listener. After the message is transmitted, the Controller usually unaddresses both devices. Some bus configurations do not requi
Résumé du contenu de la page N° 19
Section One Operation of the GPIB GPIB Signals and Lines The interface system consists of 16 signal lines and 8 ground return or shield drain lines. The 16 signal lines are divided into the following three groups: • 8 data lines, • 3 handshake lines, and • 5 interface management lines. Data Lines The eight data lines, DIO1 through DIO8, carry both data and command messages. All commands and most data use the 7-bit ASCII or ISO code set, in which case the 8th bit, DIO8, is unused or used for par
Résumé du contenu de la page N° 20
Operation of the GPIB Section One NDAC (not data accepted) NDAC indicates when a device has or has not accepted a message byte. The line is driven by all devices when receiving commands and by Listeners when receiving data messages. DAV (data valid) DAV tells when the signals on the data lines are stable (valid) and can be accepted safely by devices. The Controller drives DAV lines when sending commands and the Talker drives DAV lines when sending data messages. Interface Management Lines Five