National Instruments GPIB-COM manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation National Instruments GPIB-COM. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel National Instruments GPIB-COM ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation National Instruments GPIB-COM décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation National Instruments GPIB-COM devrait contenir:
- informations sur les caractéristiques techniques du dispositif National Instruments GPIB-COM
- nom du fabricant et année de fabrication National Instruments GPIB-COM
- instructions d'utilisation, de réglage et d’entretien de l'équipement National Instruments GPIB-COM
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage National Instruments GPIB-COM ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles National Instruments GPIB-COM et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service National Instruments en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées National Instruments GPIB-COM, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif National Instruments GPIB-COM, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation National Instruments GPIB-COM. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    © Copyright 1989, 1991 National Instruments Corporation. All Rights Reserved. GPIB-COM User Manual June 1990 Edition Part Number 320197-01[...]

  • Page 2

    National Instruments Corporation 6504 Bridge Point Parkway Austin, TX 78730-5039 (512) 794-0100 (800) IEEE-488 (toll-free U.S. and Canada) Technical support fax: (512) 794-5678[...]

  • Page 3

    Limited Warranty The GPIB-COM is warranted against defects in materials and workmanship for a period of two years from date of shipment. National Instruments will repair or replace equipment which proves to be defective during the warranty period. This warranty includes parts and labor. A Return Material Authorization (RMA) number must be obtained [...]

  • Page 4

    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 (1) the limits for a Class B computing de[...]

  • Page 5

    © National Instruments Corporation v GPIB-COM User Manual Preface Introduction to the GPIB-COM The GPIB-COM is a high-performance talk/listen interface board that makes communication possible between IEEE-488 devices and IBM personal computers and compatibles (hereafter referred to as PCs) equipped with software that uses the serial ports. Organiz[...]

  • Page 6

    Preface GPIB-COM User Manual v i © National Instruments Corporation Abbreviations Used in This Manual The following abbreviations are used in the text of this manual. ≤ is less than or equal to ≥ is greater than or equal to ± plus or minus A ampere C Celsius hex hexadecimal in. inch I/ O input/output kbyte 1000 bytes m meter Mbyte megabyte M [...]

  • Page 7

    © National Instruments Corporation v i i GPIB-COM User Manual Contents Section One Introduction .......................................................................................................................... 1-1 GPIB-COM Characteristics ............................................................................................ 1-1 What[...]

  • Page 8

    Contents GPIB-COM User Manual viii © National Instruments Corporation Line Control Register .......................................................................................... 5-8 Modem Control Register .................................................................................... 5-10 Line Status Register ............................[...]

  • Page 9

    Contents © National Instruments Corporation i x GPIB-COM User Manual Figures Figure 1-1. GPIB-COM Board ................................................................................................ 1-2 Figure 2-1. GPIB-COM Parts Locator Diagram ...................................................................... 2-1 Figure 2-2. Possible Setti[...]

  • Page 10

    © National Instruments Corporation 1- 1 GPIB-COM User Manual Section One Introduction This section contains a brief description of the GPIB-COM interface and a list of its characteristics and components. GPIB-COM Characteristics The National Instruments GPIB-COM is a high-performance talk/listen interface that converts data between a standard seri[...]

  • Page 11

    Introduction Section One GPIB-COM User Manual 1 -2 © National Instruments Corporation Figure 1-1 shows the GPIB-COM interface board. Figure 1-1. GPIB-COM Board What Your Kit Should Contain Your kit should contain the following components: Item Part Number GPIB-COM interface board 180750-01 GPIB-COM User Manual 320197-01 GPIB-COM Diagnostic Test Di[...]

  • Page 12

    Section One Introduction © National Instruments Corporation 1- 3 GPIB-COM User Manual Optional Equipment Item Part Number Double-Shielded Cables: GPIB Type X2 Cable - 1 m 763061-01 GPIB Type X2 Cable - 2 m 763061-02 GPIB Type X2 Cable - 4 m 763061-03 * In order to meet FCC emission limits for a Class B device, you must use a shielded GPIB cable. O[...]

  • Page 13

    © National Instruments Corporation 2- 1 GPIB-COM User Manual Section Two Configuration and Installation This section contains information on how to configure and install the GPIB-COM into your system. Configuration Figure 2-1 shows the locations of the GPIB-COM configuration jumpers and switches. Figure 2-1. GPIB-COM Parts Locator Diagram[...]

  • Page 14

    Configuration and Installation Section Two GPIB-COM User Manual 2 -2 © National Instruments Corporation When installing the GPIB-COM you must determine which serial port the GPIB-COM board will respond to and select the appropriate base address and interrupt level. The GPIB-COM can be configured to one of four base addresses: • 3F8 for Serial Po[...]

  • Page 15

    Section Two Configuration and Installation © National Instruments Corporation 2- 3 GPIB-COM User Manual Table 2-1 shows the standard base I/O address and interrupt level for each serial port. Table 2-1. IBM PC Serial Port Adapters Name of Port Base I/O Address (hex) Interrupt Level Serial Port 1 3F8 4 Serial Port 2 2F 8 3 Serial Port 3 3 E 8 Not U[...]

  • Page 16

    Configuration and Installation Section Two GPIB-COM User Manual 2 -4 © National Instruments Corporation Figure 2-2 shows the four possible combinations of jumper settings. • • • XF8 3X8 IRQ4 XE8 2X8 IRQ3 W5 W2 a. COM1: Jumpers Set to Base I/O Address 3F8 hex and Interrupt Level 4 (Default) • • • XF8 3X8 IRQ4 XE8 2X8 IRQ3 W5 W2 b. COM2:[...]

  • Page 17

    Section Two Configuration and Installation © National Instruments Corporation 2- 5 GPIB-COM User Manual Talk/Listen Address and Special Function Selection The GPIB-COM interface board has eight onboard DIP switches you can use to configure the GPIB controller responsibilities. In the talk/listen mode, the first five switches set the talk or listen[...]

  • Page 18

    Configuration and Installation Section Two GPIB-COM User Manual 2 -6 © National Instruments Corporation Figure 2-5 shows the switch configuration needed when using a device with listen address 10 hex. The listen address varies with each device so check the listen address of your device and set these five bits accordingly. Key = side you must press[...]

  • Page 19

    Section Two Configuration and Installation © National Instruments Corporation 2- 7 GPIB-COM User Manual Figure 2-6 shows the switch configuration for REN* asserted, IFC* disabled, and SRQ* disabled. Key = side you must press down for REN* ON, IFC* OFF, and SRQ* OFF; Off = 1; On = 0. This side down for logic 1 This side down for logic 0 U13 = used [...]

  • Page 20

    Configuration and Installation Section Two GPIB-COM User Manual 2 -8 © National Instruments Corporation 7. Check the installation. 8. Replace the expansion slot cover of your computer. 9. Connect the GPIB cable to the GPIB-COM. Special Considerations When Using the GPIB-COM The GPIB-COM does not support XON/XOFF protocols. If your application soft[...]

  • Page 21

    © National Instruments Corporation 3- 1 GPIB-COM User Manual Section Three Function Description This section contains a block diagram of the GPIB-COM, followed by a description of each of its functional components. The GPIB-COM Interface The GPIB-COM is a completely transparent interface between GPIB devices and any IBM PC software that uses seria[...]

  • Page 22

    Function Description Section Three GPIB-COM User Manual 3 -2 © National Instruments Corporation Figure 3-1 shows a block diagram of the GPIB-COM. Address Bus Interrupt Control Address Decoding INS8250A Compatible Registers IRQ3 IRQ4 AEN IOW* IOR* Data Bus GPIB Config. Jumpers Config. Jumpers PC I/O Channel Directio n Buffer Directio n Buffer Mode [...]

  • Page 23

    Section Three Function Description © National Instruments Corporation 3- 3 GPIB-COM User Manual GPIB-COM Components The interface consists of the following functional components: • Address Decoding • Configuration Jumpers • INS8250A Compatible Registers • GPIB Acceptor and Source Handshaking • Mode Control Logic • Interrupt Control Log[...]

  • Page 24

    Function Description Section Three GPIB-COM User Manual 3 -4 © National Instruments Corporation Direction Buffers These buffers control the direction in which data information travels. GPIB Transceivers The GPIB-COM is interfaced to the IEEE-488 bus by National Semiconductor 75160A and 75162A transceivers. These integrated circuits are specificall[...]

  • Page 25

    © National Instruments Corporation 4- 1 GPIB-COM User Manual Section Four Running Diagnostic Tests The GPIB-COM Test Commands The GPIB-COM Diagnostic Tests can be used to verify the configuration of the GPIB-COM and its connection to a GPIB printer or plotter. To run a GPIB-COM diagnostic test, connect a printer or plotter to the GPIB and run the [...]

  • Page 26

    Running Diagnostic Tests Section Four GPIB-COM User Manual 4 -2 © National Instruments Corporation The printer should begin printing a string of characters. To stop the test, press any key. The following message then appears: Printer test finished. Please check output to printer with user manual instructions. The output on the printer should read:[...]

  • Page 27

    Section Four Running Diagnostic Tests © National Instruments Corporation 4- 3 GPIB-COM User Manual When it is finished, the following message appears on the screen: Plotter test finished. Please check output to plotter with user manual instructions. If the plotter does not respond or the output on the plotter does not match Figure 4-1, check again[...]

  • Page 28

    © National Instruments Corporation 5- 1 GPIB-COM User Manual Section Five Programming the GPIB-COM This section presents a description of the GPIB-COM Serial Port Emulator registers and information on programming the GPIB-COM. You need to use this section only if you are writing your own serial port device driver. The GPIB-COM Registers IBM's[...]

  • Page 29

    Programming the GPIB-COM Section Five GPIB-COM User Manual 5 -2 © National Instruments Corporation Transmitter Holding Register Offset from Base I/O Address = 0 Register Address = XF8 DLAB bit in Line Control Register = 0 7 6 54 32 1 0 D6 D5 D7 D4 D3 D2 D1 D0 W The Transmitter Holding Register contains the character to be sent to the serial output[...]

  • Page 30

    Section Five Programming the GPIB-COM © National Instruments Corporation 5- 3 GPIB-COM User Manual Receive Buffer Register Offset from Base I/O Address = 0 Register Address = XF8 DLAB bit in Line Control Register = 0 7 6 54 32 1 0 D6 D5 D7 D4 D3 D2 D1 D0 R The Receive Buffer Register contains the character received from the serial input, with bit [...]

  • Page 31

    Programming the GPIB-COM Section Five GPIB-COM User Manual 5 -4 © National Instruments Corporation Divisor Latch Least Significant Byte (LSB) Register Offset from Base I/O Address = 0 Register Address = XF8 DLAB bit in Line Control Register = 1 7 6 54 32 1 0 DL6 DL5 DL7 DL4 DL3 DL2 DL1 DL0 R / W Bi t Mnemonic Description 7-0r/w DL[7-0] Data Bits 7[...]

  • Page 32

    Section Five Programming the GPIB-COM © National Instruments Corporation 5- 5 GPIB-COM User Manual Interrupt Enable Register Offset from Base I/O Address = 1 Register Address = XF9 DLAB bit in Line Control Register = 0 7 6 54 32 1 0 00 0 0 MS RLS T HR R D A R/W The Interrupt Enable Register is a read/write register that allows the programmer to se[...]

  • Page 33

    Programming the GPIB-COM Section Five GPIB-COM User Manual 5 -6 © National Instruments Corporation Bi t Mnemonic Description 1r/w THR Transmitter Holding Register Interrupt Enable Bit This bit enables a transmitter holding register empty interrupt when set. The transmitter holding register empty interrupt occurs when the INS8250 becomes ready to s[...]

  • Page 34

    Section Five Programming the GPIB-COM © National Instruments Corporation 5- 7 GPIB-COM User Manual Interrupt Identification Register Offset from Base I/O Address = 2 Register Address = XFA 7 6 54 32 1 0 00 0 0 0 ID1 ID0 INT R The Interrupt Identification Register is a read-only register which tells you when an interrupt is pending and if so, what [...]

  • Page 35

    Programming the GPIB-COM Section Five GPIB-COM User Manual 5 -8 © National Instruments Corporation Line Control Register Offset from Base I/O Address = 3 Register Address = XFB 7 6 54 32 1 0 SBRK STP DLAB EVEN PEN STB WL1 WL0 R / W The Line Control Register is a read/write register that allows the programmer to set the RS-232 parameters for the IN[...]

  • Page 36

    Section Five Programming the GPIB-COM © National Instruments Corporation 5- 9 GPIB-COM User Manual Bi t Mnemonic Description 3r/w P E N Parity Enable Bit If this bit is set, the INS8250 will generate and check parity according to the values of the STP and EVEN bits (bits 4 and 5). If this bit is clear, the INS8250 will not generate or check parity[...]

  • Page 37

    Programming the GPIB-COM Section Five GPIB-COM User Manual 5-10 © National Instruments Corporation Modem Control Register Offset from Base I/O Address = 4 Register Address = XFC 7 6 54 32 1 0 00 0 LOOP OUT2 OUT1 R T S DT R R/W The Modem Control Register is a read/write register that controls RS-232 output lines for communication with a modem or mo[...]

  • Page 38

    Section Five Programming the GPIB-COM © National Instruments Corporation 5-11 GPIB-COM User Manual Bi t Mnemonic Description 0r/w DTR Data Terminal Ready Bit The DTR serial port output is the inverse of this bit. This bit is set when the Controller is ready to communicate. On the GPIB-COM, this bit is used along with the RTS bit to control the CTS[...]

  • Page 39

    Programming the GPIB-COM Section Five GPIB-COM User Manual 5-12 © National Instruments Corporation Line Status Register Offset from Base I/O Address = 5 Register Address = XFD 7 6 54 32 1 0 TEMT THRE 0 BI FE PE O E D R R The Line Status Register provides information about the status of the data transfer. On the GPIB- COM this register is implement[...]

  • Page 40

    Section Five Programming the GPIB-COM © National Instruments Corporation 5-13 GPIB-COM User Manual Bi t Mnemonic Description 3r F E Framing Error Bit This bit is set when the received character does not have a valid stop bit. On the GPIB-COM, this bit is always clear. 2r P E Parity Error Bit This bit is set when the received character does not hav[...]

  • Page 41

    Programming the GPIB-COM Section Five GPIB-COM User Manual 5-14 © National Instruments Corporation Modem Status Register Offset from Base I/O Address = 6 Register Address = XFE 7 6 54 32 1 0 R I DSR DCD C T S DDCD TERI DDSR DCTS R The Modem Status Register gives the state of the modem control lines and tells whether any of these lines have changed[...]

  • Page 42

    Section Five Programming the GPIB-COM © National Instruments Corporation 5-15 GPIB-COM User Manual Bi t Mnemonic Description 2r TERI Trailing Edge Ring Indicator Bit This bit is set when the serial port RI input signal changes from a logical 1 to a logical 0 and cleared when the processor reads the Modem Status Register. On the GPIB-COM, this bit [...]

  • Page 43

    Programming the GPIB-COM Section Five GPIB-COM User Manual 5-16 © National Instruments Corporation Programming the Serial Adapter The operation of the serial adapter is controlled by software, either IBM BIOS or an application. To transfer data to and from the serial port, the communications parameters must first be set up in the following manner:[...]

  • Page 44

    Section Five Programming the GPIB-COM © National Instruments Corporation 5-17 GPIB-COM User Manual The GPIB-COM Controller Function Because most serial port applications involve communication with only one serial line, the GPIB- COM imposes some restrictions on the GPIB in order to be compatible with existing serial port software. The GPIB-COM mus[...]

  • Page 45

    © National Instruments Corporation A- 1 GPIB-COM User Manual Appendix A Specifications This appendix lists the specifications of the GPIB-COM board. Power Requirement +5 VDC ( ± 5% ) 0.75 A typical Physical Dimensions 4.2 in. by 8.75 in. I/O Connector IEEE-488 Standard 24-pin Operating Environment Component Temperature 0 ° to 70 ° C Relative Hu[...]

  • Page 46

    © National Instruments Corporation B- 1 GPIB-COM User Manual Appendix B Multiline Interface Command Messages The following tables are multiline interface messages (sent and received with ATN TRUE).[...]

  • Page 47

    Multiline Interface Command Messages Appendix B GPIB-COM User Manual B -2 © National Instruments Corporation Multiline Interface Messages H e x O ct D e c ASCII M sg H e x O ct D e c ASCII M sg 00 0 00 0 NUL 20 0 40 32 S P MLA0 01 00 1 1 S O H G TL 2 1 041 33 ! MLA1 02 0 02 2 STX 22 0 42 34 " MLA2 03 00 3 3 E T X 23 04 3 35 # MLA3 04 00 4 4 E[...]

  • Page 48

    Appendix B Multiline Interface Command Messages © National Instruments Corporation B- 3 GPIB-COM User Manual Multiline Interface Messages H e x Oct D e c ASCII Ms g H e x Oct D e c ASCII M s g 40 10 0 64 @ MTA0 60 14 0 96 ` MSA0,PPE 41 10 1 65 A MTA1 61 141 97 a MSA1,PPE 42 10 2 66 B MTA2 62 142 98 b MSA2,PPE 43 10 3 67 C MTA3 63 143 99 c MSA3,PPE[...]

  • Page 49

    © National Instruments Corporation C-1 GPIB-COM User Manual Appendix C Operation of the GPIB History of the GPIB The GPIB is a link, bus, or interface system through which interconnected electronic devices communicate. Hewlett-Packard invented the GPIB, which they call the HP-IB, to connect and control programmable instruments manufactured by them[...]

  • Page 50

    Operation of the GPIB Appendix C GPIB-COM User Manual C-2 © National Instruments Corporation 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 require a Controller. For exa[...]

  • Page 51

    Appendix C Operation of the GPIB © National Instruments Corporation C-3 GPIB-COM User Manual Figure C-1 shows the arrangement of these signals on the GPIB cable connector. DIO1* DIO2* DIO3* DIO4* EOI* DAV* NRFD* NDAC* IFC* SRQ* ATN* SHIELD DIO5* DIO6* DIO7* DIO8* REN* GND (TW PAIR W/DAV*) GND (TW PAIR W/NRFD*) GND (TW PAIR W/NDAC*) GND (TW PAIR W/[...]

  • Page 52

    Operation of the GPIB Appendix C GPIB-COM User Manual C-4 © National Instruments Corporation 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 when sending commands, and the Talker drives it when sending data messages. The way in which NRFD and NDAC are[...]

  • Page 53

    Appendix C Operation of the GPIB © National Instruments Corporation C-5 GPIB-COM User Manual Physical and Electrical Characteristics Devices are usually connected with a cable assembly consisting of a shielded 24-conductor cable with both a plug and receptacle at each end. This design enables devices to be connected in either a linear or a star co[...]

  • Page 54

    Operation of the GPIB Appendix C GPIB-COM User Manual C-6 © National Instruments Corporation Figure C-3. Star Configuration of GPIB Devices The standard connector is the Amphenol or Cinch Series 57 MICRORIBBON or AMP CHAMP type. An adapter cable using non-standard cable and/or connector is used for special interconnect applications. The GPIB uses [...]

  • Page 55

    Appendix C Operation of the GPIB © National Instruments Corporation C-7 GPIB-COM User Manual Configuration Restrictions To achieve the high data transfer rate that the GPIB is designed for, the physical distance between devices and the number of devices on the bus is limited. The following restrictions are typical: • A maximum separation of 4 m [...]

  • Page 56

    User 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: GPIB-COM User Manual Edition Date June 1990 Part Number: 320197-01 Please comment on the completeness, clarity, and organization of the manual. If you find er[...]