Manual National Instruments PC-DIO-96

105 pages 0.61 mb
Download

Go to site of 105

Summary
  • National Instruments PC-DIO-96 - page 1

    © Copyright 1990, 1995 National Instruments Corporation. All Rights Reserved. PC-DIO-96 User Manual Digital I/O Board for the IBM PC/XT/AT September 1995 Edition Part Number 320289B-01 ...

  • National Instruments PC-DIO-96 - 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 9 879 9422, Austria 0662 45 79 90 0, 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 ...

  • National Instruments PC-DIO-96 - page 3

    Limited Warranty The PC-DIO-96 is warranted against defects in materials and workmanship for a period of one year 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 l ...

  • National Instruments PC-DIO-96 - page 4

    WARNING REGARDING MEDICAL AND CLINICAL USE OF NATIONAL INSTRUMENTS PRODUCTS National Instruments products are not designed with components and testing intended to ensure a level of reliability suitable for use in treatment and diagnosis of humans. Applications of National Instruments products involving medical or clinical treatment can create a pot ...

  • National Instruments PC-DIO-96 - page 5

    © National Instruments Corporation v PC-DIO-96 User Manual Contents Chapter 1 About This Manual ............................................................................................................ v Organization of This Manual ........................................................................................ v Conventions Used in Thi ...

  • National Instruments PC-DIO-96 - page 6

    Contents PC-DIO-96 User Manual vi © National Instruments Corporation Chapter 4 Register-Level Programming ......................................................................................... 4-1 Introduction ................................................................................................................... 4-1 Register Map ... ...

  • National Instruments PC-DIO-96 - page 7

    Contents © National Instruments Corporation vii PC-DIO-96 User Manual Figures Figure 1-1. The Relationship between the Programming Environment, NI-DAQ, and Your Hardware ........................................................................................................... 1-3 Figure 2-1. PC -DIO-96 Parts Locator Diagram ...................... ...

  • National Instruments PC-DIO-96 - page 8

    © National Instruments Corporation v PC-DIO-96 User Manual Contents Chapter 1 About This Manual ............................................................................................................ v Organization of This Manual ........................................................................................ v Conventions Used in Thi ...

  • National Instruments PC-DIO-96 - page 9

    Contents PC-DIO-96 User Manual vi © National Instruments Corporation Chapter 4 Register-Level Programming ......................................................................................... 4-1 Introduction ................................................................................................................... 4-1 Register Map ... ...

  • National Instruments PC-DIO-96 - page 10

    Contents © National Instruments Corporation vii PC-DIO-96 User Manual Figures Figure 1-1. The Relationship between the Programming Environment, NI-DAQ, and Your Hardware ........................................................................................................... 1-3 Figure 2-1. PC -DIO-96 Parts Locator Diagram ...................... ...

  • National Instruments PC-DIO-96 - page 11

    © National Instruments Corporation ix PC-DIO-96 User Manual About This Manual This manual describes the mechanical and electrical aspects of the PC -DIO-96 and contains information concerning its operation and programming. The PC -DIO-96 is a 96-bit parallel digital I/O interface designed around four OKI Semiconductor (OKI) 82C55A programmable per ...

  • National Instruments PC-DIO-96 - page 12

    Preface PC-DIO-96 User Manual x © National Instruments Corporation • The Glossary contains an alphabetical list and description of terms used in this manual, including abbreviations, acronyms, metric prefixes, mnemonics, symbols, and terms. • The Index alphabetically lists the topics in this manual, including the page where you can find each o ...

  • National Instruments PC-DIO-96 - page 13

    Preface © National Instruments Corporation xi PC-DIO-96 User Manual National Instruments Documentation The PC-DIO-96 User Manual is one piece of the documentation set for your data acquisition (DAQ) system. You could have any of several types of manuals, depending on the hardware and software in your system. Use the different types of manuals you ...

  • National Instruments PC-DIO-96 - page 14

    © National Instruments Corporation 1-1 PC-DIO-24 User Manual Chapter 1 Introduction This chapter describes the PC -DIO-96, lists what you need to get started, describes software programming choices, optional equipment, and custom cables, and explains how to unpack the PC -DIO-96. About the PC -DIO -96 Thank you for purchasing the National Instrume ...

  • National Instruments PC-DIO-96 - page 15

    Introduction Chapter 1 PC-DIO-24 User Manual 1-2 © National Instruments Corporation What You Need to Get Started To set up and use your PC -DIO-96, you will need the following: PC -DIO-96 board PC-DIO -96 User Manual One of the following software packages and documentation: NI -DAQ for PC compatibles LabVIEW for Windows LabWindows/CVI for Windows ...

  • National Instruments PC-DIO-96 - page 16

    Chapter 1 Introduction © National Instruments Corporation 1-3 PC-DIO-24 User Manual NI -DAQ Driver Software The NI-DAQ driver software is included at no charge with all National Instruments DAQ hardware. NI-DAQ is not packaged with SCXI or accessory products, except for the SCXI -1200. NI -DAQ has an extensive library of functions that you can cal ...

  • National Instruments PC-DIO-96 - page 17

    Introduction Chapter 1 PC-DIO-24 User Manual 1-4 © National Instruments Corporation Register-Level Programming The final option for programming any National Instruments DAQ hardware is to write register- level software. Writing register-level programming software can be very time-consuming and inefficient, and is not recommended for most users. Ev ...

  • National Instruments PC-DIO-96 - page 18

    Chapter 1 Introduction © National Instruments Corporation 1-5 PC-DIO-24 User Manual The CB -100 is useful for initial prototyping of an application or in situations where PC-DIO-96 interconnections are frequently changed. Once a final field wiring scheme has been developed, however, you may want to develop your own cable. This section contains inf ...

  • National Instruments PC-DIO-96 - page 19

    © National Instruments Corporation 2-1 PC-DIO-96 User Manual Chapter 2 Configuration and Installation This chapter describes the PC -DIO-96 jumper configurations, installing the PC-DIO -96 board in your computer, signal connections to the PC -DIO-96 board, and cabling instructions. Board Configuration The PC-DIO -96 contains one DIP switch and one ...

  • National Instruments PC-DIO-96 - page 20

    Configuration and Installation Chapter 2 PC-DIO-96 User Manual 2-2 © National Instruments Corporation W1 U26 Figure 2-1. PC -DIO-96 Parts Locator Diagram Base I/O Address Settings The base I/O address for the PC-DIO -96 is determined by the switches at position U26 (see Figure 2-1). The switches are set at the factory for the I/O address hex 180. ...

  • National Instruments PC-DIO-96 - page 21

    Chapter 2 Configuration and Installation © National Instruments Corporation 2-3 PC-DIO-96 User Manual onboard registers. On the U26 DIP switches, press the side marked OFF to select a binary value of 1 for the corresponding address bit. Press the other side of the switch to select a binary value of 0 for the corresponding address bit. Figure 2-2 s ...

  • National Instruments PC-DIO-96 - page 22

    Configuration and Installation Chapter 2 PC-DIO-96 User Manual 2-4 © National Instruments Corporation Table 2-2. Switch Settings with Corresponding Base I/O Address and Base I/O Address Space Switch Setting Base I/O Address Base I/O Address A9 A8 A7 A6 A5 (hex) Space Used (hex) 0 0 0 0 0 000 000 - 01F 0 0 0 0 1 020 020 - 03F 0 0 0 1 0 040 040 - 05 ...

  • National Instruments PC-DIO-96 - page 23

    Chapter 2 Configuration and Installation © National Instruments Corporation 2-5 PC-DIO-96 User Manual Interrupt Level Selection There is one set of jumpers for interrupt selection on the PC -DIO-96 board. W1 is used for selecting the interrupt level. The location of this jumper is shown in Figure 2 -1. The PC-DIO -96 board can connect to any one o ...

  • National Instruments PC-DIO-96 - page 24

    Configuration and Installation Chapter 2 PC-DIO-96 User Manual 2-6 © National Instruments Corporation 4. Insert the PC -DIO-96 in an unused 8 -bit, 16-bit, or 32 -bit slot. It may be a tight fit, but do not force the board into place. 5. Screw the mounting bracket of the PC-DIO -96 to the back panel rail of the computer. 6. Check the installation. ...

  • National Instruments PC-DIO-96 - page 25

    Chapter 2 Configuration and Installation © National Instruments Corporation 2-7 PC-DIO-96 User Manual I/O Connector Pin Description Figure 2-4 shows the pin assignments for the PC -DIO -96 digital I/O connector. 50 100 49 99 48 98 47 97 46 96 45 95 44 94 43 93 42 92 41 91 40 90 39 89 38 88 37 87 36 86 35 85 34 84 33 83 32 82 31 81 30 80 29 79 28 7 ...

  • National Instruments PC-DIO-96 - page 26

    Configuration and Installation Chapter 2 PC-DIO-96 User Manual 2-8 © National Instruments Corporation I/O Connector Signal Connection Descriptions Pin Signal Name Description 1, 3, 5, 7, 9, 11, 13, 15 APC<7..0> Bidirectional Data Lines for Port C of PPI A—APC7 is the MSB, APC0 the LSB. 17, 19, 21, 23, 25, 27, 29, 31 APB<7..0> Bidirec ...

  • National Instruments PC-DIO-96 - page 27

    Chapter 2 Configuration and Installation © National Instruments Corporation 2-9 PC-DIO-96 User Manual Warning: During programming, note that each time a port is configured, output ports A and C are reset to 0, and output port B is undefined. Table 2-3. Port C Signal Assignments Programming Mode Group A Group B PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 Mode ...

  • National Instruments PC-DIO-96 - page 28

    Configuration and Installation Chapter 2 PC-DIO-96 User Manual 2-10 © National Instruments Corporation +5 V APA0 APA1 APA2 APA3 APA4 APA5 APA6 APA7 APB0 APB1 APB2 APB3 APB4 APB5 APB6 APB7 APC0 APC1 APC2 APC3 APC4 APC5 APC6 APC7 GND BPA1 BPA2 BPA4 BPA5 BPA6 BPA7 BPA0 BPA3 BPB0 BPB1 BPB2 BPB3 BPB4 BPB5 BPB6 BPB7 BPC0 BPC1 BPC2 BPC3 BPC4 BPC5 BPC6 BP ...

  • National Instruments PC-DIO-96 - page 29

    Chapter 2 Configuration and Installation © National Instruments Corporation 2-11 PC-DIO-96 User Manual +5 V CPA0 CPA1 CPA2 CPA3 CPA4 CPA5 CPA6 CPA7 CPB0 CPB1 CPB2 CPB3 CPB4 CPB5 CPB6 CPB7 CPC0 CPC1 CPC2 CPC3 CPC4 CPC5 CPC6 CPC7 GND DPA1 DPA2 DPA4 DPA5 DPA6 DPA7 DPA0 DPA3 DPB0 DPB1 DPB2 DPB3 DPB4 DPB5 DPB6 DPB7 DPC0 DPC1 DPC2 DPC3 DPC4 DPC5 DPC6 DP ...

  • National Instruments PC-DIO-96 - page 30

    Configuration and Installation Chapter 2 PC-DIO-96 User Manual 2-12 © National Instruments Corporation Digital I/O Signal Connections Pins 1 through 48 and pins 51 through 98 of the I/O connector are digital I/O signal pins. The following specifications and ratings apply to the digital I/O lines. Absolute maximum voltage rating -0.5 to +5.5 V with ...

  • National Instruments PC-DIO-96 - page 31

    Chapter 2 Configuration and Installation © National Instruments Corporation 2-13 PC-DIO-96 User Manual GND PC-DIO-96 Board Switch I/O Connector +5 V +5 V LED TTL Signal PPI A Port A AP A<3..0> PPI C Port B CPB<7..4> 41 43 45 47 67 71 73 69 50, 100 Figure 2-7. Digital I/O Connections In Figure 2-7, PPI A, port A is configure ...

  • National Instruments PC-DIO-96 - page 32

    Configuration and Installation Chapter 2 PC-DIO-96 User Manual 2-14 © National Instruments Corporation Timing Specifications This section lists the timing specifications for handshaking with the PC -DIO-96. The handshaking lines STB* and IBF synchronize input transfers. The handshaking lines OBF* and ACK* synchronize output transfers. The followin ...

  • National Instruments PC-DIO-96 - page 33

    Chapter 2 Configuration and Installation © National Instruments Corporation 2-15 PC-DIO-96 User Manual Mode 1 Input Timing The following figure illustrates the timing specifications for an input transfer in mode 1. T3 T5 T6 T7 T4 T1 T2 STB* IBF INTR RD* DA T A Name Description Minimum Maximum T1 STB* pulse width 100 – T2 STB* = 0 to IBF = 1 – ...

  • National Instruments PC-DIO-96 - page 34

    Configuration and Installation Chapter 2 PC-DIO-96 User Manual 2-16 © National Instruments Corporation Mode 1 Output Timing The following figure illustrates the timing specifications for an output transfer in mode 1. T2 T3 WR* OBF* INTR DA T A T4 T6 T5 ACK* T1 Name Description Minimum Maximum T1 WR* = 0 to INTR = 0 – 250 T2 WR* = 1 to output – ...

  • National Instruments PC-DIO-96 - page 35

    Chapter 2 Configuration and Installation © National Instruments Corporation 2-17 PC-DIO-96 User Manual Mode 2 Bidirectional Timing The following figure illustrates the timing specifications for bidirectional transfers in mode 2. T2 T1 WR* OBF* INTR ACK* DA T A T6 T7 T3 T4 T10 STB* T9 T8 T5 IBF RD* Name Description Minimum Maximum T1 WR* = 1 to OBF ...

  • National Instruments PC-DIO-96 - page 36

    © National Instruments Corporation 3-1 PC-DIO-96 User Manual Chapter 3 Theory of Operation This chapter contains a functional overview of the PC -DIO-96 board and explains the operation of each functional unit making up the PC -DIO-96. The block diagram in Figure 3-1 illustrates the key functional components of the PC -DIO-96 board. 8 21 6 +5 VDC ...

  • National Instruments PC-DIO-96 - page 37

    Theory of Operation Chapter 3 PC-DIO-96 User Manual 3-2 © National Instruments Corporation Data Transceivers The data transceivers control the sending and receiving of data to and from the PC I/O channel. PC I/O Channel Control Circuitry The base address used by the board is determined by an onboard switch setting. The address on the PC I/O channe ...

  • National Instruments PC-DIO-96 - page 38

    Chapter 3 Theory of Operation © National Instruments Corporation 3-3 PC-DIO-96 User Manual handshaking circuitry; however, either of these two lines can be configured for input and used as external interrupts. An interrupt occurs on the low-to-high transition of the signal line. Refer to Chapter 4, Register-Level Programming , Appendix B, OKI 82C5 ...

  • National Instruments PC-DIO-96 - page 39

    © National Instruments Corporation 4-1 PC-DIO-96 User Manual Chapter 4 Register-Level Programming This chapter describes in detail the address and function of each of the PC -DIO-96 control and status registers. This chapter also includes important information about register-level programming the PC -DIO-96. The PC-DIO -96 is a parallel digital I/ ...

  • National Instruments PC-DIO-96 - page 40

    Register-Level Programming Chapter 4 PC-DIO-96 User Manual 4-2 © National Instruments Corporation Register Map The following table lists the address map for the PC -DIO-96. Table 4-1. PC -DIO-96 Address Map Register Name Offset Address Size Type (Hex) 82C55A Register Group PPI A PORTA Register 00 8-bit Read-and-write PORTB Register 01 8-bit Read-a ...

  • National Instruments PC-DIO-96 - page 41

    Chapter 4 Register-Level Programming © National Instruments Corporation 4-3 PC-DIO-96 User Manual Register Descriptions The register descriptions for the devices on the PC -DIO-96, including the 82C55A, the 8253, and each of the interrupt control registers, are given on the pages that follow. Register Description for the 82C55A Figure 4-1 shows th ...

  • National Instruments PC-DIO-96 - page 42

    Register-Level Programming Chapter 4 PC-DIO-96 User Manual 4-4 © National Instruments Corporation Warning: During programming, note that each time a port is configured, output ports A and C are reset to 0, and output port B is undefined. Table 4-2 shows the control words for setting or resetting each bit in port C. Notice that bit 7 of the control ...

  • National Instruments PC-DIO-96 - page 43

    Chapter 4 Register-Level Programming © National Instruments Corporation 4-5 PC-DIO-96 User Manual Register Description for the Interrupt Control Registers There are two interrupt control registers on the PC -DIO-96. One of these registers has individual enable bits for the two interrupt lines from each of the 82C55A devices. The other register has ...

  • National Instruments PC-DIO-96 - page 44

    Register-Level Programming Chapter 4 PC-DIO-96 User Manual 4-6 © National Instruments Corporation Interrupt Control Register 1 D7 D6 D5 D4 D3 D2 D1 D0 DIRQ1 DIRQ0 CIRQ1 CIRQ0 BIRQ1 BIRQ0 AIRQ1 AIRQ0 Bit Name Description 7 DIRQ1 PPI D Interrupt Request for Port B—If this bit and the INTEN bit in Interrupt Control Register 2 are both set, PPI D se ...

  • National Instruments PC-DIO-96 - page 45

    Chapter 4 Register-Level Programming © National Instruments Corporation 4-7 PC-DIO-96 User Manual Bit Name Description (continued) 1 AIRQ1 PPI A Interrupt Request for Port B—If this bit and the INTEN bit in Interrupt Control Register 2 are both set, PPI A sends an interrupt, INTRB, to the host computer. If this bit is cleared, PPI A does not sen ...

  • National Instruments PC-DIO-96 - page 46

    Register-Level Programming Chapter 4 PC-DIO-96 User Manual 4-8 © National Instruments Corporation Interrupt Control Register 2 D7 D6 D5 D4 D3 D2 D1 D0 XXXXX INTEN CTRIRQ CTR1 Bit Name Description 7–3 X Don’t Care Bit. 2 INTEN Global Interrupt Enable Bit—If this bit is set, the PC-DIO -96 can interrupt the host computer. If this bit is cleare ...

  • National Instruments PC-DIO-96 - page 47

    Chapter 4 Register-Level Programming © National Instruments Corporation 4-9 PC-DIO-96 User Manual Programming Considerations for the 82C55A Modes of Operation for the 82C55A The three basic modes of operation for the 82C55A are as follows: • Mode 0—Basic I/O • Mode 1—Strobed I/O • Mode 2—Bidirectional bus The 82C55A also has a single b ...

  • National Instruments PC-DIO-96 - page 48

    Register-Level Programming Chapter 4 PC-DIO-96 User Manual 4-10 © National Instruments Corporation Mode 2 This mode can be used for communication over a bidirectional 8 -bit bus. Handshaking signals are used in a manner similar to mode 1. Mode 2 is available for use in group A only (port A and the upper nibble of port C). Other features of this mo ...

  • National Instruments PC-DIO-96 - page 49

    Chapter 4 Register-Level Programming © National Instruments Corporation 4-11 PC-DIO-96 User Manual Table 4-3. Mode 0 I/O Configurations Control Word Group A Group B Number Bit Port A Port C 1 Port B Port C 2 76543210 0 10000000 Output Output Output Output 1 10000001 Output Output Output Input 2 10000010 Output Output Input Output 3 10000011 Output ...

  • National Instruments PC-DIO-96 - page 50

    Register-Level Programming Chapter 4 PC-DIO-96 User Manual 4-12 © National Instruments Corporation porta = BASE_ADDRESS + APORTAoffset; portb = BASE_ADDRESS + APORTBoffset; portc = BASE_ADDRESS + APORTCoffset; cnfg = BASE_ADDRESS + ACNFGoffset; /* EXAMPLE 1*/ outp(cnfg,0x80); /* Ports A, B, and C are outputs. */ outp(porta,0x12); /* Write data to ...

  • National Instruments PC-DIO-96 - page 51

    Chapter 4 Register-Level Programming © National Instruments Corporation 4-13 PC-DIO-96 User Manual The control word written to the CNFG Register to configure port B for input in mode 1 is shown as follows. Notice that port B does not have extra input or output lines from port C. D2 D1 D0 D3 D7 D6 D5 D4 1 X X X 1 1 X X During a mode 1 data read tra ...

  • National Instruments PC-DIO-96 - page 52

    Register-Level Programming Chapter 4 PC-DIO-96 User Manual 4-14 © National Instruments Corporation At the digital I/O connector, port C has the following pin assignments when in mode 1 input. Notice that the status of STBA* and the status of STBB* are not included in the port C status word. PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 I/O? ...

  • National Instruments PC-DIO-96 - page 53

    Chapter 4 Register-Level Programming © National Instruments Corporation 4-15 PC-DIO-96 User Manual Mode 1—Strobed Output The control word written to the CNFG Register to configure port A for output in mode 1 is shown as follows. Bits PC4 and PC5 of port C can be used as extra input or output lines. D2 D1 D0 D3 D7 D6 D5 D4 1 = input 0 = output ...

  • National Instruments PC-DIO-96 - page 54

    Register-Level Programming Chapter 4 PC-DIO-96 User Manual 4-16 © National Instruments Corporation Bit Name Description (continued) 2 INTEB Interrupt Enable Bit for Port B—Setting this bit enables interrupts from port B of the 82C55A. This bit is controlled by setting/resetting PC2. 1 OBFB* Output Buffer for Port B—A low setting indicates that ...

  • National Instruments PC-DIO-96 - page 55

    Chapter 4 Register-Level Programming © National Instruments Corporation 4-17 PC-DIO-96 User Manual outp(cnfg,0xA0); /* Port A is an output in mode 1.*/ while (!(inp(portc) & 0x80)); /* Wait until OBFA* is set, indicating that the data last written to port A has been read.*/ outp(porta,0x12); /* Write data to port A. */ /* EXAMPLE 2–port B ou ...

  • National Instruments PC-DIO-96 - page 56

    Register-Level Programming Chapter 4 PC-DIO-96 User Manual 4-18 © National Instruments Corporation Port C status-word bit definitions for bidirectional data path (port A only): D7 D6 D5 D4 D3 D2 D1 D0 OBFA* INTE1 IBFA INTE2 INTRA I/O I/O I/O Bit Name Description 7 OBFA* Output Buffer for Port A—A low setting indicates that the CPU has written da ...

  • National Instruments PC-DIO-96 - page 57

    Chapter 4 Register-Level Programming © National Instruments Corporation 4-19 PC-DIO-96 User Manual Mode 2 Programming Example The following example shows how to configure PPI A for mode 2 input and output and how to use the handshaking signals to control data flow. This code is strictly an example and is not intended to be used without modificatio ...

  • National Instruments PC-DIO-96 - page 58

    Register-Level Programming Chapter 4 PC-DIO-96 User Manual 4-20 © National Instruments Corporation Main() { #define BASE_ADDRESS 0x180 /* Board located at address 180 */ #define APORTAoffset 0x00 /* Offset for PPI A, port A */ #define APORTBoffset 0x01 /* Offset for PPI A, port B */ #define APORTCoffset 0x02 /* Offset for PPI A, port C */ #define ...

  • National Instruments PC-DIO-96 - page 59

    Chapter 4 Register-Level Programming © National Instruments Corporation 4-21 PC-DIO-96 User Manual outp(cnfg,0x84); /* Port B is an output in mode 1. */ outp(cnfg,0x05); /* Set PC2 to enable interrupts from 82C55A. */ outp(ireg1,0x02); /* Set AIRQ1 to enable PPI A, port B interrupts. */ outp(ireg2,0x04); /* Set INTEN bit. */ /* EXAMPLE 5–Set up ...

  • National Instruments PC-DIO-96 - page 60

    Register-Level Programming Chapter 4 PC-DIO-96 User Manual 4-22 © National Instruments Corporation Interrupt Programming Example for the 8253 An in-depth example of handling interrupts generated by the 8253 is presented as follows. The main program is presented in C, while sample interrupt routines are presented in assembly language. Main() { #def ...

  • National Instruments PC-DIO-96 - page 61

    Chapter 4 Register-Level Programming © National Instruments Corporation 4-23 PC-DIO-96 User Manual if (use_ctr1) { outp(ctr1, ((unsigned char) (ctr1_data & 0x00ff))); /* Send the least significant byte of the counter data for counter 1 */ outp(ctr1, ((unsigned char) ((ctr1_data & 0xff00) >> 8))); /* Send the most significant byte of ...

  • National Instruments PC-DIO-96 - page 62

    Register-Level Programming Chapter 4 PC-DIO-96 User Manual 4-24 © National Instruments Corporation ; on input, isr_block points to the data structure that will be used by ; the isr_handler function ; ; void isr_handler(void); ; ; the isr_handler() function will never be called from C..... ; ; void remove_isr(void); ; public _install_isr, _isr_hand ...

  • National Instruments PC-DIO-96 - page 63

    Chapter 4 Register-Level Programming © National Instruments Corporation 4-25 PC-DIO-96 User Manual mov ax,[bp+8] ; Get ofs into ax mov word ptr isrb_addr[0],ax ; Save address in variable mov ax,[bp+10] ; Get seg into ax mov word ptr isrb_addr[2],ax ; Save address in variable ; set interrupt vector--save the current vector before writing out new on ...

  • National Instruments PC-DIO-96 - page 64

    Register-Level Programming Chapter 4 PC-DIO-96 User Manual 4-26 © National Instruments Corporation ; restore saved registers ii_exit: pop es pop ds pop dx pop cx pop bx pop ax pop bp sti ret _install_isr endp ; remove_isr ; ; bp reg at [bp+0] ; ret addr ofs at [bp+2] ; ret addr seg at [bp+4] ; _remove_isr proc far cli push ax push bx push cx push ...

  • National Instruments PC-DIO-96 - page 65

    Chapter 4 Register-Level Programming © National Instruments Corporation 4-27 PC-DIO-96 User Manual mov cx,int_mask ; Get the old mask value in al,maskm ; Get current master mask jmp $+2 ; Delay--wait for data transfer or al,cl ; OR in old mask value out maskm,al ; Send out new setting jmp $+2 ; Delay--wait for data transfer in al,masks ; Get curre ...

  • National Instruments PC-DIO-96 - page 66

    Register-Level Programming Chapter 4 PC-DIO-96 User Manual 4-28 © National Instruments Corporation ; acknowledge the interrupt ih_0: mov ax,seg _DATA mov ds,ax mov al,eoi ; Signify end of interrupt cmp slave_ack,0 ; See if we need to acknowledge slave je short ih_1 ; Jump if not out acks,al ; Send slave acknowledge jmp $+2 ; Delay--wait for data t ...

  • National Instruments PC-DIO-96 - page 67

    © National Instruments Corporation A-1 PC-DIO-96 User Manual Appendix A Specifications This appendix lists the specifications of the PC-DIO-96. These specifications are typical at 25 ° C, unless otherwise stated. The operating temperature range is 0 ° to 70 ° C. Digital I/O Number of channels .................................................... ...

  • National Instruments PC-DIO-96 - page 68

    Specifications Appendix A PC-DIO-96 User Manual A-2 © National Instruments Corporation Pins 1–48, 51–98 ...................................................... Level Min Max Output high voltage (I out = -2.5 mA) 3.7 V 5.0 V Output low voltage (I out = 2.5 mA) 0.0 V 0.4 V Output current (V OL = 0.5 V) 4 mA — Output current (V OH = 2.7 V) 4 mA ...

  • National Instruments PC-DIO-96 - page 69

    Appendix A Specifications © National Instruments Corporation A-3 PC-DIO-96 User Manual Table A-1. Maximum Average Transfer Rates for the PC-DIO-96 Bus CPU CPU Speed Assembly C AT (ISA16) 486DX4 100 MHz 490 kbytes/s 470 kbytes/s Assembly language code: mov cx, 64 ; Count out 64 transfers mov dx, 0180h ; The port to access loop: lodsb ; Assume ds:si ...

  • National Instruments PC-DIO-96 - page 70

    © National Instruments Corporation B-1 PC-DIO-96 User Manual Appendix B OKI 82C55A Data Sheet* This appendix contains the manufacturer data sheet for the OKI 82C55A (OKI Semiconductor) CMOS programmable peripheral interface. This interface is used on the PC-DIO-96 board. * Copyright © OKI Semiconductor 1993. Reprinted with permission of copyright ...

  • National Instruments PC-DIO-96 - page 71

    OKI 82C55A Data Sheet Appendix B PC-DIO-96 User Manual B-2 © National Instruments Corporation ...

  • National Instruments PC-DIO-96 - page 72

    Appendix B OKI 82C55A Data Sheet © National Instruments Corporation B-3 PC-DIO-96 User Manual ...

  • National Instruments PC-DIO-96 - page 73

    OKI 82C55A Data Sheet Appendix B PC-DIO-96 User Manual B-4 © National Instruments Corporation ...

  • National Instruments PC-DIO-96 - page 74

    Appendix B OKI 82C55A Data Sheet © National Instruments Corporation B-5 PC-DIO-96 User Manual ...

  • National Instruments PC-DIO-96 - page 75

    OKI 82C55A Data Sheet Appendix B PC-DIO-96 User Manual B-6 © National Instruments Corporation ...

  • National Instruments PC-DIO-96 - page 76

    Appendix B OKI 82C55A Data Sheet © National Instruments Corporation B-7 PC-DIO-96 User Manual ...

  • National Instruments PC-DIO-96 - page 77

    OKI 82C55A Data Sheet Appendix B PC-DIO-96 User Manual B-8 © National Instruments Corporation ...

  • National Instruments PC-DIO-96 - page 78

    Appendix B OKI 82C55A Data Sheet © National Instruments Corporation B-9 PC-DIO-96 User Manual ...

  • National Instruments PC-DIO-96 - page 79

    OKI 82C55A Data Sheet Appendix B PC-DIO-96 User Manual B-10 © National Instruments Corporation ...

  • National Instruments PC-DIO-96 - page 80

    Appendix B OKI 82C55A Data Sheet © National Instruments Corporation B-11 PC-DIO-96 User Manual ...

  • National Instruments PC-DIO-96 - page 81

    OKI 82C55A Data Sheet Appendix B PC-DIO-96 User Manual B-12 © National Instruments Corporation ...

  • National Instruments PC-DIO-96 - page 82

    Appendix B OKI 82C55A Data Sheet © National Instruments Corporation B-13 PC-DIO-96 User Manual ...

  • National Instruments PC-DIO-96 - page 83

    OKI 82C55A Data Sheet Appendix B PC-DIO-96 User Manual B-14 © National Instruments Corporation ...

  • National Instruments PC-DIO-96 - page 84

    Appendix B OKI 82C55A Data Sheet © National Instruments Corporation B-15 PC-DIO-96 User Manual ...

  • National Instruments PC-DIO-96 - page 85

    OKI 82C55A Data Sheet Appendix B PC-DIO-96 User Manual B-16 © National Instruments Corporation ...

  • National Instruments PC-DIO-96 - page 86

    Appendix B OKI 82C55A Data Sheet © National Instruments Corporation B-17 PC-DIO-96 User Manual ...

  • National Instruments PC-DIO-96 - page 87

    © National Instruments Corporation C- 1 PC-DIO-96 User Manual .c1. Appendix C .c1. AMD 8253 Data Sheet* This appendix contains the manufacturer data sheet for the AMD 8253 integrated circuit (Advanced Micro Devices, Inc.). This circuit is used on the PC-DIO -96 board. * Copyright © Advanced Micro Devices, Inc. 1987. Reprinted with permission of c ...

  • National Instruments PC-DIO-96 - page 88

    AMD 8253 Data Sheet Appendix C PC-DIO-96 User Manual C- 2 © National Instruments Corporation ...

  • National Instruments PC-DIO-96 - page 89

    Appendix C AMD 8253 Data Sheet © National Instruments Corporation C- 3 PC-DIO-96 User Manual ...

  • National Instruments PC-DIO-96 - page 90

    AMD 8253 Data Sheet Appendix C PC-DIO-96 User Manual C- 4 © National Instruments Corporation ...

  • National Instruments PC-DIO-96 - page 91

    Appendix C AMD 8253 Data Sheet © National Instruments Corporation C- 5 PC-DIO-96 User Manual ...

  • National Instruments PC-DIO-96 - page 92

    AMD 8253 Data Sheet Appendix C PC-DIO-96 User Manual C- 6 © National Instruments Corporation ...

  • National Instruments PC-DIO-96 - page 93

    Appendix C AMD 8253 Data Sheet © National Instruments Corporation C- 7 PC-DIO-96 User Manual ...

  • National Instruments PC-DIO-96 - page 94

    AMD 8253 Data Sheet Appendix C PC-DIO-96 User Manual C- 8 © National Instruments Corporation ...

  • National Instruments PC-DIO-96 - page 95

    Appendix C AMD 8253 Data Sheet © National Instruments Corporation C- 9 PC-DIO-96 User Manual ...

  • National Instruments PC-DIO-96 - page 96

    AMD 8253 Data Sheet Appendix C PC-DIO-96 User Manual C- 10 © National Instruments Corporation ...

  • National Instruments PC-DIO-96 - page 97

    Appendix C AMD 8253 Data Sheet © National Instruments Corporation C- 11 PC-DIO-96 User Manual ...

  • National Instruments PC-DIO-96 - page 98

    AMD 8253 Data Sheet Appendix C PC-DIO-96 User Manual C- 12 © National Instruments Corporation ...

  • National Instruments PC-DIO-96 - page 99

    Appendix C AMD 8253 Data Sheet © National Instruments Corporation C- 13 PC-DIO-96 User Manual ...

  • National Instruments PC-DIO-96 - page 100

    AMD 8253 Data Sheet Appendix C PC-DIO-96 User Manual C- 14 © National Instruments Corporation ...

  • National Instruments PC-DIO-96 - page 101

    © National Instruments Corporation D- 1 PC-DIO-96 User Manual Appendix D Customer Communication ___________________________________________________ For your convenience, this appendix contains forms to help you gather the information necessary to help us solve technical problems you might have as well as a form you can use to comment on the produc ...

  • National Instruments PC-DIO-96 - page 102

    Technical Support Form ___________________________________________________ Photocopy this form and update it each time you make changes to your software or hardware, and use the completed copy of this form as a reference for your current configuration. Completing this form accurately before contacting National Instruments for technical support help ...

  • National Instruments PC-DIO-96 - page 103

    PC-DIO-96 Hardware and Software Configuration Form ___________________________________________________ Record the settings and revisions of your hardware and software on the line to the right of each item. 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 ...

  • National Instruments PC-DIO-96 - page 104

    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: PC-DIO-96 User Manual Edition Date: September 1995 Part Number: 320289B-01 Please comment on the ...

  • National Instruments PC-DIO-96 - page 105

    © National Instruments Corporation Glossary-1 PC-DIO-96 User Manual Glossary ___________________________________________________ Prefix Meaning Value n- nano- 10 -9 µ - micro- 10 -6 m- milli- 10 -3 k- kilo- 10 3 M- mega- 10 6 ° degrees Ω ohms % percent A amperes AMD Advanced Micro Devices AWG American Wire Gauge BCD binary-coded decimal C Cels ...

Manufacturer National Instruments Category Switch

Documents that we receive from a manufacturer of a National Instruments PC-DIO-96 can be divided into several groups. They are, among others:
- National Instruments technical drawings
- PC-DIO-96 manuals
- National Instruments product data sheets
- information booklets
- or energy labels National Instruments PC-DIO-96
All of them are important, but the most important information from the point of view of use of the device are in the user manual National Instruments PC-DIO-96.

A group of documents referred to as user manuals is also divided into more specific types, such as: Installation manuals National Instruments PC-DIO-96, service manual, brief instructions and user manuals National Instruments PC-DIO-96. Depending on your needs, you should look for the document you need. In our website you can view the most popular manual of the product National Instruments PC-DIO-96.

A complete manual for the device National Instruments PC-DIO-96, how should it look like?
A manual, also referred to as a user manual, or simply "instructions" is a technical document designed to assist in the use National Instruments PC-DIO-96 by users. Manuals are usually written by a technical writer, but in a language understandable to all users of National Instruments PC-DIO-96.

A complete National Instruments manual, should contain several basic components. Some of them are less important, such as: cover / title page or copyright page. However, the remaining part should provide us with information that is important from the point of view of the user.

1. Preface and tips on how to use the manual National Instruments PC-DIO-96 - At the beginning of each manual we should find clues about how to use the guidelines. It should include information about the location of the Contents of the National Instruments PC-DIO-96, FAQ or common problems, i.e. places that are most often searched by users in each manual
2. Contents - index of all tips concerning the National Instruments PC-DIO-96, that we can find in the current document
3. Tips how to use the basic functions of the device National Instruments PC-DIO-96 - which should help us in our first steps of using National Instruments PC-DIO-96
4. Troubleshooting - systematic sequence of activities that will help us diagnose and subsequently solve the most important problems with National Instruments PC-DIO-96
5. FAQ - Frequently Asked Questions
6. Contact detailsInformation about where to look for contact to the manufacturer/service of National Instruments PC-DIO-96 in a specific country, if it was not possible to solve the problem on our own.

Do you have a question concerning National Instruments PC-DIO-96?

Use the form below

If you did not solve your problem by using a manual National Instruments PC-DIO-96, ask a question using the form below. If a user had a similar problem with National Instruments PC-DIO-96 it is likely that he will want to share the way to solve it.

Copy the text from the picture

Comments (0)