National Instruments Corporation DAQCard-500 User Manual

Multifunction i/o card for type ii pcmcia bus
Table of Contents

Advertisement

Quick Links

DAQCard
-500
User Manual
Multifunction I/O Card for Type II PCMCIA Bus
January 1996 Edition
Part Number 371918A-01
© Copyright 1995, 1996 National Instruments Corporation.
All Rights Reserved.

Advertisement

Table of Contents
loading

Summary of Contents for National Instruments Corporation DAQCard-500

  • Page 1 ™ DAQCard -500 User Manual Multifunction I/O Card for Type II PCMCIA Bus January 1996 Edition Part Number 371918A-01 © Copyright 1995, 1996 National Instruments Corporation. All Rights Reserved.
  • 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, France 1 48 14 24 24, Germany 089 741 31 30, Hong Kong 2645 3186, Italy 02 48301892, Japan 03 5472 2970, Korea 02 596 7456, Mexico 95 800 010 0793, Netherlands 0348 433466, Norway 32 84 84 00, Singapore 2265886, Spain 91 640 0085,...
  • Page 3 Limited Warranty The DAQCard-500 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 labor.
  • 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 potential for accidental injury caused by product failure, or by errors on the part of the user or application designer.
  • Page 5: Table Of Contents

    Related Documentation....................xi Customer Communication ..................... xi Chapter 1 Introduction .......................... 1-1 About the DAQCard-500....................1-1 What You Need to Get Started ..................1-2 Software Programming Choices ..................1-2 LabVIEW and LabWindows/CVI Application Software ........1-2 NI-DAQ Driver Software................... 1-3 Register-Level Programming................
  • Page 6 Data Acquisition Rates................4-5 Digital I/O Circuitry.......................4-5 Timing I/O Circuitry ......................4-6 Appendix A Specifications ........................A-1 Appendix B Differences between the DAQCard-700 and the DAQCard-500 ....... B-1 Appendix C Custom Cable Design ......................C-1 Appendix D PC Card Questions and Answers ..................
  • Page 7 Figures Figure 1-1. The Relationship between the Programming Environment, NI-DAQ, and Your Hardware....................1-3 Figure 2-1. A Typical Configuration for the DAQCard-500 ..........2-2 Figure 3-1. I/O Connector Pin Assignments ................3-1 Figure 3-2. DAQCard-500 Analog Input Connections ............3-5 Figure 3-3.
  • Page 8: About This Manual

    Organization of This Manual The DAQCard-500 User Manual is organized as follows: • Chapter 1, Introduction, describes the DAQCard-500, lists what you need to get started, your software programming choices, and explains how to unpack the DAQCard-500. • Chapter 2, Installation and Configuration, describes how to install and software configure the DAQCard-500.
  • Page 9: National Instruments Documentation

    Glossary. National Instruments Documentation The DAQCard-500 User Manual is one piece of the documentation set for your data acquisition system. You could have any of several types of manuals, depending on the hardware and software in your system. Use the manuals you have as follows: •...
  • Page 10: Related Documentation

    The following National Instruments manual contains detailed information for the register-level programmer: • DAQCard-500 Register-Level Programmer Manual This manual is available from National Instruments by request. If you are using NI-DAQ, LabVIEW, or LabWindows/CVI, you should not need the register-level programmer manual.
  • Page 11: Chapter 1 Introduction

    In addition, the low cost of a system based on the DAQCard-500 makes it ideal for laboratory work in industrial and academic environments. The multichannel analog input is useful in signal analysis and data logging.
  • Page 12: What You Need To Get Started

    Introduction Chapter 1 What You Need to Get Started To set up and use your DAQCard-500, you will need the following: DAQCard-500 PR27-30F I/O connector with cable (must be purchased separately) DAQCard-500 User Manual One of the following software packages and documentation:...
  • Page 13: Ni-Daq Driver Software

    (PC or Sun Environment Sun SPARCstation) SPARCstation) (PC, Macintosh, or Sun SPARCstation) NI-DAQ Driver Software Personal DAQ or Computer or SCXI Hardware Workstation Figure 1-1. The Relationship between the Programming Environment, NI-DAQ, and Your Hardware © National Instruments Corporation DAQCard-500 User Manual...
  • Page 14: Register-Level Programming

    The DAQCard-500 is shipped in an antistatic vinyl case; when you are not using the DAQCard-500, you should store it in this case. Because the DAQCard-500 is enclosed in a fully shielded case, no additional electrostatic precautions are necessary. However, for your own safety and to protect the DAQCard-500, never attempt to touch the pins of the connectors.
  • Page 15: Installation And Configuration

    Insert the DAQCard-500 and attach the I/O cable. Your DAQCard-500 kit includes a label for the CB-27 terminal block, which is available from National Instruments. If you are using the CB-27, attach the label to the inside cover. This label identifies the DAQCard-500 signal connections for the CB-27.
  • Page 16: Configuration

    CB-27 Figure 2-1. A Typical Configuration for the DAQCard-500 The DAQCard-500 is now installed. You are ready to make the appropriate connections to the I/O connector cable as described in Chapter 3, Signal Connections, and to install and configure your software.
  • Page 17: Analog Input Configuration

    • ±5 V analog input range Digital I/O Configuration The DAQCard-500 always uses one 4-bit digital output port and one 4-bit digital input port. Counter Configuration You can use the MSM82C54 counter/timers for general-purpose applications, such as pulse and square wave generation, event counting, and pulsewidth, time-lapse, and frequency measurement.
  • Page 18: Signal Connections

    Warning: Connections that exceed any of the maximum ratings of input or output signals on the DAQCard-500 can damage the DAQCard-500 and your computer. This includes connecting any power signals to ground and vice versa. National Instruments is liable for any damages resulting from such signal connections.
  • Page 19: Signal Connection Descriptions

    Pins 1 through 9 are analog input signal pins for the ADC. Pin 1, AIGND, is an analog common signal. You can use these pins for a general analog power ground tie to the DAQCard-500. Pins 2 through 9 are the ACH<0..7> signal pins. These pins are tied to the analog input channels of the DAQCard-500 through 4.7 k series resistors.
  • Page 20: Analog Input Signal Connection Considerations

    The ground reference of a floating signal must be tied to the DAQCard-500 analog input ground to establish a local or onboard reference for the signal. Otherwise, the measured input signal varies or appears to float.
  • Page 21: Ground-Referenced Measurement System

    Analog Input Connections The analog input connections on the DAQCard-500 are single ended. They are measured with respect to one common ground. The input signals are tied to the positive input of an operational amplifier that is referenced to this common ground.
  • Page 22: Digital I/O Signal Connections

    Ground Current - Building (Earth) Ground Figure 3-2. DAQCard-500 Analog Input Connections Digital I/O Signal Connections Pins 12 through 19 of the I/O connector are digital I/O signal pins. Pins 12 through 15 are digital input pins. Pins 16 through 19 are digital output pins. Pin 27 is the digital ground pin.
  • Page 23: Figure 3-3. Digital I/O Signal Connections

    15 DIN3 +5 V +5 V DGND Digital Output Port 16 DOUT0 I/O Connector DAQCard-500 Figure 3-3. Digital I/O Signal Connections Note: Pin numbers in this figure refer only to the PR27-30F cable. DAQCard-500 User Manual © National Instruments Corporation...
  • Page 24: Timing Connections

    In addition to counter 0, you can use pin 11, EXTCONV*, to externally time conversions. If you need to program this chip directly, refer to the optional DAQCard-500 Register-Level Programmer Manual for the programming sequence needed to enable this input.
  • Page 25: Figure 3-5. Event-Counting Applications With External Switch Gating

    The MSM82C54 counter/timer is described briefly in Chapter 4, Theory of Operation. For more detailed programming information, consult the MSM82C54 Data Sheet in the optional DAQCard-500 Register-Level Programmer Manual. To perform pulse and square wave generation, program a counter to generate a timing signal at its OUT output pin.
  • Page 26: Figure 3-6. Frequency Measurement Application

    CLK pins are pulled up to +5 V through a 100 k resistor. Figure 3-7 shows the timing requirements for the GATE and CLK input signals and the timing specifications for the OUT output signals of the MSM82C54. © National Instruments Corporation DAQCard-500 User Manual...
  • Page 27: Figure 3-7. General-Purpose Timing Signals

    100 ns maximum Figure 3-7. General-Purpose Timing Signals The GATE and OUT signals in Figure 3-7 are referenced to the rising edge of the CLK signal. DAQCard-500 User Manual 3-10 © National Instruments Corporation...
  • Page 28: Cabling

    Cabling National Instruments currently offers a cable termination accessory, the CB-27, for use with the DAQCard-500. You can attach signal input and output wires to screw terminals on the connector block and, therefore, to the DAQCard-500 I/O connector. The CB-27 is useful for the initial prototyping of an application or in situations in which the DAQCard-500 interconnections are frequently changed.
  • Page 29: Chapter 4 Theory Of Operation

    Chapter 4 Theory of Operation This chapter includes an overview of the DAQCard-500 and explains the operation of each functional unit making up the DAQCard-500. Functional Overview The block diagram in Figure 4-1 shows a functional overview of the DAQCard-500.
  • Page 30: Pcmcia I/O Channel Interface Circuitry

    PCMCIA I/O Channel Interface Circuitry The PCMCIA 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 DAQCard-500 PCMCIA I/O channel interface circuitry are shown in Figure 4-2.
  • Page 31: Analog Input And Data Acquisition Circuitry

    PCMCIA control registers and initializes the card. Analog Input and Data Acquisition Circuitry The DAQCard-500 has 8 channels of analog input with 12-bit A/D conversion. Using the timing circuitry, the DAQCard-500 can also automatically time multiple A/D conversions. Figure 4-3 shows a block diagram of the analog input and data acquisition circuitry.
  • Page 32: Data Acquisition Timing Circuitry

    An A/D conversion can be initiated during data acquisition by a low-to-high transition on the counter 0 output (OUT0) of the MSM82C54 onboard counter/timer chip on the DAQCard-500, or by a low-to-high transition on EXTCONV* input. The sample-interval timer is a 16-bit down counter that uses the onboard 1 MHz clock to generate sample intervals from 2 µs to 65,535 µs (see Timing I/O Circuitry later in this chapter).
  • Page 33: Multichannel (Scanned) Data Acquisition

    Digital I/O Circuitry The DAQCard-500 has eight digital I/O lines that are TTL-compatible. Pins DIN<0..3> of the I/O connector are digital input lines, and pins DOUT<0..3> are digital output lines. These lines are monitored or driven by the Digital Input Register or the Digital Output Register, respectively.
  • Page 34: Timing I/O Circuitry

    Figure 4-4. Digital I/O Circuitry Block Diagram Timing I/O Circuitry The DAQCard-500 uses an MSM82C54 counter/timer integrated circuit for data acquisition timing and for general-purpose timing I/O functions. Counters 1 and 2 of the MSM82C54 are available for general use, but counter 0 is used internally for data acquisition timing. The gate signal of counter 1 is internally pulled up and is always active.
  • Page 35: Figure 4-5. Timing I/O Circuitry Block Diagram

    All three counter/timers can be programmed to operate in several useful timing modes. The programming and operation of the MSM82C54 is presented in detail in the optional DAQCard-500 Register-Level Programmer Manual. The MSM82C54 for counter 0 uses a 1 MHz clock generated from the onboard oscillator. This 1 MHz clock is also available on the cable I/O connector, which can be used as a timebase for counters 1 and 2.
  • Page 36 Each counter has a clock input pin, a gate input pin, and an output pin labeled CLK, GATE, and OUT, respectively. The MSM82C54 counters are numbered zero through two, and their GATE, CLK, and OUT pins are labeled GATE N, CLK N, and OUT N, where N is the counter number. DAQCard-500 User Manual © National Instruments Corporation...
  • Page 37: Appendix A Specifications

    Appendix A Specifications This appendix lists the specifications of the DAQCard-500. These specifications are typical at 25° C unless otherwise specified. The operating temperature range is 0° to 70° C. Analog Input Input Characteristics Number of channels ............. 8 single-ended Type of ADC ..............Successive approximation...
  • Page 38 I/O connector. Physical PC Card type ..............Type II I/O connector..............27-pin male Environment Operating temperature..........0° to 70° C Storage temperature ............. -55° to 150° C Relative humidity ............5% to 90% noncondensing DAQCard-500 User Manual © National Instruments Corporation...
  • Page 39: Differences Between The Daqcard-700 And The Daqcard-500

    DAQCard-500 This appendix contains a summary of differences between the DAQCard-700 and the DAQCard-500 that may be relevant to you if you are a current DAQCard-700 user. For a summary of programming differences, refer to the DAQCard-500 Register-Level Programmer Manual.
  • Page 40: Appendix C Custom Cable Design

    Appendix C Custom Cable Design This appendix describes the pin connections on the DAQCard-500, which you will need to use only if you are designing your own cable. The recommended cable for the DAQCard-500 is the National Instruments PR27-30F. This cable has a 27-pin male connector that mates with the 27-pin female connector on the DAQCard-500.
  • Page 41: Figure C-1. Daqcard-500 I/O Connector Pin Assignments

    +5 V ACH7 ACH6 ACH5 ACH4 ACH3 ACH2 ACH1 ACH0 AIGND Figure C-1. DAQCard-500 I/O Connector Pin Assignments Note: Use this pin assignment figure if you are designing custom-made cables for your ONLY DAQCard-500. DAQCard-500 User Manual © National Instruments Corporation...
  • Page 42: Pc Card Questions And Answers

    4 in the Resources section. 3. Is there a way I can conserve power on my PC Card when it is not in use? © National Instruments Corporation DAQCard-500 User Manual...
  • Page 43 LPT2, but if the computer does not have two parallel ports, IRQ5 should be usable. IRQ3 is used for COM2, but if the computer has only has one serial port, IRQ3 should be usable. DAQCard-500 User Manual © National Instruments Corporation...
  • Page 44 Card Services can usually use memory space that is not being used for real RAM on the system. Even when this is the case, you should still exclude the memory addresses used by Card Services from use by any memory manager that may be installed. © National Instruments Corporation DAQCard-500 User Manual...
  • Page 45: Appendix E Power Management Modes

    This appendix describes the power-management modes of the DAQCard-500. • Normal Mode—This is the normal operating mode of the DAQCard-500 in which all the circuits are fully functional. This mode draws about 60 mA from the 5 V supply (about 300 mW).
  • Page 46: Psh27-50F Signal Connections

    If you are using the CB-50 I/O connector block and the PSH27-50F-D1 cable with the DAQCard-500, signals will not map to the same pin numbers as the pin numbers shown for the CB-27 I/O connector block. For the correct pin numbers, refer to Figure F-1.
  • Page 47: Customer Communication

    91 640 0533 Sweden 08 730 49 70 08 730 43 70 Switzerland 056 200 51 51 056 200 51 55 Taiwan 02 377 1200 02 737 4644 U.K. 01635 523545 01635 523154 © National Instruments Corporation DAQCard-500 User Manual...
  • Page 48 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 more efficiently.
  • Page 49 DAQCard-500 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.
  • Page 50 If you find errors in the manual, please record the page numbers and describe the errors. Thank you for your help. Name Title Company Address Phone Mail to: Technical Publications Fax to: Technical Publications National Instruments Corporation National Instruments Corporation 6504 Bridge Point Parkway (512) 794-5678 Austin, TX 78730-5039...
  • Page 51: Glossary

    Extended Industry Standard Architecture EXTCONV external convert signal to trigger A/D conversions FIFO first-in-first-out GATE gate input signal hertz input/output current, output high current, output low output current Industry Standard Architecture light-emitting diode © National Instruments Corporation Glossary-1 DAQCard-500 User Manual...
  • Page 52 PCMCIA bus (usually +5V) volts, direct current volts, input high volts, input low V in volts in volts, output high volts, output low write DAQCard-500 User Manual Glossary-2 © National Instruments Corporation...
  • Page 53: Index

    4-3 to 4-4 description, 3-2 analog input configuration, 2-3 pin assignment, 3-1, C-2 analog input signal connections, 3-2 to 3-5 CLK2 signal connecting to DAQCard-500 description, 3-2 (illustration), 3-5 pin assignment, 3-1, C-2 connection recommendations, 3-4 to 3-5 configuration, 2-2 to 2-3...
  • Page 54 Index equipment, optional, 1-4 event counting, 3-8 event-counting application DAQCard-500. See also theory of operation. (illustration), 3-8 block diagram, 4-1 EXTCONV* signal difference from DAQCard-700, B-1 description, 3-2 features, 1-1 pin assignment, 3-1, C-2 functional overview, 4-1 to 4-2 timing (illustration), 3-7...
  • Page 55 A-1 signal connections analog input signals, 3-2 to 3-5 connecting to DAQCard-500 (illustration), 3-5 connection recommendations, 3-4 operation of DAQCard-500. See theory of to 3-5 operation. exceeding input signal range OUT signals (warning), 3-3 counter block diagram, 4-7...
  • Page 56 A-1 NI-DAQ driver software, 1-3 register-level programming, 1-4 specifications analog input, A-1 bus interface, A-2 unpacking the DAQCard-500, 1-4 digital I/O, A-2 environment, A-2 physical, A-2 power requirements, A-2 timing I/O, A-2 square wave generation, 3-8...

Table of Contents