National Instruments PC-LPM-16/PnP инструкция обслуживания

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125

Идти на страницу of

Хорошее руководство по эксплуатации

Законодательство обязывает продавца передать покупателю, вместе с товаром, руководство по эксплуатации National Instruments PC-LPM-16/PnP. Отсутствие инструкции либо неправильная информация, переданная потребителю, составляют основание для рекламации в связи с несоответствием устройства с договором. В законодательстве допускается предоставлении руководства в другой, чем бумажная форме, что, в последнее время, часто используется, предоставляя графическую или электронную форму инструкции National Instruments PC-LPM-16/PnP или обучающее видео для пользователей. Условием остается четкая и понятная форма.

Что такое руководство?

Слово происходит от латинского "instructio", тоесть привести в порядок. Следовательно в инструкции National Instruments PC-LPM-16/PnP можно найти описание этапов поведения. Цель инструкции заключается в облегчении запуска, использования оборудования либо выполнения определенной деятельности. Инструкция является набором информации о предмете/услуге, подсказкой.

К сожалению немного пользователей находит время для чтения инструкций National Instruments PC-LPM-16/PnP, и хорошая инструкция позволяет не только узнать ряд дополнительных функций приобретенного устройства, но и позволяет избежать возникновения большинства поломок.

Из чего должно состоять идеальное руководство по эксплуатации?

Прежде всего в инструкции National Instruments PC-LPM-16/PnP должна находится:
- информация относительно технических данных устройства National Instruments PC-LPM-16/PnP
- название производителя и год производства оборудования National Instruments PC-LPM-16/PnP
- правила обслуживания, настройки и ухода за оборудованием National Instruments PC-LPM-16/PnP
- знаки безопасности и сертификаты, подтверждающие соответствие стандартам

Почему мы не читаем инструкций?

Как правило из-за нехватки времени и уверенности в отдельных функциональностях приобретенных устройств. К сожалению само подсоединение и запуск National Instruments PC-LPM-16/PnP это слишком мало. Инструкция заключает ряд отдельных указаний, касающихся функциональности, принципов безопасности, способов ухода (даже то, какие средства стоит использовать), возможных поломок National Instruments PC-LPM-16/PnP и способов решения проблем, возникающих во время использования. И наконец то, в инструкции можно найти адресные данные сайта National Instruments, в случае отсутствия эффективности предлагаемых решений. Сейчас очень большой популярностью пользуются инструкции в форме интересных анимаций или видео материалов, которое лучше, чем брошюра воспринимаются пользователем. Такой вид инструкции позволяет пользователю просмотреть весь фильм, не пропуская спецификацию и сложные технические описания National Instruments PC-LPM-16/PnP, как это часто бывает в случае бумажной версии.

Почему стоит читать инструкции?

Прежде всего здесь мы найдем ответы касательно конструкции, возможностей устройства National Instruments PC-LPM-16/PnP, использования отдельных аксессуаров и ряд информации, позволяющей вполне использовать все функции и упрощения.

После удачной покупки оборудования/устройства стоит посвятить несколько минут для ознакомления с каждой частью инструкции National Instruments PC-LPM-16/PnP. Сейчас их старательно готовят или переводят, чтобы они были не только понятными для пользователя, но и чтобы выполняли свою основную информационно-поддерживающую функцию.

