Page 3 - Important Information; Warranty; Copyright
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 pro...
Page 4 - Table; About This Manual
National Instruments Corporation v PC-LPM-16/PnP User Manual Table of Contents About This Manual Organization of This Manual .........................................................................................ixConventions Used in This Manual .....................................................
Page 6 - Glossary
Table 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 Diag...
Page 7 - Tables
Table 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 ................................................................
Page 8 - About; Organization of This Manual
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, ...
Page 9 - Conventions Used in This Manual; bold
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 comput...
Page 10 - National Instruments Documentation
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 installin...
Page 11 - Related Documentation
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, LabWindo...
Page 12 - Chapter
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...
Page 13 - What You Need to Get Started; Software Programming Choices; LabVIEW and LabWindows/CVI Application Software
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: ...
Page 14 - NI-DAQ Driver Software
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 t...
Page 16 - Optional Equipment; Custom Cables
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, shi...
Page 17 - Unpacking
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 conne...
Page 18 - Hardware Installation
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-LP...
Page 19 - Software Installation; Board Configuration; Plug and Play
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 instruct...
Page 20 - Base I/O Address and Interrupt Selection
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 b...
Page 21 - Theory of Operation; Functional Overview
National Instruments Corporation 3-1 PC-LPM-16/PnP User Manual Theory 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 circui...
Page 23 - PC I/O Channel Interface Circuitry
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-L...
Page 24 - Analog Input and Data Acquisition Circuitry
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 • Wh...
Page 25 - Analog Input Circuitry
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 sto...
Page 26 - Data Acquisition Timing Circuitry
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 err...
Page 27 - Single-Channel Data Acquisition
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 settin...
Page 28 - Digital I/O Circuitry
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 line...
Page 31 - Signal Connections
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...
Page 33 - Pin
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...
Page 35 - Analog Input Signal Connections; Connections for Signal Sources
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...
Page 36 - Digital I/O Signal Connections
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: • Abso...
Page 37 - Power Connections
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 ...
Page 38 - Power Rating; Data Acquisition Timing Connections; Power Line
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 po...
Page 43 - Specifications; Appendix; Analog Input; Transfer Characteristics
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 Inp...
Page 44 - Amplifier Characteristics
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 ...
Page 46 - Bus Interface
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 m...
Page 61 - Differences between the PC-LPM-16PnP and; Functional Changes
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. Diff...
Page 62 - Performance Specification Changes
Appendix C Using Your 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 allo...
Page 64 - Configuration and Installation of the
Appendix C Using Your 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 se...
Page 66 - Base I/O Address Selection; Default Settings
Appendix C Using Your 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 addr...
Page 68 - Switch Setting
Appendix C Using Your 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...
Page 69 - Interrupt Selection
Appendix C Using Your 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...
Page 70 - Analog Input Jumper Settings; Bipolar Input Selection 1 (
Appendix C Using Your 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 as...
Page 71 - Bipolar Input Selection 2 (
Appendix C Using Your 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...
Page 72 - Installation
Appendix C Using Your 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 settin...
Page 73 - Base Address; Register Map; Register Name
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...
Page 74 - Register Size
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,...
Page 75 - Register Description Format
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 individua...
Page 76 - Command Register 1; Bit
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 Desc...
Page 77 - Selected Channel
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 whe...
Page 79 - Command Register 2
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: B...
Page 81 - Command Register 3; Input Voltage Range
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 bi...
Page 82 - Status Register 1
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 ...
Page 85 - Status Register 2
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 Descrip...
Page 86 - Analog Input Register Group
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 ...
Page 87 - High Byte
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 b...
Page 91 - Counter 0 Data Register
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 Na...
Page 92 - Counter 1 Data Register
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 Na...
Page 93 - Counter Mode Register; Operation
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 count...
Page 95 - Mode
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 corr...
Page 96 - Timer Interrupt Clear Register
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 ...
Page 97 - Digital Input Register
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...
Page 98 - Programming Considerations; Register Programming Considerations
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 regist...
Page 99 - Programming the A/D Calibration; Programming the Analog Input Circuitry
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 ini...
Page 100 - Analog Input Circuitry Programming Sequence
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 en...
Page 101 - Input Voltage
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...
Page 102 - Clearing the Analog Input Circuitry
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 O...
Page 105 - Programming Multiple A/D Conversions Using External Timing
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 conve...
Page 106 - Programming Multiple A/D Conversions with Channel Scanning
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 FIF...
Page 107 - A/D Interrupt Programming
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 s...
Page 108 - Programming the MSM82C53 Counter/Timer
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...
Page 109 - Electronic Services; Bulletin Board Support
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. ...
Page 110 - Telephone and Fax Support; Telephone
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-ma...
Page 111 - Technical Support Form
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 ...
Page 113 - Documentation Comment Form
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...
Page 114 - Symbols; Prefix Meaning Value
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-...
Page 119 - Index; Numbers
© 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-3input ranges and maximum ratings, 4-5A/D calibration, programming, D-27 A/D Clear Register, D-1...