Go to page of
Similar user manuals
-
Computer Hardware
National Instruments PXI-8462
60 pages 0.81 mb -
Computer Hardware
National Instruments PXI-8150
28 pages 1.44 mb -
Computer Hardware
National Instruments NI PCIe-836x
38 pages 0.61 mb -
Computer Hardware
National Instruments 1142
86 pages 1.15 mb -
Computer Hardware
National Instruments 1141
86 pages 1.15 mb -
Computer Hardware
National Instruments NI 5401
60 pages 0.5 mb -
Computer Hardware
National Instruments PCMCIA
208 pages 2.23 mb -
Computer Hardware
National Instruments CAN Hardware
50 pages 0.39 mb
A good user manual
The rules should oblige the seller to give the purchaser an operating instrucion of National Instruments 320174B-01, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.
What is an instruction?
The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of National Instruments 320174B-01 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.
Unfortunately, only a few customers devote their time to read an instruction of National Instruments 320174B-01. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.
What should a perfect user manual contain?
First and foremost, an user manual of National Instruments 320174B-01 should contain:
- informations concerning technical data of National Instruments 320174B-01
- name of the manufacturer and a year of construction of the National Instruments 320174B-01 item
- rules of operation, control and maintenance of the National Instruments 320174B-01 item
- safety signs and mark certificates which confirm compatibility with appropriate standards
Why don't we read the manuals?
Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of National Instruments 320174B-01 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of National Instruments 320174B-01, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the National Instruments service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of National Instruments 320174B-01.
Why one should read the manuals?
It is mostly in the manuals where we will find the details concerning construction and possibility of the National Instruments 320174B-01 item, and its use of respective accessory, as well as information concerning all the functions and facilities.
After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.
Table of contents for the manual
-
Page 1
© Copyright 1989, 1995 National Instruments Corporation. All Rights Reserved. Lab-NB User Manual Low-Cost Multifunction I/O Board for Macintosh NuBus September 1995 Edition Part Number 320174B-01[...]
-
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[...]
-
Page 3
Limited Warranty The Lab-NB 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 labo[...]
-
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[...]
-
Page 5
© National Instruments Corporation v Lab-NB User Manual Contents About This Manua l ........................................................................................................... . xi Organization of This Manua l ........................................................................................ . xi Conventions Used in This Manu[...]
-
Page 6
Contents Lab-NB User Manual vi © National Instruments Corporation Chapter 3 Theory of Operatio n .......................................................................................................... . 3-1 Functional Overvie w ..................................................................................................... . 3-1 NuBus Inte[...]
-
Page 7
Contents © National Instruments Corporation vii Lab-NB User Manual Programming Considerations........................................................................................ . 4-35 Register Programming Consideration s ............................................................. . 4-35 Initializing the Lab-NB Boar d .......................[...]
-
Page 8
Contents Lab-NB User Manual viii © National Instruments Corporation Chapter 5 Calibratio n ............................................................................................................................ . 5-1 Calibration Equipment Requirement s ........................................................................... . 5-1 Calibrati[...]
-
Page 9
Contents © National Instruments Corporation ix Lab-NB User Manual Figures Figure 1-1. The Relationship between the Programming Environment, NI-DAQ, and Your Hardwar e ........................................................................................................... . 1-3 Figure 2-1. Parts Locator Diagra m .................................[...]
-
Page 10
Contents Lab-NB User Manual x © National Instruments Corporation Table 4-4. Bipolar Input Mode A/D Conversion Values (Two’s Complement Coding ) ... . 4-38 Table 4-5. Analog Output Voltage Versus Digital Cod e ................................................... . 4-53 Table 4-6. Analog Output Voltage Versus Digital Code (Bipolar Mode, Two's [...]
-
Page 11
© National Instruments Corporation xi Lab-NB User Manual About This Manual This manual describes the mechanical and electrical aspects of the Lab-NB and contains information concerning its installation and operation. The Lab-NB is a low-cost multifunction analog, digital, and timing I/O board for Macintosh NuBus computers. It contains a 12-bit suc[...]
-
Page 12
About This Manual Lab-NB User Manual xii © National Instruments Corporations • 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 topics covered in this manual, including the page where you c[...]
-
Page 13
About This Manual © National Instruments Corporation xiii Lab-NB User Manual • Your DAQ hardware user manuals—These manuals have detailed information about the DAQ hardware that plugs into or is connected to your computer. Use these manuals for hardware installation and configuration instructions, specification information about your DAQ hardw[...]
-
Page 14
© National Instruments Corporation 1-1 Lab-NB User Manual Chapter 1 Introduction This chapter describes the Lab-NB, lists what you need to get started, software programming choices, optional equipment, and explains how to unpack the Lab-NB. About the Lab-NB Thank you for buying the National Instruments Lab-NB. The Lab-NB is a low-cost multi- funct[...]
-
Page 15
Introduction Chapter 1 Lab-NB User Manual 1-2 © National Instruments Corporation What You Need to Get Started To set up and use your Lab-NB board, you will need the following: Lab-NB board Lab-NB User Manual One of the following software packages and documentation: NI-DAQ software for Macintosh LabVIEW for Macintosh Your computer Software Programm[...]
-
Page 16
Chapter 1 Introduction © National Instruments Corporation 1-3 Lab-NB 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 call fro[...]
-
Page 17
Introduction Chapter 1 Lab-NB 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. Even [...]
-
Page 18
Chapter 1 Introduction © National Instruments Corporation 1-5 Lab-NB User Manual The Lab-NB I/O connector is a 50-pin male ribbon cable header. The manufacturer part numbers used by National Instruments for this header are as follows: • Electronic Products Division/3M (part number 3596-5002) • T&B/Ansley Corporation (part number 609-500) T[...]
-
Page 19
© National Instruments Corporation 2-1 Lab-NB User Manual Chapter 2 Configuration and Installation This chapter describes how to configure and install the Lab-NB into your Macintosh computer, and also includes signal connections to the Lab-NB and cable wiring. Board Configuration The Lab-NB contains three jumpers for changing the analog input and [...]
-
Page 20
Configuration and Installation Chapter 2 Lab-NB User Manual 2-2 © National Instruments Corporation 1 2 3 1W 1 2W 2 3W 3 Figure 2-1. Parts Locator Diagram[...]
-
Page 21
Chapter 2 Configuration and Installation © National Instruments Corporation 2-3 Lab-NB User Manual Factory Default Jumper Settings The Lab-NB is shipped from the factory with the following configuration: • Jumpers W1 and W2–bipolar analog output • Jumper W3–bipolar analog input Table 2-1 lists all the available jumper configurations for th[...]
-
Page 22
Configuration and Installation Chapter 2 Lab-NB User Manual 2-4 © National Instruments Corporation W2 ABC W1 Channel 1 Channel 0 ABC Figure 2-2. Bipolar Output Jumper Configuration Unipolar Output Selection You can select the unipolar (0 to 10 V) output configuration for either analog output channel by setting the following jumpers: Analog Output [...]
-
Page 23
Chapter 2 Configuration and Installation © National Instruments Corporation 2-5 Lab-NB User Manual W3 ABC Figure 2-4. Bipolar Input Jumper Configuration Unipolar Input Selection You can select the unipolar (0 to 10 V) input configuration by setting the following jumper: Analog Input W3 B-C This configuration is shown in Figure 2-5. W3 ABC Figure 2[...]
-
Page 24
Configuration and Installation Chapter 2 Lab-NB User Manual 2-6 © National Instruments Corporation Warning: Connections that exceed any of the maximum ratings of input or output signals on the Lab-NB may result in damage to the Lab-NB board and to the Macintosh computer. This includes connecting any power signals to ground and vice versa. National[...]
-
Page 25
Chapter 2 Configuration and Installation © National Instruments Corporation 2-7 Lab-NB User Manual Signal Connection Descriptions Pin Signal Name Description 1-8 ACH<0..7> Analog input channels 0 through 7 (single-ended). 9 AIGND Analog input ground. 10 DAC0 OUT Voltage output signal for analog output channel 0. 11 AOGND Analog output ground[...]
-
Page 26
Configuration and Installation Chapter 2 Lab-NB User Manual 2-8 © National Instruments Corporation cause conversions to occur; it cannot be used as a monitor to detect conversions caused by the onboard sample-interval timer. The following input ranges and maximum ratings apply to inputs ACH<0..7>: Input impedance 0.1 G Ω in parallel with 4[...]
-
Page 27
Chapter 2 Configuration and Installation © National Instruments Corporation 2-9 Lab-NB User Manual Analog Output Signal Connections Pins 10 through 12 of the I/O connector are analog output signal pins. Pins 10 and 12 are the DAC0 OUT and DAC1 OUT signal pins. DAC0 OUT is the voltage output signal for Analog Output Channel 0. DAC1 OUT is the volta[...]
-
Page 28
Configuration and Installation Chapter 2 Lab-NB User Manual 2-10 © National Instruments Corporation Digital I/O Signal Connections Pins 13 through 37 of the I/O connector are digital I/O signal pins. Digital I/O on the Lab-NB is designed around the 82C55A integrated circuit. The 82C55A is a general-purpose PPI containing 24 programmable I/O pins. [...]
-
Page 29
Chapter 2 Configuration and Installation © National Instruments Corporation 2-11 Lab-NB User Manual Figure 2-9 illustrates signal connections for three typical digital I/O applications. 14 P A0 22 PB0 30 PC0 13 DGND Lab-NB Board Switch I/O Connector +5 V +5 V LED TTL Signal Port B PB<7..0> Port A P A<7..0> Port C PC<7..0> Figure [...]
-
Page 30
Configuration and Installation Chapter 2 Lab-NB User Manual 2-12 © National Instruments Corporation Table 2-2. Port C Signal Assignments Programming Mode Group A Group B PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 Mode 0 I/O I/O I/O I/O I/O I/O I/O I/O Mode 1 Input I/O I/O IBF A STB A * INTR A STB B * IBFB B INTR B Mode 1 Output OBF A * ACK A * I/O I/O INTR A[...]
-
Page 31
Chapter 2 Configuration and Installation © National Instruments Corporation 2-13 Lab-NB User Manual The following signals are used in the timing diagrams shown later in this chapter: Pin Direction Description STB* Input Strobe Input—A low signal on this handshaking line loads data into the input latch. IBF Output Input Buffer Full—A high signa[...]
-
Page 32
Configuration and Installation Chapter 2 © National Instruments Corporation 2-14 Lab-NB User Manual Mode 1 Input Timing The following figure illustrates the timing specifications for an input transfer in mode 1. DA T A RD * INTR IBF STB * T1 T2 T4 T7 T6 T3 T5 Name Description Minimum Maximum T 1 STB* pulse width 100 – T 2 STB* = 0 to IBF = 1 –[...]
-
Page 33
Chapter 2 Configuration and Installation © National Instruments Corporation 2-15 Lab-NB User Manual Mode 1 Output Timing The following figure illustrates the timing specifications for an output transfer in mode 1. WR* OBF* INTR ACK* DA T A T1 T2 T3 T4 T5 T6 Name Description Minimum Maximum T 1 WR* = 0 to INTR = 0 – 250 T 2 WR* = 1 to output – [...]
-
Page 34
Configuration and Installation Chapter 2 Lab-NB User Manual 2-16 © National Instruments Corporation Mode 2 Bidirectional Timing The following figure illustrates the timing specifications for bidirectional transfers in mode 2. T1 T6 T7 T3 T4 T10 T2 T5 T8 T9 WR * OBF * INTR ACK * STB * IBF RD * DA T A Name Description Minimum Maximum T 1 WR* = 1 to [...]
-
Page 35
Chapter 2 Configuration and Installation © National Instruments Corporation 2-17 Lab-NB User Manual Timing Connections Pins 38 through 48 of the I/O connector are connections for timing I/O signals. The timing I/O of the Lab-NB is designed around the 8253 Counter/Timer integrated circuit. Two of these integrated circuits are employed in the Lab-NB[...]
-
Page 36
Configuration and Installation Chapter 2 Lab-NB User Manual 2-18 © National Instruments Corporation effect until a new DAQ sequence is established. Figures 2-11 and 2-12 illustrate two possible posttrigger DAQ timing cases. In Figure 2-11, the rising edge on EXTTRIG is sensed when the EXTCONV* input is high. Thus, the first A/D conversion occurs o[...]
-
Page 37
Chapter 2 Configuration and Installation © National Instruments Corporation 2-19 Lab-NB User Manual If PRETRIG is set, EXTTRIG serves as a pretrigger signal. In pretrigger mode, A/D conversions are enabled via software before a rising edge is sensed on the EXTTRIG input. However, the sample counter, counter A1, is not gated on until a rising edge [...]
-
Page 38
Configuration and Installation Chapter 2 Lab-NB User Manual 2-20 © National Instruments Corporation t ext Minimum 50 nsec EXTUPDA TE* DAC OUTPUT UPDA TE TMRINTUP DACWR T t ext Figure 2-14. Waveform Generation Timing with the EXTUPDATE* Signal Since a rising edge on the EXTUPDATE* signal always sets the TMRINTUP bit in the Interrupt Status Register[...]
-
Page 39
Chapter 2 Configuration and Installation © National Instruments Corporation 2-21 Lab-NB User Manual 8253 digital input specifications (referenced to DGND): V IH input logic high voltage 2.2 V min V IL input logic low voltage 0.8 V max Input load current ±10 µA max 8253 digital output specifications (referenced to DGND): V OH output logic high vo[...]
-
Page 40
Configuration and Installation Chapter 2 Lab-NB User Manual 2-22 © National Instruments Corporation +5 V I/O Connector CLK GA TE OUT DGND Lab-NB Board Counter (from Group B) 4.7 k Ω 13 Signal Source Switch Figure 2-16. Event-Counting Application with External Switch Gating Pulse-width measurement is performed by level gating. The pulse to be mea[...]
-
Page 41
Chapter 2 Configuration and Installation © National Instruments Corporation 2-23 Lab-NB User Manual +5 V I/O Connector CLK GA TE OUT DGND Lab-NB Board Gate Source Signal Source Counter 4.7 k Ω 13 Figure 2-17. Frequency Measurement Application The GATE, CLK, and OUT signals for counters B1 and B2 are available at the I/O connector. In addition, t[...]
-
Page 42
Configuration and Installation Chapter 2 Lab-NB User Manual 2-24 © National Instruments Corporation Figure 2-18 shows the timing requirements for the GATE and CLK input signals and the timing specifications for the OUT output signals of the 8253. t sc t pwh t pwl t gsu t gh t gwh t gwl t outc t outg CLK GA TE OUT V OH V IH V IL V IH V OL V IL t sc[...]
-
Page 43
© National Instruments Corporation 3-1 Lab-NB User Manual Chapter 3 Theory of Operation This chapter contains a functional overview of the Lab-NB and explains the operation of each functional unit making up the Lab-NB. Functional Overview The block diagram in Figure 3-1 shows a functional overview of the Lab-NB board. Data/ Address 12-Bit D/A 12-B[...]
-
Page 44
Theory of Operation Chapter 3 Lab-NB User Manual 3-2 © National Instruments Corporation The following are the major components making up the Lab-NB board: • NuBus interface circuitry • Analog input and DAQ circuitry • Analog output circuitry • Digital I/O circuitry • Timing I/O circuitry DAQ functions can be executed by using the analog [...]
-
Page 45
Chapter 3 Theory of Operation © National Instruments Corporation 3-3 Lab-NB User Manual The starting-address-detecting circuitry on the Lab-NB matches address lines 23 through 21 to the starting address specified by the slot in which the Lab-NB board is installed. The remaining address lines (19 through 0) are decoded by the Lab-NB address-decodin[...]
-
Page 46
Theory of Operation Chapter 3 Lab-NB User Manual 3-4 © National Instruments Corporation Analog Input Circuitry The analog input circuitry consists of an input multiplexer, a software-programmable gain amplifier, a 12-bit ADC, and a 12-bit FIFO memory that is sign-extended to 16 bits. The input multiplexer is made up of a CMOS analog input multiple[...]
-
Page 47
Chapter 3 Theory of Operation © National Instruments Corporation 3-5 Lab-NB User Manual multichannel (scanned) data acquisition. Scanned data acquisition uses a counter to automatically switch between analog input channels during data acquisition. DAQ timing consists of signals that initiate a DAQ operation, initiate individual A/D conversions, ga[...]
-
Page 48
Theory of Operation Chapter 3 Lab-NB User Manual 3-6 © National Instruments Corporation DAQ Rates Maximum DAQ rates (number of samples per second) are determined by the conversion period of the ADC plus the sample-and-hold acquisition time. During multichannel scanning, the DAQ rates are further limited by the settling time of the input multiplexe[...]
-
Page 49
Chapter 3 Theory of Operation © National Instruments Corporation 3-7 Lab-NB User Manual The recommended DAQ rates given in Table 3-2 assume that voltage levels on all the channels included in the scan sequence are within range for the given gain and are driven by low- impedance sources. The signal ranges for the possible gains are shown in Table 3[...]
-
Page 50
Theory of Operation Chapter 3 Lab-NB User Manual 3-8 © National Instruments Corporation DAC0 DAC1 DAC Configuration Register Ref Coding Coding Ref DAC0 OUT AGND DAC1 OUT EXTUPDA TE* 5 V Internal Reference DAC0WR Data DAC1WR Counter A2 CNFGWR TWOSDA0 TMR WGN1 TWOSDA1 TMR WGN0 TWOSDA0 TWOSDA1 12 I/O Connector NuBus Interface Figure 3-4. Analog Outpu[...]
-
Page 51
Chapter 3 Theory of Operation © National Instruments Corporation 3-9 Lab-NB User Manual corresponding to an LSB change in the digital code word. For both unipolar and bipolar output, one LSB corresponds to the following formula: 10 V 4, 096 Digital I/O Circuitry The digital I/O circuitry is designed around an 82C55A integrated circuit. The 82C55A [...]
-
Page 52
Theory of Operation Chapter 3 Lab-NB User Manual 3-10 © National Instruments Corporation All three ports on the 82C55A are TTL-compatible. When enabled, the digital output ports are capable of sinking 2.5 mA of current and sourcing 2.5 mA of current on each digital I/O line. When the ports are not enabled, the digital I/O lines act as high-impedan[...]
-
Page 53
Chapter 3 Theory of Operation © National Instruments Corporation 3-11 Lab-NB User Manual Each 8253 contains three independent 16-bit counter/timers and one 8-bit Mode Register. As shown in Figure 3-6, counter group A is reserved for DAQ timing, and counter group B is free for general use. The output of counter B0 can be used in place of the 1-MHz [...]
-
Page 54
© National Instruments Corporation 4-1 Lab-NB User Manual Chapter 4 Register-Level Programming This chapter describes in detail the address and function of each of the Lab-NB control and status registers. This chapter also includes important information about register-level programming the Lab-NB. Note: If you plan to use a programming software pa[...]
-
Page 55
Register-Level Programming Chapter 4 Lab-NB User Manual 4-2 © National Instruments Corporation Table 4-1. Macintosh Slot Addresses Slot Number Starting Address (Hex) Ending Address (Hex) 24-Bit Mode 9 0090 0000 009F FFFF A 00A0 0000 00AF FFFF B 00B0 0000 00BF FFFF C 00C0 0000 00CF FFFF D 00D0 0000 00DF FFFF E 00E0 0000 00EF FFFF 32-Bit Mode 0 F000[...]
-
Page 56
Chapter 4 Register-Level Programming © National Instruments Corporation 4-3 Lab-NB User Manual Table 4-2. Lab-NB Register Map Offset Register Name Address (Hex) Type Size Analog Input Register Group A/D Configuration Register 0 8000 Write-only 16-bit Status Register 0 8000 Read-only 8-bit A/D FIFO Register 0 8010 Read-only 16-bit A/D Clear Registe[...]
-
Page 57
Register-Level Programming Chapter 4 Lab-NB User Manual 4-4 © National Instruments Corporation Register Sizes The Macintosh permits three different memory word sizes for memory read and write operations–byte (8-bit), half-word (16-bit), and word (32-bit). Table 4-2 shows the word sizes of the Lab-NB registers. For example, reading the A/D FIFO R[...]
-
Page 58
Chapter 4 Register-Level Programming © National Instruments Corporation 4-5 Lab-NB User Manual Analog Input Register Group The four registers making up the Analog Input Register Group control the analog input circuitry and are used for reading from the A/D FIFO. The A/D Configuration Register selects the input channel to be read, the gain for that[...]
-
Page 59
Register-Level Programming Chapter 4 Lab-NB User Manual 4-6 © National Instruments Corporation A/D Configuration Register The A/D Configuration Register indicates the input channel to be read and the gain for the analog input circuitry. Address: Base address + 0 8000 (hex) Type: Write-only Word Size: 16-bit Bit Map: 15 14 13 12 11 10 9 8 X X X X X[...]
-
Page 60
Chapter 4 Register-Level Programming © National Instruments Corporation 4-7 Lab-NB User Manual Bit Name Description (continued) 8 PRETRIG Pretrigger Bit—This bit is used to set the pretriggering feature on the Lab-NB. It also supersedes any setting in the EXTTRIGEN bit described earlier. If PRETRIG is cleared, then the function of the EXTTRIG li[...]
-
Page 61
Register-Level Programming Chapter 4 Lab-NB User Manual 4-8 © National Instruments Corporation Bit Name Description (continued) Channel Scanning later in this chapter for the correct sequence involved in setting the SCANEN bit. 3–1 GAIN<2..0> Gain Bit—These three bits select the gain setting as follows: GAIN<2..0> Selected Gain 000[...]
-
Page 62
Chapter 4 Register-Level Programming © National Instruments Corporation 4-9 Lab-NB User Manual Status Register The Status Register indicates the status of the current A/D conversion. The bits in this register determine if a conversion is being performed or if data is available and any errors have been found. Address: Base address + 0 8000 (hex) Ty[...]
-
Page 63
Register-Level Programming Chapter 4 Lab-NB User Manual 4-10 © National Instruments Corporation A/D FIFO Register Reading the A/D FIFO Register returns the next A/D conversion value stored in the A/D FIFO. Whenever the A/D FIFO Register is read, the value read is removed from the A/D FIFO, thereby freeing space for another A/D conversion value to [...]
-
Page 64
Chapter 4 Register-Level Programming © National Instruments Corporation 4-11 Lab-NB User Manual A/D FIFO Register (continued) Bit Map: Two’s complement binary mode 15 14 13 12 11 10 9 8 Sign Extension Bits D11 D10 D9 D8 76 54 32 10 D7 D6 D5 D4 D3 D2 D1 D0 Bit Name Description 15– 0 D<15..0> Data Bit—These bits contain the 16-bit, sign-[...]
-
Page 65
Register-Level Programming Chapter 4 Lab-NB User Manual 4-12 © National Instruments Corporation A/D Clear Register The ADC can be reset by writing to this register. This operation clears the FIFO and loads the last conversion value into the FIFO. All error bits in the Status Register are cleared as well. Notice that the FIFO contains one data word[...]
-
Page 66
Chapter 4 Register-Level Programming © National Instruments Corporation 4-13 Lab-NB User Manual Analog Output Register Group The four registers making up the Analog Output Register Group are used for loading the two 12-bit DACs in the two analog output channels. DAC0 controls analog output channel 0. DAC1 controls analog output channel 1. These DA[...]
-
Page 67
Register-Level Programming Chapter 4 Lab-NB User Manual 4-14 © National Instruments Corporation DAC Configuration Register This register determines if data written to the DACs is in straight binary or two’s complement form. It also configures the DACs to output data automatically at a rate controlled by counter A2 OR EXTUPDATE*. This feature is [...]
-
Page 68
Chapter 4 Register-Level Programming © National Instruments Corporation 4-15 Lab-NB User Manual DAC0 and DAC1 Data Registers Writing to these registers loads the corresponding analog output channel DAC, thereby updating the voltages generated by the analog output channels. The voltage is updated immediately, unless the TMRWGN bit for that DAC is s[...]
-
Page 69
Register-Level Programming Chapter 4 Lab-NB User Manual 4-16 © National Instruments Corporation 8253 Counter/Timer Register Groups The eight registers making up the two Counter/Timer Register Groups access the two onboard 8253 Counter/Timers. Each 8253 has three counters. For convenience, the two Counter/Timer Groups and their respective 8253 inte[...]
-
Page 70
Chapter 4 Register-Level Programming © National Instruments Corporation 4-17 Lab-NB User Manual Counter A0 Data Register The Counter A0 Data Register is used for loading and reading back contents of 8253(A) counter 0. Address: Base address + 4 0000 (hex) Type: Read-and-write Word Size: 8-bit Bit Map: 76 54 32 10 D7 D6 D5 D4 D3 D2 D1 D0 Bit Name De[...]
-
Page 71
Register-Level Programming Chapter 4 Lab-NB User Manual 4-18 © National Instruments Corporation Counter A1 Data Register The Counter A1 Data Register is used for loading and reading back contents of 8253(A) counter 1. Address: Base address + 4 0010 (hex) Type: Read-and-write Word Size: 8-bit Bit Map: 76 54 32 10 D7 D6 D5 D4 D3 D2 D1 D0 Bit Name De[...]
-
Page 72
Chapter 4 Register-Level Programming © National Instruments Corporation 4-19 Lab-NB User Manual Counter A2 Data Register The Counter A2 Data Register is used for loading and reading back contents of 8253(A) counter A2. Address: Base address + 4 0020 (hex) Type: Read-and-write Word Size: 8-bit Bit Map: 76 54 32 10 D7 D6 D5 D4 D3 D2 D1 D0 Bit Name D[...]
-
Page 73
Register-Level Programming Chapter 4 Lab-NB User Manual 4-20 © National Instruments Corporation Counter A Mode Register The Counter A Mode Register determines the operation mode for each of the three counters on the 8253(A) chip. The Counter A Mode Register selects the counter involved, its read/load mode, its operation mode (that is, any of the 8[...]
-
Page 74
Chapter 4 Register-Level Programming © National Instruments Corporation 4-21 Lab-NB User Manual Counter B0 Data Register The Counter B0 Data Register is used for loading and reading back the contents of 8253(B) counter 0. Address: Base address + 4 8000 (hex) Type: Read-and-write Word Size: 8-bit Bit Map: 76 54 32 10 D7 D6 D5 D4 D3 D2 D1 D0 Bit Nam[...]
-
Page 75
Register-Level Programming Chapter 4 Lab-NB User Manual 4-22 © National Instruments Corporation Counter B1 Data Register The Counter B1 Data Register is used for loading and reading back the contents of 8253(B) counter 1. Address: Base address + 4 8010 (hex) Type: Read-and-write Word Size: 8-bit Bit Map: 76 54 32 10 D7 D6 D5 D4 D3 D2 D1 D0 Bit Nam[...]
-
Page 76
Chapter 4 Register-Level Programming © National Instruments Corporation 4-23 Lab-NB User Manual Counter B2 Data Register The Counter B2 Data Register is used for loading and reading back the contents of 8253(B) counter 2. Address: Base address + 4 8020 (hex) Type: Read-and-write Word Size: 8-bit Bit Map: 76 54 32 10 D7 D6 D5 D4 D3 D2 D1 D0 Bit Nam[...]
-
Page 77
Register-Level Programming Chapter 4 Lab-NB User Manual 4-24 © National Instruments Corporation Counter B Mode Register The Counter B Mode Register determines the operation mode for each of the three counters on the 8253(B) chip. The Counter B Mode Register selects the counter involved, its read/load mode, its operation mode (that is, any of the 8[...]
-
Page 78
Chapter 4 Register-Level Programming © National Instruments Corporation 4-25 Lab-NB User Manual 82C55A Digital I/O Register Group Digital I/O on the Lab-NB uses an 82C55A integrated circuit. The 82C55A is a general-purpose PPI containing 24 programmable I/O pins. These pins represent the three 8-bit I/O ports (A, B, and C) of the 82C55A. These por[...]
-
Page 79
Register-Level Programming Chapter 4 Lab-NB User Manual 4-26 © National Instruments Corporation Port A Register Reading the Port A Register returns the logic state of the eight digital I/O lines constituting port A, that is, PA<0..7>. If port A is configured for output, the Port A Register can be written to in order to control the eight digi[...]
-
Page 80
Chapter 4 Register-Level Programming © National Instruments Corporation 4-27 Lab-NB User Manual Port B Register Reading the Port B Register returns the logic state of the eight digital I/O lines constituting port B, that is, PB<0..7>. If port B is configured for output, the Port B Register can be written to in order to control the eight digi[...]
-
Page 81
Register-Level Programming Chapter 4 Lab-NB User Manual 4-28 © National Instruments Corporation Port C Register Port C is special in the sense that it can be used as an 8-bit I/O port like port A and port B if neither port A nor port B is used in handshaking (latched) mode. If either port A or port B is configured for latched I/O, some of the bits[...]
-
Page 82
Chapter 4 Register-Level Programming © National Instruments Corporation 4-29 Lab-NB User Manual Digital Control Register The Digital Control Register can be used to configure port A, port B, and port C as inputs or outputs as well as selecting simple mode (basic I/O) or handshaking mode (strobed I/O) for transfers. See Programming the Digital I/O [...]
-
Page 83
Register-Level Programming Chapter 4 Lab-NB User Manual 4-30 © National Instruments Corporation Interrupt Control Register Group This group is made up of two registers. Writing to the Interrupt Control Register enables the interrupt facility on the Lab-NB. The Interrupt Status Register contains information about the Interrupt Control Register and [...]
-
Page 84
Chapter 4 Register-Level Programming © National Instruments Corporation 4-31 Lab-NB User Manual Interrupt Control Register Setting bits of this register causes an interrupt to occur when the current process is complete. Address: Base address + 1 0000 (hex) Type: Write-only Word Size: 8-bit Bit Map: 76 54 32 10 X X X X PAINTEN PBINTEN TMRINTEN ADCI[...]
-
Page 85
Register-Level Programming Chapter 4 Lab-NB User Manual 4-32 © National Instruments Corporation Bit Name Description (continued) the Timer Interrupt Clear Register. This interrupt allows waveform generation on the analog output because the same signal that sets the interrupt also updates the DAC output if the corresponding TMRWG bit in the DAC Con[...]
-
Page 86
Chapter 4 Register-Level Programming © National Instruments Corporation 4-33 Lab-NB User Manual Interrupt Status Register The Interrupt Status Register indicates the status of the Interrupt Control Register bits and the interrupt lines. Address: Base address + 1 0000 (hex) Type: Read-only Word Size: 8-bit Bit Map: 76 54 3 2 1 0 X X INT TIMERUP *PA[...]
-
Page 87
Register-Level Programming Chapter 4 Lab-NB User Manual 4-34 © National Instruments Corporation Timer Interrupt Clear Register Writing to the Timer Interrupt Clear Register clears the TIMERUP bit in the Interrupt Status Register. The Timer Interrupt Clear Register can be used to service any timer-related or EXTUPDATE*-caused interrupts generated b[...]
-
Page 88
Chapter 4 Register-Level Programming © National Instruments Corporation 4-35 Lab-NB User Manual Configuration EPROM The Configuration EPROM is an onboard read-only memory that contains information required by the Macintosh operating system. The Macintosh system Slot Manager reads the Configuration EPROM upon system startup. The Configuration EPROM[...]
-
Page 89
Register-Level Programming Chapter 4 Lab-NB User Manual 4-36 © National Instruments Corporation 4. Write 0000 (hex) to the A/D Configuration Register (16-bit write). 5. Write 00 (hex) to the A/D Clear Register (8-bit write). 6. Read the data from the A/D FIFO Register (16-bit read). Ignore the data. 7. Write 0000 (hex) to the DAC0 Data Register if[...]
-
Page 90
Chapter 4 Register-Level Programming © National Instruments Corporation 4-37 Lab-NB User Manual 1. Select analog input channel and gain. The analog input channel and gain are selected by writing to the A/D Configuration Register. See the A/D Configuration Register bit description earlier in this chapter for gain and analog input channel bit patter[...]
-
Page 91
Register-Level Programming Chapter 4 Lab-NB User Manual 4-38 © National Instruments Corporation used for A/D timing, the DAVAIL bit should be set after 12 msec or after a rising edge in EXTCONV*, whichever occurs later. An A/D FIFO overflow condition occurs if more than 16 conversions are initiated and stored in the A/D FIFO before the A/D FIFO Re[...]
-
Page 92
Chapter 4 Register-Level Programming © National Instruments Corporation 4-39 Lab-NB User Manual Clearing the Analog Input Circuitry The analog input circuitry can be cleared by writing to the A/D Clear Register, which leaves the analog input circuitry in the following state: • Analog input error flags OVERFLOW and OVERRUN are cleared. • Pendin[...]
-
Page 93
Register-Level Programming Chapter 4 Lab-NB User Manual 4-40 © National Instruments Corporation Programming in Controlled Acquisition Mode The following programming steps are required for a DAQ operation in controlled acquisition mode: 1. Select analog input channel, gain, and timebase source for counter A0. 2. Program counter B0 (if necessary). 3[...]
-
Page 94
Chapter 4 Register-Level Programming © National Instruments Corporation 4-41 Lab-NB User Manual 3. Program counters A0 and A1. This step involves programming counter A0 to generate periodic conversion pulses and programming counter A1 to interrupt on terminal count mode (mode 0). Counter A0 of the 8253(A) Counter/Timer is used as the sample-interv[...]
-
Page 95
Register-Level Programming Chapter 4 Lab-NB User Manual 4-42 © National Instruments Corporation Use the following programming sequence to program the sample-interval counter. All writes are 8-bit write operations. All values given are hexadecimal. a. Write 34 to the Counter A Mode Register (select counter A0, mode 2). b. Write the least signifi ca[...]
-
Page 96
Chapter 4 Register-Level Programming © National Instruments Corporation 4-43 Lab-NB User Manual Programming in Freerun Acquisition Mode Freerun acquisition mode uses only counter A0 as the sample-interval counter. The number of A/D conversions that have occurred (that is, the sample count) is maintained by software in this case. With this arrangem[...]
-
Page 97
Register-Level Programming Chapter 4 Lab-NB User Manual 4-44 © National Instruments Corporation c. Write the most significant byte of the timebase count to the Counter B Data Register. For example, programming a timebase of 10 µsec requires a timebase count of 10 µsec 0.5 µsec = 20 µsec 3. Program count er A0 to force OUT0 high. Counter A0 of [...]
-
Page 98
Chapter 4 Register-Level Programming © National Instruments Corporation 4-45 Lab-NB User Manual 7. Service the DAQ operation. Once the DAQ operation is started by writing the most significant byte of the sample interval to the Counter A0 Data Register, the operation must be serviced by reading the A/D FIFO Register every time an A/D conversion res[...]
-
Page 99
Register-Level Programming Chapter 4 Lab-NB User Manual 4-46 © National Instruments Corporation Using the EXTTRIG Signal to Terminate a Multiple A/D Conversion DAQ Operation (Pretrigger Mode) If the PRETRIG bit is set in the ADC Command Register, EXTTRIG functions as a stop trigger for a multiple A/D conversion DAQ operation. In this mode, referre[...]
-
Page 100
Chapter 4 Register-Level Programming © National Instruments Corporation 4-47 Lab-NB User Manual 4. Clear the A/D circuitry. 5. Program counter A1 and enable EXTCONV* and EXTTRIG input. 6. Service the DAQ operation. Each of these programming steps is explained as follows. 1. Disable EXTCONV* and EXTTRIG input. The EXTCONV* bit can be disabled by se[...]
-
Page 101
Register-Level Programming Chapter 4 Lab-NB User Manual 4-48 © National Instruments Corporation To program the counters, use the following programming sequence: a. Write 70 (hex) to the Counter A Mode Register (select counter A1, mode 0). This step sets the output of counter A1 (OUTA1) low, which in turn enables EXTTRIG; that is, the first rising [...]
-
Page 102
Chapter 4 Register-Level Programming © National Instruments Corporation 4-49 Lab-NB User Manual Pretrigger Mode The following programming steps are required for a DAQ operation in controlled acquisition mode using EXTCONV*. In the following programming sequence, EXTTRIG is used as a pretrigger signal; that is, A/D conversions are enabled but the s[...]
-
Page 103
Register-Level Programming Chapter 4 Lab-NB User Manual 4-50 © National Instruments Corporation 4. Clear the A/D circuitry. Before the DAQ operation is started, the A/D FIFO must be emptied in order to clear any old A/D conversion results. Empty the A/D FIFO after the counters are programmed because programming the counters can cause spurious edge[...]
-
Page 104
Chapter 4 Register-Level Programming © National Instruments Corporation 4-51 Lab-NB User Manual Two error conditions may occur during a DAQ operation: an overflow error or an overrun error. These error conditions are reported through the Status Register and should be checked every time the Status Register is read to check the DAVAIL bit. An overfl[...]
-
Page 105
Register-Level Programming Chapter 4 Lab-NB User Manual 4-52 © National Instruments Corporation channel 3, channel 2, channel 1, channel 0, channel 3, channel 2, channel 1, channel 0, channel 3, and so on. Note: Select the analog input channel and gain in the following order: 1. Write the configuration value indicating the highest channel number i[...]
-
Page 106
Chapter 4 Register-Level Programming © National Instruments Corporation 4-53 Lab-NB User Manual by jumper settings described in Chapter 2, Configuration and Installation . Table 4-5 shows the output voltage versus digital code for a unipolar analog output configuration. Table 4-6 shows the voltage versus digital code for a bipolar analog output co[...]
-
Page 107
Register-Level Programming Chapter 4 Lab-NB User Manual 4-54 © National Instruments Corporation Table 4-6. Analog Output Voltage Versus Digital Code (Bipolar Mode, Two’s Complement Coding) Digital Code Voltage Output (Decimal) (Hex) (V ref = 10 V) -2,048 F800 -5.0 V -1,024 FC00 -2.5 V 0 0000 0.0 V 1,024 0400 2.5 V 2,047 07FF 4.9976 V Interrupt P[...]
-
Page 108
Chapter 4 Register-Level Programming © National Instruments Corporation 4-55 Lab-NB User Manual 3. Install an interrupt service routine. You must install an interrupt service routine for the slot containing the Lab-NB. Consult the Inside Macintosh manual for information regarding the installation of interrupt service routines. The interrupt servic[...]
-
Page 109
Register-Level Programming Chapter 4 Lab-NB User Manual 4-56 © National Instruments Corporation Mode 0–Basic I/O This mode is for simple I/O operations for each of the ports. No handshaking is required; data is simply written to or read from a specified port. Mode 0 has the following features: • Two 8-bit ports (A and B) and two 4-bit ports (u[...]
-
Page 110
Chapter 4 Register-Level Programming © National Instruments Corporation 4-57 Lab-NB User Manual Register Descriptions and Programming Examples The following figures show the two control-word formats used to completely program the 82C55A. The control-word flag determines which control-word format is being programmed. When the control-word flag is 1[...]
-
Page 111
Register-Level Programming Chapter 4 Lab-NB User Manual 4-58 © National Instruments Corporation This section describes the Digital Control Register, which is used to program the 82C55A ports in any one of the three modes discussed earlier in this section. Specific control words for each mode are described later in this section along with programmi[...]
-
Page 112
Chapter 4 Register-Level Programming © National Instruments Corporation 4-59 Lab-NB User Manual Example 2. Configure port A for input, port B and port C for output: • Write 90 (hex) to the Digital Control Register. • Write 8-bit data to port B or port C. Read 8-bit data from port A as appropriate. Example 3. Configure port A and port C for out[...]
-
Page 113
Register-Level Programming Chapter 4 Lab-NB User Manual 4-60 © National Instruments Corporation Port C status-word bit definitions for input (port A and port B): 76 54 32 10 I/O I/O IBFA INTEA INTRA INTEB IBFB INTRB Bit Name Description 7, 6 I/O Extra I/O status lines when port A is in mode 1 input. 5 IBFA Input Buffer Full for Port A—High indic[...]
-
Page 114
Chapter 4 Register-Level Programming © National Instruments Corporation 4-61 Lab-NB User Manual Mode 1 Input Programming Example Example 1. Configure port A as an input port in mode 1: • Write B0 (hex) to the Digital Control Register. • Wait for bit 5 of port C (IBFA) to be set, indicating that data has been latched into port A. • Read data [...]
-
Page 115
Register-Level Programming Chapter 4 Lab-NB User Manual 4-62 © National Instruments Corporation Port C status-word bit definitions for output (port A and port B): 76 54 32 10 OBFA* INTEA I/O I/O INTRA INTEB* OBFB INTRB Bit Name Description 7 OBFA* Output Buffer Full for Port A—Low indicates that the CPU has written data out to port A. 6 INTEA In[...]
-
Page 116
Chapter 4 Register-Level Programming © National Instruments Corporation 4-63 Lab-NB User Manual Mode 1 Output Programming Example Example 1. Configure port A as an output port in mode 1: • Write A0 (hex) to the Digital Control Register. • Wait for bit 7 of port C (OBFA*) to be cleared, indicating that the data last written to port A has been r[...]
-
Page 117
Register-Level Programming Chapter 4 Lab-NB User Manual 4-64 © National Instruments Corporation Port C status-word bit definitions for bidirectional data path (port A only): 76 54 32 10 OBFA* INTE1 IBFA INTE2 INTRA I/O I/O I/O Bit Name Description 7 OBFA* Output Buffer Full—Low indicates that the CPU has written data out to port A. 6 INTE1 Inter[...]
-
Page 118
Chapter 4 Register-Level Programming © National Instruments Corporation 4-65 Lab-NB User Manual Mode 2 Programming Example Example 1. Configure port A in mode 2: • Write C0 (hex) to the Digital Control Register. • Wait for bit 7 of port C (OBFA*) to be cleared, indicating that the data last written to port A has been read. • Write new data t[...]
-
Page 119
© National Instruments Corporation 5-1 Lab-NB User Manual Chapter 5 Calibration This chapter discusses the calibration procedures for the Lab-NB analog input and analog output circuitry. The Lab-NB is calibrated at the factory before shipment. To maintain the 12-bit accuracy of the Lab-NB analog input and analog output circuitry, recalibration at [...]
-
Page 120
Calibration Chapter 5 Lab-NB User Manual 5-2 © National Instruments Corporation Calibration Trimpots The Lab-NB has six trimpots for calibration. The location of these trimpots on the Lab-NB board is shown in the partial diagram of the board in Figure 5-1. 1 2 3 4 5 1R 6 2R 7 3R 8 4R 9 5 R10 6 R1 Figure 5-1. Calibration Trimpot Location Diagram Th[...]
-
Page 121
Chapter 5 Calibration © National Instruments Corporation 5-3 Lab-NB User Manual Analog Input Calibration To null out error sources that compromise the quality of measurements, you must calibrate the analog input circuitry by adjusting the following potential sources of error: • Offset errors • Gain error of the analog input circuitry The calib[...]
-
Page 122
Calibration Chapter 5 Lab-NB User Manual 5-4 © National Instruments Corporation Input Range V -fs V +fs - 1 1 LSB 0.5 LSB -5 to +5 V -5 V +4.99756 V 2.44 mV 1.22 mV 0 to 10 V 0 V +9.99756 V 2.44 mV 1.22 mV Board Configuration The calibration procedure differs if you select either bipolar or unipolar input configuration. A procedure for each config[...]
-
Page 123
Chapter 5 Calibration © National Instruments Corporation 5-5 Lab-NB User Manual b. Take analog input readings from channel 0 at a gain of 1, and adjust trimpot R10 until the ADC readings flicker evenly between 2,046 and 2,047. Alternatively, you can average a number of readings (approximately 100) and adjust trimpot R10 until the average reading i[...]
-
Page 124
Calibration Chapter 5 Lab-NB User Manual 5-6 © National Instruments Corporation Offset error in the analog output circuitry is the total of the voltage offsets contributed by each component in the circuitry. This error appears as a voltage difference between the desired voltage and the actual output voltage generated and is independent of the D/A [...]
-
Page 125
Chapter 5 Calibration © National Instruments Corporation 5-7 Lab-NB User Manual c. Adjust trimpot R9 until the output voltage read is -5 V. 2. Adjus t the Analog Output Gain Adjust the analog output gain by measuring the output voltage generated with the DAC set at positive full-scale (4,095). This output voltage should be V +fs ±0.5 LSB. For bip[...]
-
Page 126
Calibration Chapter 5 Lab-NB User Manual 5-8 © National Instruments Corporation For analog output channel 1: a. Connect the voltmeter between DAC1 OUT (pin 12 on the I/O connector) and AOGND (pin 11). b. Set the analog output channel to 0 V by writing 0 to the DAC. c. Adjust trimpot R9 until the output voltage read is 0 V. 2. Adjust the Analog Out[...]
-
Page 127
© National Instruments Corporation A-1 Lab-NB User Manual Appendix A Specifications This appendix lists the specifications of the Lab-NB. These specifications are typical at 25° C unless otherwise stated. The operating temperature range is 0° to 70° C. Analog Input Number of input channels .......................................................[...]
-
Page 128
Specifications Appendix A Lab-NB User Manual A-2 © National Instruments Corporation normally called nonlinearity, because relative accuracy ensures that the sum of quantization uncertainty and A/D conversion error does not exceed a given amount. Integral nonlinearity in an ADC is an often ill-defined specification that is supposed to indicate a co[...]
-
Page 129
Appendix A Specifications © National Instruments Corporation A-3 Lab-NB User Manual Voltage offset ...................................................................... ±60 µV/° C Explanation of Analog Output Specifications Relative accuracy in a D/A system is the same as nonlinearity, because no uncertainty is added due to code width. Unlike [...]
-
Page 130
Specifications Appendix A Lab-NB User Manual A-4 © National Instruments Corporation Physical Board dimension s........................................................................ 27.62 by 10.16 cm (10.875 by 4.0 in.) I/O connector ................................................................................ 50-pin D male ribbon-cable connec[...]
-
Page 131
© National Instruments Corporation B-1 Lab-NB User Manual Appendix B I/O Connector This appendix contains the pinout and signal names for the I/O connector on the Lab-NB. Figure B-1 shows the Lab-NB 50-pin I/O connector. 12 34 56 78 9 10 1 1 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[...]
-
Page 132
© National Instrument s Corporation C-1 Lab-NB User Manual Appendix C AMD 8253 Data Sheet * This appendix contains the manufacturer data sheet for the AMD 8253 System Timing Controller integrated circuit (Advanced Micro Devices, Inc.). This circuit is used on the Lab- NB. * Copyright © Advanced Micro Devi ces, Inc. 1987. Reprinted with permi ssio[...]
-
Page 133
[...]
-
Page 134
[...]
-
Page 135
[...]
-
Page 136
[...]
-
Page 137
[...]
-
Page 138
[...]
-
Page 139
[...]
-
Page 140
[...]
-
Page 141
[...]
-
Page 142
[...]
-
Page 143
[...]
-
Page 144
[...]
-
Page 145
© National Instrument s Corporation D-1 Lab-NB User Manual Appendix D 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 Lab-NB. * Copyright © OKI Semiconduct or. 1993. R eprinted with permission of copyright owner[...]
-
Page 146
OKI 82C55A Data Sheet Appendix D Lab-NB User Manual D- 2 © National Instruments Corporation[...]
-
Page 147
Appendix D OKI 82C55A Data Sheet © National Instruments Corporation D- 3 Lab-NB User Manual[...]
-
Page 148
OKI 82C55A Data Sheet Appendix D Lab-NB User Manual D- 4 © National Instruments Corporation[...]
-
Page 149
Appendix D OKI 82C55A Data Sheet © National Instruments Corporation D- 5 Lab-NB User Manual[...]
-
Page 150
OKI 82C55A Data Sheet Appendix D Lab-NB User Manual D- 6 © National Instruments Corporation[...]
-
Page 151
Appendix D OKI 82C55A Data Sheet © National Instruments Corporation D- 7 Lab-NB User Manual[...]
-
Page 152
OKI 82C55A Data Sheet Appendix D Lab-NB User Manual D- 8 © National Instruments Corporation[...]
-
Page 153
Appendix D OKI 82C55A Data Sheet © National Instruments Corporation D- 9 Lab-NB User Manual[...]
-
Page 154
OKI 82C55A Data Sheet Appendix D Lab-NB User Manual D- 10 © National Instruments Corporation[...]
-
Page 155
Appendix D OKI 82C55A Data Sheet © National Instruments Corporation D-11 Lab-NB User Manual[...]
-
Page 156
OKI 82C55A Data Sheet Appendix D Lab-NB User Manual D- 12 © National Instruments Corporation[...]
-
Page 157
Appendix D OKI 82C55A Data Sheet © National Instruments Corporation D-13 Lab-NB User Manual[...]
-
Page 158
OKI 82C55A Data Sheet Appendix D Lab-NB User Manual D- 14 © National Instruments Corporation[...]
-
Page 159
Appendix D OKI 82C55A Data Sheet © National Instruments Corporation D-15 Lab-NB User Manual[...]
-
Page 160
OKI 82C55A Data Sheet Appendix D Lab-NB User Manual D- 16 © National Instruments Corporation[...]
-
Page 161
Appendix D OKI 82C55A Data Sheet © National Instruments Corporation D-17 Lab-NB User Manual[...]
-
Page 162
© National Instruments Corporation E-1 Lab-NB User Manual Appendix E 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 product do[...]
-
Page 163
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[...]
-
Page 164
Lab-NB 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 co[...]
-
Page 165
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: Lab-NB User Manual Edition Date: September 1995 Part Number: 320174B-01 Please comment on the com[...]
-
Page 166
© National Instruments Corporation Glossary-1 Lab-NB User Manual Glossary ___________________________________________________ Prefix Meaning Value p- pico- 10 -12 n- nano- 10 -9 µ- micro- 10 -6 m- milli- 10 -3 k- kilo- 10 3 M- mega- 10 6 G- giga- 10 9 ° degrees Ω ohms % percent A amperes A/D analog-to-digital ADC A/D converter AMD Advanced Mic[...]
-
Page 167
Glossary Lab-NB User Manual Glossary-2 © National Instruments Corporation ksamples 1,000 samples LED light-emitting diode LS Low-power Schottky LSB least significant bit MB megabytes of memory m meters MSB most significant bit PA port A PB port B PC port C PC personal computer PPI programmable peripheral interface ppm parts per million R EXT exter[...]
-
Page 168
© National Instruments Corporation Index- 1 Lab-NB User Manual Index Numbers/Symbols +5 V signal (table), 2-7 82C55A Digital I/O Register group, 4-25 to 4-29 control words. See control words. Digital Control Register, 4-29 digital I/O circuitry block diagram, 3-9 OKI 82C55A data sheet, D-1 to D-17 overview, 4-25 Port A Register, 4-26 Port B Regist[...]
-
Page 169
Index Lab-NB User Manual Index- 2 © National Instruments Corporation selecting analog input channel and gain, 4-37 and posttrigger mode, 4-47 and pretrigger mode, 4-49 and timebase source for counter A0, 4-40, 4-43 A/D conversion initiating, 3-5, 4-37 reading result, 4-37 to 4-38 A/D FIFO Register clearing, 4-39, 4-41, 4-44, 4-47, 4-50 description[...]
-
Page 170
Index © National Instruments Corporation Index- 3 Lab-NB User Manual analog input signal connections, 2-7 to 2-8 connections for signal sources (figure), 2-8 exceeding input signal range (warning), 2-8 analog input specifications, A-1 to A-2 analog output calibration, 5-5 to 5-8 bipolar output calibration procedure, 5-6 to 5-7 adjusting analog out[...]
-
Page 171
Index Lab-NB User Manual Index- 4 © National Instruments Corporation GATA1, 4-9 IBFA, 4-60, 4-64 IBFB, 4-60 INT, 4-33 INTE1, 4-64 INTE2, 4-64 INTEA, 4-60, 4-62 INTEB, 4-60, 4-62 INTRA, 4-60, 4-62, 4-64 INTRB, 4-60, 4-62 I/O, 4-60, 4-62, 4-64 MA<2..0>, 4-7 to 4-8 OBFA*, 4-62, 4-64 OBFB*, 4-62 OVERFLOW, 4-9, 4-38, 4-42, 4-45, 4-48, 4-51 OVERRU[...]
-
Page 172
Index © National Instruments Corporation Index- 5 Lab-NB User Manual Port C single bit set/reset control words, 4-65 controlled acquisition mode multiple A/D conversions on single input channel, 4-40 to 4-42 clearing A/D circuitry, 4-41 programming counter B0 (if necessary), 4-40 programming counters A0 and A1, 4-41 programming sample-interval cou[...]
-
Page 173
Index Lab-NB User Manual Index- 6 © National Instruments Corporation DAC (digital-to-analog converter) jumper programming for unipolar or bipolar voltage, 3-8 to 3-9 programming analog output circuitry, 4-52 theory of operation, 3-8 updating voltages, 3-8 DAC Configuration Register description, 4-14 setting up for interrupt programming, 4-54 DAC0 [...]
-
Page 174
Index © National Instruments Corporation Index- 7 Lab-NB User Manual programming example, 4-63 mode 2 bidirectional bus control words, 4-63 Port C pin assignments (figure), 4-64 Port C status-word bit definitions, 4-64 programming example, 4-65 register descriptions and programming examples, 4-57 to 4-65 single bit set/reset control words, 4-65 di[...]
-
Page 175
Index Lab-NB User Manual Index- 8 © National Instruments Corporation programming analog output circuitry, 4-52 specifications and ratings, 2-20 to 2-21 waveform generation timing (figure), 2-20 F fax technical support, E-1 freerun acquisition mode counter A0 required, 3-5 multiple A/D conversions on single input channel, 4-43 to 4-45 selecting ana[...]
-
Page 176
Index © National Instruments Corporation Index- 9 Lab-NB User Manual INTRB bit, 4-60, 4-62 I/O bit, 4-60, 4-62, 4-64 I/O connector pin assignments (figure), 2-5 to 2-6, B-1 J jumper settings analog output configuration bipolar output selection, 2-3 to 2-4 unipolar input selection, 2-4 factory default settings (table), 2-3 jumpers on Lab-NB, 2-1 pa[...]
-
Page 177
Index Lab-NB User Manual Index- 10 © National Instruments Corporation N NI-DAQ driver software, 1-3 NuBus interface circuitry, 3-2 to 3-3 block diagram, 3-2 O OBF* signal description (table), 2-13 mode 1 output timing, 2-15 mode 2 bidirectional timing, 2-16 OBFA* bit, 4-62, 4-64 OBFB* bit, 4-62 OKI 82C55A programmable peripheral interface. See 82C[...]
-
Page 178
Index © National Instruments Corporation Index- 11 Lab-NB User Manual selecting posttrigger mode, 4-47 selecting pretrigger mode, 4-49 terminating multiple A/D conversion DAQ operation using EXTTRIG, 4-46 pretrigger DAQ timing (figure), 2-19 pretrigger mode controlled acquisition mode, 4-49 to 4-51 freerun acquisition mode, 4-51 terminating multip[...]
-
Page 179
Index Lab-NB User Manual Index- 12 © National Instruments Corporation using EXTTRIG signal to initiate (posttrigger mode), 4-45 using EXTTRIG signal to terminate (pretrigger mode), 4-46 initializing Lab-NB board, 4-35 to 4-36 multiple A/D conversions on single input channel, 4-39 to 4-45 controlled acquisition mode, 4-40 to 4-42 freerun acquisitio[...]
-
Page 180
Index © National Instruments Corporation Index- 13 Lab-NB User Manual and timebase source for counter A0, 4-40, 4-43 A/D FIFO Register clearing, 4-39, 4-41, 4-44, 4-47, 4-50 description, 4-10 to 4-11 output binary modes, 4-38 reading results of A/D conversion, 4-37 servicing DAQ operation, 4-42, 4-45, 4-48, 4-50 storing results of A/D conversion, [...]
-
Page 181
Index Lab-NB User Manual Index- 14 © National Instruments Corporation EXTCONV* low, 2-18 pretrigger DAQ timing (figure), 2-19 waveform generation timing with EXTUPDATE* signal (figure), 2-20 single bit set/reset feature, 4-56 control words for Port C (table), 4-65 single-channel data acquisition, 3-5 slot address space, 4-1 24-bit mode (table), 4-[...]
-
Page 182
Index © National Instruments Corporation Index- 15 Lab-NB User Manual general-purpose timing signal connections, 2-21 to 2-24 event-counting application with external switch gating (figure), 2-22 frequency measurement application (figure), 2-23 requirements for GATE and CLK and OUT signals (figure), 2-24 timing I/O circuitry, 3-10 to 3-11 block di[...]