Содержание руководства

  • Страница 1

    PC-LPM-16/PnP User Manual Multifunction I/O Board for the PC November 1996 Edition Part Number 320287C-01  Copyright 1990, 1996 National Instruments Corporation. All Rights Reserved. a.Book : a.Title Page 1 Wednesday, November 20, 1996 6:36 PM[...]

  • Страница 2

    support@natinst.com E-mail: info@natinst.com FTP Site: ftp.natinst.com Web Address: http://www.natinst.com BBS United States: (512) 794-5422 BBS United Kingdom: 01635 551422 BBS France: 01 48 65 15 59 (512) 418-1111 Tel: (512) 795-8248 Fax: (512) 794-5678 Australia 03 9879 5166, Austria 0662 45 79 90 0, Belgium 02 757 00 20, Canada (Ontario) 905 78[...]

  • Страница 3

    Important Information Warranty The PC-LPM-16 and PC-LPM-16PnP are 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. Th[...]

  • Страница 4

     National Instruments Corporation v PC-LPM-16/PnP User Manual Table of Contents About This Manual Organization of This Manua l ........................................................................................ . ix Conventions Used in This Manua l ................................................................................ . x National[...]

  • Страница 5

    T able of Contents PC-LPM-16/PnP User Manual vi  National Instruments Corporation Analog Input Circuitry .................................................................................... 3-5 Data Acquisition Timing Circuitry ................................................................. 3-6 Single-Channel Data Acquisition .................[...]

  • Страница 6

    T able of Contents  National Instruments Corporation vii PC-LPM-16/PnP User Manual Glossary Index Figures Figure 1-1. The Relationship between the Programming Environment, NI-DAQ, and Your Hardware ............................................................... 1-4 Figure 3-1. PC-LPM-16PnP Block Diagram ..........................................[...]

  • Страница 7

    T able of Contents PC-LPM-16/PnP User Manual viii  National Instruments Corporation Tables Table 4-1. Signal Connection Descriptions ............................................................ 4-3 Table C-1. Comparison of Characteristics .............................................................. C-1 Table C-2. PC Bus Interface Factory Setti[...]

  • Страница 8

     National Instruments Corporation ix PC-LPM-16/PnP User Manual About This Manual This manual describes the mechanical and electrical aspects of the PC-LPM-16PnP and contains information concerning its installation, operation, and programming. The PC-LPM-16PnP is a low-cost, low- power analog input, digital, and timing I/O board for the IBM PC/XT[...]

  • Страница 9

    About This Manual PC-LPM-16/PnP User Manual x  National Instruments Corporation • Appendix C , Using Your PC-LPM-16 (Non-PnP) Board , describes the differences between the PC-LPM-16PnP and the PC-LPM-16 non-PnP boards, the PC-LPM-16 board configuration, and installing the PC-LPM-16 into your computer. • Appendix D, Register-Level Programming[...]

  • Страница 10

    About This Manual  National Instruments Corporation xi PC-LPM-16/PnP User Manual Non-PnP Non-PnP (non-Plug and Play) means that the board requires you to manually configure the product’s base address and interrupt level with switches and jumpers. You must perform this configuration before installing the board into your computer. PC PC refers t[...]

  • Страница 11

    About This Manual PC-LPM-16/PnP User Manual xii  National Instruments Corporation installation and configuration instructions, specification information about your DAQ hardware, and application hints. • Software documentation—Examples of software documentation you may have are the LabVIEW, LabWindows  /CVI documentation sets, and the NI-D[...]

  • Страница 12

     National Instruments Corporation 1-1 PC-LPM-16/PnP User Manual Introduction Chapter 1 This chapter describes the PC-LPM-16/PnP, lists what you need to get started, software programming choices, and optional equipment, and explains how to unpack the PC-LPM-16/PnP. About the PC-LPM-16/PnP The PC-LPM-16/PnP is a low-cost, low-power analog input, d[...]

  • Страница 13

    Chapter 1 Introduction PC-LPM-16/PnP User Manual 1-2  National Instruments Corporation What You Need to Get Started To set up and use your PC-LPM-16/PnP board, you will need the following: ❏ PC-LPM-16/PnP board ❏ PC-LPM-16/PnP User Manual ❏ One of the following software packages and documentation: NI-DAQ for PC Compatibles LabVIEW for Wind[...]

  • Страница 14

    Chapter 1 Introduction  National Instruments Corporation 1-3 PC-LPM-16/PnP User Manual included with the NI-DAQ software kit. The LabWindows/CVI Data Acquisition Library is functionally equivalent to the NI-DAQ software. Using LabVIEW or LabWindows/CVI software will greatly reduce the development time for your data acquisition and control applic[...]

  • Страница 15

    Chapter 1 Introduction PC-LPM-16/PnP User Manual 1-4  National Instruments Corporation Figure 1-1. The Relationship between the Programming Environment, NI-DAQ, and Your Hardware Register-Level Programming The final option for programming any National Instruments DAQ hardware is to write register-level software. Writing register-level programmin[...]

  • Страница 16

    Chapter 1 Introduction  National Instruments Corporation 1-5 PC-LPM-16/PnP User Manual Optional Equipment National Instruments offers a variety of products to use with your PC-LPM-16/PnP board, including cables, connector blocks, and other accessories, as follows: • Cables and cable assemblies, shielded and ribbon • Connector blocks, shielde[...]

  • Страница 17

    Chapter 1 Introduction PC-LPM-16/PnP User Manual 1-6  National Instruments Corporation The mating connector for the PC-LPM-16/PnP is a 50-position, polarized, ribbon socket connector with strain relief. National Instruments uses a polarized (keyed) connector to prevent inadvertent upside-down connection to the PC-LPM-16/PnP. Recommended manufact[...]

  • Страница 18

     National Instruments Corporation 2-1 PC-LPM-16/PnP User Manual Installation and Configuration Chapter 2 This chapter describes the installation and configuration of the PC-LPM-16PnP. For information on installing and configuring the PC-LPM-16, a non-PnP board, refer to Appendix C, Using Your PC-LPM-16 (Non-PnP) Board . Hardware Installation You[...]

  • Страница 19

    Chapter 2 Installation and Configuration PC-LPM-16/PnP User Manual 2-2  National Instruments Corporation Software Installation If you are using NI-DAQ, refer to your NI-DAQ release notes to install your driver software. Find the installation section for your operating system and follow the instructions given there. If you are using LabVIEW, ref[...]

  • Страница 20

    Chapter 2 Installation and Configuration  National Instruments Corporation 2-3 PC-LPM-16/PnP User Manual Base I/O Address and Interrupt Selection You can configure your PC-LPM-16PnP to use base addresses in the range of 100 to FFF0 hex. The PC-LPM-16PnP occupies 16 bytes of address space and must be located on a 16-byte boundary. Therefore, val[...]

  • Страница 21

     National Instruments Corporation 3-1 PC-LPM-16/PnP User Manual T heory of Operation Chapter 3 This chapter includes an overview of the PC-LPM-16PnP board and explains the operation of each functional unit making up the board. This chapter also explains the basic operation of the PC-LPM-16PnP circuitry. Functional Overview The following are the [...]

  • Страница 22

    Chapter 3 Theory of Operation PC-LPM-16/PnP User Manual 3-2  National Instruments Corporation Figure 3-1. PC-LPM-16PnP Block Diagram PC I/O Channel PC I/O Channel Interface Plug and  Play 1 MHz Interrupt Interface 256-Word FIFO MSM82C53 Digital I/O 12-Bit Sampling ADC Input Mux 16-Channel Single-Ended 16 8 8 3 Buffe[...]

  • Страница 23

    Chapter 3 Theory of Operation  National Instruments Corporation 3-3 PC-LPM-16/PnP User Manual PC I/O Channel Interface Circuitry The PC I/O channel interface circuitry consists of an address bus, a data bus, interrupt lines, and several control and support signals. The components making up the PC-LPM-16PnP PC I/O channel interface circuitry are [...]

  • Страница 24

    Chapter 3 Theory of Operation PC-LPM-16/PnP User Manual 3-4  National Instruments Corporation request lines available: IRQ3, IRQ4, IRQ5, IRQ6, IRQ7, and IRQ9. The PC-LPM-16PnP generates interrupts in three different situations: • When an A/D conversion generates data that can be read from FIFO • When an active low-level signal is detected on[...]

  • Страница 25

    Chapter 3 Theory of Operation  National Instruments Corporation 3-5 PC-LPM-16/PnP User Manual Analog Input Circuitry The analog input circuitry consists of an input multiplexer, a jumper- selectable gain stage, and a 12-bit sampling ADC. The 12-bit output is sign-extended to 16 bits before it is stored in a 256-word deep FIFO memory. The input m[...]

  • Страница 26

    Chapter 3 Theory of Operation PC-LPM-16/PnP User Manual 3-6  National Instruments Corporation ADC goes through a self-calibration cycle under software control. To properly use this ADC auto-calibration feature, you need an accurate input stage that does not introduce significant offset and gain errors. The analog input stage on the PC-LPM-16PnP [...]

  • Страница 27

    Chapter 3 Theory of Operation  National Instruments Corporation 3-7 PC-LPM-16/PnP User Manual Single-Channel Data Acquisition During single-channel data acquisition, the channel-select bits in Command Register 1 select the analog input channel before data acquisition begins. This multiplexer setting remains constant during the entire data acquis[...]

  • Страница 28

    Chapter 3 Theory of Operation PC-LPM-16/PnP User Manual 3-8  National Instruments Corporation Digital I/O Circuitry The PC-LPM-16PnP has 16 digital I/O lines that are TTL-compatible. Pins DIN<0..7> of the I/O connector are digital input lines, and pins DOUT<0..7> are digital output lines. These lines are monitored or driven by the Di[...]

  • Страница 29

    Chapter 3 Theory of Operation  National Instruments Corporation 3-9 PC-LPM-16/PnP User Manual Timing I/O Circuitry The PC-LPM-16PnP uses an MSM82C53 Counter/Timer integrated circuit for data acquisition timing and for general-purpose timing I/O functions. Three counters on the circuit are available for general use, but the board can use only one[...]

  • Страница 30

    Chapter 3 Theory of Operation PC-LPM-16/PnP User Manual 3-10  National Instruments Corporation Figure 3-6. Counter Block Diagram Each counter has a clock input pin, a gate input pin, and an output pin labeled CLK, GATE, and OUT, respectively. The MSM82C53 counters are numbered zero through two, and their GATE, CLK, and OUT pins are labeled GATE [...]

  • Страница 31

     National Instruments Corporation 4-1 PC-LPM-16/PnP User Manual Signal Connections Chapter 4 This chapter describes how to make input and output signal connections to your PC-LPM-16PnP board via the I/O connector. I/O Connector Figure 4-1 shows the pin assignments for the PC-LPM-16PnP I/ O connector. This connector is located on the back panel o[...]

  • Страница 32

    Chapter 4 Signal Connections PC-LPM-16/PnP User Manual 4-2  National Instruments Corporation Figure 4-1. PC-LPM-16PnP I/O Connector Pin Assignments +5 V GA TE2 CLK1 OUT1 OUT0 EXTINT* DOUT7 DOUT5 DOUT3 DOUT1 DIN7 DIN5 DIN3 DIN1 +12 V DGND A CH7 A CH6 A CH5 A CH4 A CH3 A CH2 A CH1 A CH0 AIGND DGND OUT2 GA TE1 EXTCONV* OUT1* DOUT6 DOUT4 CLK2 GA TE0[...]

  • Страница 33

    Chapter 4 Signal Connections  National Instruments Corporation 4-3 PC-LPM-16/PnP User Manual Signal Connection Descriptions Table 4-1. Signal Connection Descriptions Pin Signal Reference Description 1–2 AIGND N/A Analog Input Ground—The pins are connected to the analog input ground signal. ACH<0..15> signals should be referenced to AIG[...]

  • Страница 34

    Chapter 4 Signal Connections PC-LPM-16/PnP User Manual 4-4  National Instruments Corporation 40 EXTCONV* DGND External Convert Signal—This input signal externally initiates an A/D conversion. 41 OUT0 DGND Output of Counter 0—This signal outputs the programmed waveform of counter 0. 42 GATE0 DGND Counter 0 Gate Input—This signal controls th[...]

  • Страница 35

    Chapter 4 Signal Connections  National Instruments Corporation 4-5 PC-LPM-16/PnP User Manual The connector pins can be grouped into categories of analog input signal pins, digital I/O signal pins, and timing I/O signal pins. Signal connection guidelines for each of these groups follow. Analog Input Signal Connections Pins 3 through 18 are analog[...]

  • Страница 36

    Chapter 4 Signal Connections PC-LPM-16/PnP User Manual 4-6  National Instruments Corporation Figure 4-2. Analog Input Signal Connections Digital I/O Signal Connections See Table 4-1 for the digital I/O pin descriptions. The following specifications and ratings apply to the digital I/O lines: • Absolute maximum +7.0 V with respect to DGND volta[...]

  • Страница 37

    Chapter 4 Signal Connections  National Instruments Corporation 4-7 PC-LPM-16/PnP User Manual Figure 4-3. Analog Input Signal Connections Figure 4-3 shows the connections of the digital input port and digital output port. Digital input applications include receiving TTL signals and sensing external device states such as the switch in Figure 4-3. [...]

  • Страница 38

    Chapter 4 Signal Connections PC-LPM-16/PnP User Manual 4-8  National Instruments Corporation fuse in series. Both fuses are self-resetting; simply remove the circuit causing the heavy current load and the fuse will reset itself. Power Rating The following table shows the maximum current for each power line at the I/O connector. Timing Connection[...]

  • Страница 39

    Chapter 4 Signal Connections  National Instruments Corporation 4-9 PC-LPM-16/PnP User Manual Figure 4-4. EXTCONV* Signal Timing General-Purpose Timing Signal Connections and General-Purpose Counter Timing Signals The general-purpose timing signals include the GATE, CLK, and OUT signals for the three MSM82C53 counters, except CLK of counter 0 is [...]

  • Страница 40

    Chapter 4 Signal Connections PC-LPM-16/PnP User Manual 4-10  National Instruments Corporation Figure 4-5. Event-Counting Application with External Switch Gating Perform pulse-width measurement by level gating to trigger the counter. Apply the pulse to be measured to the counter GATE input. Load the counter with the known count and program it to [...]

  • Страница 41

    Chapter 4 Signal Connections  National Instruments Corporation 4-11 PC-LPM-16/PnP User Manual duration. In this case, program the counter to count falling edges at the CLK input while the gate is applied. The frequency of the input signal then equals the count value divided by the gate period. Figure 4-6 shows the connections for a frequency mea[...]

  • Страница 42

    Chapter 4 Signal Connections PC-LPM-16/PnP User Manual 4-12  National Instruments Corporation MSM82C53 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.0 µ A max MSM82C53 digital output specifications (referenced to DGND): •V OH[...]

  • Страница 43

     National Instruments Corporation A-1 PC-LPM-16/PnP User Manual Specifications Appendix A This appendix lists the PC-LPM-16PnP specifications. These specifications are typical at 25 ° C unless otherwise specified. The operating temperature range is 0 ° to 70 ° C. PC-LPM-16PnP Board Analog Input Input Characteristics Number of channel s ......[...]

  • Страница 44

    Appendix A Specifications PC-LPM-16/PnP User Manual A-2  National Instruments Corporation Gain error (relative to calibration reference) After calibration 0 to 5 V and ± 5 V range ............... ± 1.0 LSB typ, ± 2.0 LSB max All other ranges ............................ ± 2.0 of reading typ, ± 4.0 max Note: LSB refers to the least signific[...]

  • Страница 45

    Appendix A Specifications  National Instruments Corporation A-3 PC-LPM-16/PnP User Manual Timing I/O Number of channels ........................... 3 counter/timers (1 dedicated to analog input) Resolution .......................................... 16 bits Compatibility ..................................... TTL, gate and source pulled high with[...]

  • Страница 46

    Appendix A Specifications PC-LPM-16/PnP User Manual A-4  National Instruments Corporation Bus Interface Type.................................................... Slave Power Requirement +5 VDC ( ± 10%).................................. 50 mA typ +12 VDC ( ± 5%).................................. 15 mA typ -12 VDC ( ± 5%) ......................[...]

  • Страница 47

    Appendix A Specifications  National Instruments Corporation A-5 PC-LPM-16/PnP User Manual sum of quantization uncertainty and A/D conversion error does not exceed a given amount. Integral nonlinearity in a ADC is an often ill-defined specification that is supposed to indicate a converter’s overall A/D transfer linearity. The manufacturers of [...]

  • Страница 48

    Appendix A Specifications PC-LPM-16/PnP User Manual A-6  National Instruments Corporation To illustrate these definitions, Figure A-1 shows a portion of the analog-input-to-digital-output transfer curve for an ideal, ADC overlaid on the transfer curve of a hypothetical, typical, ADC. As shown in Figure A-1, the relative accuracy is the deviatio[...]

  • Страница 49

    © National Instruments Corporation B-1 PC-LPM-16/PnP User Manual Appendix B MSM82C53 Data Sheet This appendix contains a manufacturer data sheet for the M SM82C53* CMOS programmable int erval timer (OKI Semiconductor) . This timer is used on the PC-LPM-16PnP board. *Copyright  ΟΚΙ Semiconductor 1995. Reprinted with permission of copyright ow[...]

  • Страница 50

    Appendix B MSM82C53 Data Sheet PC-LPM-16/PnP User Manual B-2 © National Instruments Corporation[...]

  • Страница 51

    Appendix B MSM82C53 Data Sheet © National Instruments Corporation B-3 PC-LPM-16/PnP User Manual[...]

  • Страница 52

    Appendix B MSM82C53 Data Sheet PC-LPM-16/PnP User Manual B-4 © National Instruments Corporation[...]

  • Страница 53

    Appendix B MSM82C53 Data Sheet © National Instruments Corporation B-5 PC-LPM-16/PnP User Manual[...]

  • Страница 54

    Appendix B MSM82C53 Data Sheet PC-LPM-16/PnP User Manual B-6 © National Instruments Corporation[...]

  • Страница 55

    Appendix B MSM82C53 Data Sheet © National Instruments Corporation B-7 PC-LPM-16/PnP User Manual[...]

  • Страница 56

    Appendix B MSM82C53 Data Sheet PC-LPM-16/PnP User Manual B-8 © National Instruments Corporation[...]

  • Страница 57

    Appendix B MSM82C53 Data Sheet © National Instruments Corporation B-9 PC-LPM-16/PnP User Manual[...]

  • Страница 58

    Appendix B MSM82C53 Data Sheet PC-LPM-16/PnP User Manual B-10 © National Instruments Corporation[...]

  • Страница 59

    Appendix B MSM82C53 Data Sheet © National Instruments Corporation B-11 PC-LPM-16/PnP User Manual[...]

  • Страница 60

    Appendix B MSM82C53 Data Sheet PC-LPM-16/PnP User Manual B-12 © National Instruments Corporation[...]

  • Страница 61

     National Instruments Corporation C-1 PC-LPM-16/PnP User Manual Using Your PC-LPM-16 (Non-PnP) Board Appendix C This appendix describes the differences between the PC-LPM-16PnP and the PC-LPM-16 non-PnP boards, the PC-LPM-16 board configuration, and installing the PC-LPM-16 into your computer. Differences between the PC-LPM-16PnP and the PC-LPM-[...]

  • Страница 62

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board PC-LPM-16/PnP User Manual C-2  National Instruments Corporation Data FIFO Size 16 words 512 words 256 words Dummy reads to A/D and FIFO high-byte and low-byte registers after clearing data FIFO Required Not required, but allowed Not required, but allowed ADC FIFO Data Reading Order Low byte before[...]

  • Страница 63

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board  National Instruments Corporation C-3 PC-LPM-16/PnP User Manual To determine which PC-LPM-16 board you have, refer to the Assembly Number row in Table C-1 and compare it to the assembly number displayed on your circuit board (see Figure C-1). Interrupt Enable/ Disable Control Through Command Regis[...]

  • Страница 64

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board PC-LPM-16/PnP User Manual C-4  National Instruments Corporation Configuration and Installation of the PC-LPM-16 (non-PnP) Board Configuration The PC-LPM-16 contains three jumpers and one DIP switch to configure the PC bus interface and analog input settings. Use the DIP switch to set the base I/O [...]

  • Страница 65

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board  National Instruments Corporation C-5 PC-LPM-16/PnP User Manual Figure C-1. PC-LPM-16 Parts Locator Diagram 1W 3 2 Switch U26 3W 2 4W 1 5 Serial Number 6 Assembly Number 7 Product Name 2 3 4 6 7 5 1 [...]

  • Страница 66

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board PC-LPM-16/PnP User Manual C-6  National Instruments Corporation Base I/O Address Selection The base I/O address for the PC-LPM-16 is determined by the switches at position U26 (see Figure C-2). The switches are set at the factory for the base I/O address hex 260. This factory setting is used as th[...]

  • Страница 67

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board  National Instruments Corporation C-7 PC-LPM-16/PnP User Manual Each switch in U26 corresponds to one of the address lines A9 through A5. Slide the switch to the side labeled A9 to A5 to select a binary value of zero for the corresponding address bit. Slide the switch to the side of the switch lab[...]

  • Страница 68

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board PC-LPM-16/PnP User Manual C-8  National Instruments Corporation possible switch settings, the corresponding base I/O address, and the base I/O address space used for that setting. Table C-3. Switch Settings with Corresponding Base I/O Address and Base I/O Address Space Switch Setting Base I/O Addr[...]

  • Страница 69

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board  National Instruments Corporation C-9 PC-LPM-16/PnP User Manual Note: Base I/O address values hex 000 through 0FF are reserved for system use. Base I/O address values hex 100 through 3FF are available on the I/O channel. Interrupt Selection The PC-LPM-16 connects to any one of the six interrupt li[...]

  • Страница 70

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board PC-LPM-16/PnP User Manual C-10  National Instruments Corporation Figure C-3. Interrupt Jumper Setting IRQ5 (Factory Setting) If you do not want to use interrupts, set the jumper on W3 as shown in Figure C-4. This setting disables the PC-LPM-16 from asserting an interrupt line on the computer I/O c[...]

  • Страница 71

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board  National Instruments Corporation C-11 PC-LPM-16/PnP User Manual Figure C-5. Bipolar Input ( ± 5 V) Jumper Configuration (Factory Setting) Bipolar Input Selection 2 ( ± 2.5 V) Select the bipolar ( ± 2.5 V) input configuration by setting jumpers W1 and W2 as shown in Figure C-6. Figure C-6. Bipo[...]

  • Страница 72

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board PC-LPM-16/PnP User Manual C-12  National Instruments Corporation Unipolar Input Selection 2 (0 to 5 V) Select the unipolar (0 to 5 V) input configuration by using the same setting as the ± 5 V range setting shown in Figure C-5. You can use this setting because the ADC is 12-bit. Therefore, 12-bit[...]

  • Страница 73

     National Instruments Corporation D-1 PC-LPM-16/PnP User Manual Register-Level Programming Appendix D This appendix describes in detail information related to register-level programming the PC-LPM-16/PnP. Note: If you plan to use a programming software package such as NI-DAQ, LabVIEW, or LabWindows/CVI with your PC-LPM-16/PnP, you need not read [...]

  • Страница 74

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-2  National Instruments Corporation Register Size The PC-LPM-16/PnP registers are 8-bit registers. To transfer 16-bit data, you need two consecutive I/O read or write operations. For example, to read the 16-bit A/D conversion result, read the low byte of FIFO first, then the high[...]

  • Страница 75

    Appendix D Register -Level Programming  National Instruments Corporation D-3 PC-LPM-16/PnP User Manual Register Description Format The remainder of this appendix discusses each of the PC-LPM-16/PnP registers in the order shown in Table D-1. Each register group is introduced, followed by an individual register description. The individual register[...]

  • Страница 76

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-4  National Instruments Corporation Command Register 1 Command Register 1 indicates the input channel to be read and the interrupt enable bits. Address: Base address + 00 (hex) Type: Write-only Word Size: 8-bit Bit Map: Bit Name Description 7 SCANEN* Scan Enable Bit—This bit en[...]

  • Страница 77

    Appendix D Register -Level Programming  National Instruments Corporation D-5 PC-LPM-16/PnP User Manual Command Register 1 (Continued) 6 CNTINTEN Counter Interrupt Enable Bit—With this bit, the counter 2 output can cause interrupts. The power-on value is 0. If this bit is set, an interrupt occurs when counter 2 output makes a low-to-high transi[...]

  • Страница 78

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-6  National Instruments Corporation Command Register 1 (Continued) If SCANEN* is cleared, analog channels MA<3..0> through channel 0 are sampled. Sampling order, whether from channel 0 to MA<3..0> or from MA<3..0> to channel 0, is determined by the SCANORDER bit[...]

  • Страница 79

    Appendix D Register -Level Programming  National Instruments Corporation D-7 PC-LPM-16/PnP User Manual Command Register 2 Command Register 2 contains only one bit that enables the auto-calibration operation of the ADC. Address: Base address + 07 (hex) Type: Read-and-write Word Size: 8-bit Bit Map: Bit Name Description 7–3 0 Reserved bits—The[...]

  • Страница 80

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-8  National Instruments Corporation Command Register 2 (Continued) Bit Name Description 0 CALEN Calibration Enable Bit—If this bit is set, the auto- calibration of the 12 bit ADC is enabled. The power- on value is 0. To start the auto-calibration, first write one to this bit, t[...]

  • Страница 81

    Appendix D Register -Level Programming  National Instruments Corporation D-9 PC-LPM-16/PnP User Manual Command Register 3 Command Register 3 contains other range setting configuration bits. Address: 05 (hex) Type: Write-only Word Size: 8-bit Bit Map: Bit Name Description 7–2 0 Reserved Bits—These bits must be set to zero. 1–0 ARNG<1..0&[...]

  • Страница 82

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-10  National Instruments Corporation Status Register 1 Status Register 1 indicates the status of the current A/D conversion. The bits in this register determine if a conversion is being performed, if data is available, if any errors have been found, and the interrupt status. Addr[...]

  • Страница 83

    Appendix D Register -Level Programming  National Instruments Corporation D-11 PC-LPM-16/PnP User Manual Status Register 1 (Continued) Bit Name Description 3 EXTINT* External Interrupt Status Bit—This bit reflects the status of the EXTINT* signal on the I/O connector. If the EXTINTEN bit in Command Register 1 is set and this bit is cleared, the[...]

  • Страница 84

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-12  National Instruments Corporation 0 DAVAIL Data Available Bit—This bit indicates whether conversion output is available. If this bit is set, the ADC is finished with the last conversion and the result can be read from the FIFO. This bit is cleared if the FIFO is empty. Writi[...]

  • Страница 85

    Appendix D Register -Level Programming  National Instruments Corporation D-13 PC-LPM-16/PnP User Manual Status Register 2 Status Register 2 contains supplementary error information. This register is only on the PC-LPM-16PnP. Address: 01(hex) Type: Read-only Word Size: 8-bit Bit Map: Bit Name Description 7–2 X Don’t care bits. 1 OVERFLOW Over[...]

  • Страница 86

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-14  National Instruments Corporation Analog Input Register Group The three registers that make up the Analog Input Register Group control the analog input circuitry and can be used to read the FIFO. Reading the FIFO Register returns stored A/D conversion results. Writing to the A[...]

  • Страница 87

    Appendix D Register -Level Programming  National Instruments Corporation D-15 PC-LPM-16/PnP User Manual A/D FIFO Low-Byte Register and A/D FIFO High-Byte Register The 13-bit A/D conversion results are sign-extended to 16-bit data in two’s complement format and are stored in a 16-word deep A/D FIFO buffer. Two 8-bit registers, the A/D FIFO Low-[...]

  • Страница 88

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-16  National Instruments Corporation A/D FIFO Low-Byte Register and A/D FIFO High-Byte Register (Continued) Bit Name Description High Byte 7–0 D<15..8> A/D Conversion Data Bits 15 through 8—These bits contain the high byte of the 16-bit, sign-extended two’s complement[...]

  • Страница 89

    Appendix D Register -Level Programming  National Instruments Corporation D-17 PC-LPM-16/PnP User Manual A/D Clear Register Write to this register to reset the ADC. This operation clears the data FIFO. All error bits in the Status Register are cleared as well. For the PC-LPM-16 (non PnP only), writing to this register clears the data FIFO and loa[...]

  • Страница 90

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-18  National Instruments Corporation Counter/Timer (MSM82C53) Register Group The five registers making up the Counter/Timer Register Group access the onboard MSM82C53 counter/timer. The MSM82C53 has three counters: counter 0, counter 1, and counter 2. Counter 0 controls onboard d[...]

  • Страница 91

    Appendix D Register -Level Programming  National Instruments Corporation D-19 PC-LPM-16/PnP User Manual Counter 0 Data Register Use the Counter 0 Data Register to load and read back contents of MSM82C53 counter 0. Address: Base address + 08 (hex) Type: Read-and-write Word Size: 8-bit Bit Map: Bit Name Description 7–0 D<7..0> A/D Conversi[...]

  • Страница 92

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-20  National Instruments Corporation Counter 1 Data Register Use the Counter 1 Data Register to load and read back contents of MSM82C53 counter 1. Address: Base address + 09 (hex) Type: Read-and-write Word Size: 8-bit Bit Map: Bit Name Description 7–0 D<7..0> A/D Conversi[...]

  • Страница 93

    Appendix D Register -Level Programming  National Instruments Corporation D-21 PC-LPM-16/PnP User Manual Counter Mode Register The Counter Mode Register determines the operation mode for each of the three counters on the MSM82C53 chip. The Counter Mode Register selects the counter involved, the counter’s read/load mode, its operation mode (that[...]

  • Страница 94

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-22  National Instruments Corporation Counter Mode Register (Continued) 5–4 RL<1..0> Read/Write Select Bits—These bits select data written to or read from a counter, or these bits send a Counter Latch command. The Counter Latch command latches the current count of the re[...]

  • Страница 95

    Appendix D Register -Level Programming  National Instruments Corporation D-23 PC-LPM-16/PnP User Manual Counter Mode Register (Continued) 3–1 M<2..0> Counter Mode Select Bits—These bits select the counting mode of the selected counter. The following table lists six available modes and the corresponding bit settings. Refer to Appendix B[...]

  • Страница 96

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-24  National Instruments Corporation Timer Interrupt Clear Register Write to the Timer Interrupt Clear Register to clear the interrupt request asserted when a low pulse is detected on the counter 2 output. Address: Base address + 06 (hex) Type: Write-only Word Size: 8-bit Bit Map[...]

  • Страница 97

    Appendix D Register -Level Programming  National Instruments Corporation D-25 PC-LPM-16/PnP User Manual Digital Input Register Read the Digital Input Register to return the logic state of the I/O connector’s eight digital input lines. Address: Base address + 05 (hex) Type: Read-only Word Size: 8-bit Bit Map: Bit Name Description 7–0 D<7..[...]

  • Страница 98

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-26  National Instruments Corporation Programming Considerations Following are programming instructions for operating the circuitry on the PC-LPM-16/PnP. To program the PC-LPM-16/PnP, you must write to and read from the various registers on the board. The following programming ins[...]

  • Страница 99

    Appendix D Register -Level Programming  National Instruments Corporation D-27 PC-LPM-16/PnP User Manual This sequence leaves the PC-LPM-16/PnP circuitry in the following state: • Counter 0 output is high. • Multichannel scan is disabled. • All interrupts are disabled. • Analog input circuitry is initialized to channel 0. • The A/D FIFO[...]

  • Страница 100

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-28  National Instruments Corporation Analog Input Circuitry Programming Sequence 1. Initiate an A/D conversion. A low to high transition on OUT0 or on EXTCONV* initiates A/D conversion. Clear the CALEN bit in Command Register 2 to enable counter 0 and the EXTCONV*. When an A/D co[...]

  • Страница 101

    Appendix D Register -Level Programming  National Instruments Corporation D-29 PC-LPM-16/PnP User Manual A/D FIFO Output Binary Modes The A/D conversion result stored in the A/D FIFO is a 16-bit two’s complement value. It is made of 13-bit magnitude and 3-bit sign extension. If the analog input range is unipolar 0 to +10 V or unipolar 0 to +5 V[...]

  • Страница 102

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-30  National Instruments Corporation Clearing the Analog Input Circuitry Write to the A/D Clear Register to clear the analog input circuitry, which leaves the analog input circuitry in the following state: • Analog input error flag OVERFLOW is cleared. • Pending interrupt req[...]

  • Страница 103

    Appendix D Register -Level Programming  National Instruments Corporation D-31 PC-LPM-16/PnP User Manual after getting the required number of conversions. The number of conversions in a single data acquisition operation in this case is unlimited. Counter 0 is clocked by a 1 MHz clock upon start up. Each of these programming steps is explained as [...]

  • Страница 104

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-32  National Instruments Corporation during the programming. Write 0 to the A/D Clear Register to empty the FIFO (8-bit write), then read the low and high bytes from the A/D FIFO (PC-LPM-16 only). 4. Start and service the data acquisition operation. To start the data acquisition [...]

  • Страница 105

    Appendix D Register -Level Programming  National Instruments Corporation D-33 PC-LPM-16/PnP User Manual Programming Multiple A/D Conversions Using External Timing You can use the external timing signal EXTCONV* for multiple A/D conversions. A low-to-high transition of EXTCONV* initiates an A/D conversion. Software can also initiate a data acquis[...]

  • Страница 106

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-34  National Instruments Corporation service the data acquisition, perform the following sequence until you have read the desired number of conversion results: 1. Read the Status Register 2. If the DAVAIL bit is set, read the A/D FIFO Low-Byte Register first, then read the A/D FI[...]

  • Страница 107

    Appendix D Register -Level Programming  National Instruments Corporation D-35 PC-LPM-16/PnP User Manual UP/DOWN bit in Command Register 2 is cleared—the software uses the following scan sequence: channel 3, channel 2, channel 1, channel 0, channel 3, channel 2, channel 1, channel 0, channel 3, and so on. Perform the following steps to select t[...]

  • Страница 108

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-36  National Instruments Corporation Programming the MSM82C53 Counter/Timer Counters 0, 1, and 2 of the MSM82C53 counter/timer (except the CLK0 signal of counter 1) are available for general-purpose timing applications. Counter 0 has a fixed 1 MHz clock input and can be used as t[...]

  • Страница 109

     National Instruments Corporation E-1 PC-LPM-16/PnP User Manual Customer Communication Appendix E For your convenience, this appendix contains forms to help you gather the information necessary to help us solve your technical problems and a form you can use to comment on the product documentation. When you contact us, we need the information on [...]

  • Страница 110

    Fax-on-Demand is a 24-hour information retrieval system containing a library of documents on a wide range of technical information. You can access Fax-on-Demand from a touch-tone telephone at (512) 418-1111. You can submit technical support questions to the applications engineering team through e-mail at the Internet address listed below. Remember [...]

  • Страница 111

    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 helps our applications engineers answer your questions m[...]

  • Страница 112

    PC-LPM-16/PnP 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 configuration. Completing this form accurately [...]

  • Страница 113

    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-LPM-16/PnP User Manual Edition Date: November 1996 Part Number: 320287C-01 Please comment on the completeness, clarity, and organization of the ma[...]

  • Страница 114

     National Instruments Corporation G-1 PC-LPM-16/PnP User Manual Glossary Symbols ˚ degrees – negative of, or minus Ω ohms / per % percent ± plus or minus + positive of, or plus square root of +5 V +5 VDC source signal 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- gi[...]

  • Страница 115

    Glossary PC-LPM-16/PnP User Manual G-2  National Instruments Corporation A A amperes AC alternating current ACH analog input channel signal A/D analog-to-digital ADC A/D converter AI analog input AIGATE analog input gate signal AIGND analog input ground signal AISENSE analog input sense signal ANSI American National Standards Institute AOGND ana[...]

  • Страница 116

    Glossary  National Instruments Corporation G-3 PC-LPM-16/PnP User Manual CTR counter D DAQ data acquisition DC direct current DMA direct memory access E EISA Extended Industry Standard Architecture ESP Engineering Software Package F F farads FIFO first-in-first-out ft feet H h hour hex hexadecimal Hz hertz I I/O input/output I OH current, output[...]

  • Страница 117

    Glossary PC-LPM-16/PnP User Manual G-4  National Instruments Corporation ISA Industry Standard Architecture L LED light emitting diode LSB least significant bit M m meter MB megabytes of memory MSB most significant bit P PC personal computer R RAM random access memory rms root mean square S s seconds S samples SCANCLK scan clock signal SCXI Sign[...]

  • Страница 118

    Glossary  National Instruments Corporation G-5 PC-LPM-16/PnP User Manual T TTL transistor-transistor logic V V volts VDC volts direct current VI virtual instrument V IH volts, input high V IL volts, input low V in volts in V OH volts, output high V OL volts, output low a.Book : n.Glossary Page 5 Wednesday, November 20, 1996 6:36 PM[...]

  • Страница 119

    © National Instruments Corporation I -1 PC-LPM-16/PnP User Manual Index Numbers +5 V signal (table), 4-4 +12 V signal (table), 4-3 -12 V signal (table), 4-3 A ACH<0..15> signal description (table), 4-3 input ranges and maximum ratings, 4-5 A/D calibration, programming, D-27 A/D Clear Register, D-17 A/D FIFO clearing, D-30 output binary modes[...]

  • Страница 120

    Index PC-LPM-16/PnP User Manual I -2 © National Instruments Corporation B base I/O address selection PC-LPM-16, C-5 to C-9 example switch settings (figure), C-7 PC bus interface factory settings (table), C-6 switch settings with corresponding base I/O address (table), C-8 to C-9 PC-LPM-16PnP, 2-3 BCD bits, D-23 bipolar input selection 1 ( ± 5 V) [...]

  • Страница 121

    Index © National Instruments Corporation I -3 PC-LPM-16/PnP User Manual switch settings with corresponding base I/O address (table), C-8 to C-9 block diagram, revised, C-4 interrupt selection, C-9 to C-10 disabling interrupts (figure), C-10 IRQ5 factory setting (figure), C-10 overview, C-4 to C-5 parts locator diagram, revised, C-5 PC-LPM-16PnP. S[...]

  • Страница 122

    Index PC-LPM-16/PnP User Manual I -4 © National Instruments Corporation digital I/O circuitry, 3-8 programming digital I/O circuitry, D-35 DISABDAQ bit, D-7, D-33 documentation conventions used in manual, x-xi National Instruments documentation, xi-xii organization of manual, ix-x related documentation, xii DOUT<0..7> signal description (tab[...]

  • Страница 123

    Index © National Instruments Corporation I -5 PC-LPM-16/PnP User Manual interrupt selection PC-LPM-16, C-9 to C-10 disabling interrupts (figure), C-10 IRQ5 factory setting (figure), C-10 PC-LPM-16PnP, 2-3 I/O connector exceeding maximum ratings (warning), 4-1 pin assignments (figure), 4-2 J jumper settings. See configuration. L LabVIEW and LabWind[...]

  • Страница 124

    Index PC-LPM-16/PnP User Manual I -6 © National Instruments Corporation Plug and Play compatibility, 2-2 to 2-3 power connections, 4-7 power rating (table), 4-8 power requirement specifications, A-4 programming. See register-level programming. pulse and square wave generation, 4-9 pulse-width measurement, 4-10 R register-level programming, D-26 to[...]

  • Страница 125

    Index © National Instruments Corporation I -7 PC-LPM-16/PnP User Manual power rating (table), 4-8 signal descriptions (table), 4-3 to 4-4 timing connections, 4-8 to 4-12 data acquisition timing connections, 4-8 to 4-9 general purpose timing signal connections, 4-9 to 4-12 single-channel data acquisition, 3-7 software installation, 2-2 software pro[...]