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.
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.
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.
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: •...
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.
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.
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:...
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.
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.
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.
• ±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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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.
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.
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...
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.
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.
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).
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 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...
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...