National Instruments DAQ Series User Manual

Multifunction i/o devices for the pcmcia bus
Hide thumbs Also See for DAQ Series:

Advertisement

Quick Links

DAQ
DAQCard
-700 User Manual
Multifunction I/O Devices for the PCMCIA Bus
DAQCard-700 User Manual
December 2001 Edition
Part Number 320676D-01

Advertisement

Table of Contents
loading

Summary of Contents for National Instruments DAQ Series

  • Page 1 ™ DAQCard -700 User Manual Multifunction I/O Devices for the PCMCIA Bus DAQCard-700 User Manual December 2001 Edition Part Number 320676D-01...
  • Page 2 Sweden 08 587 895 00, Switzerland 056 200 51 51, Taiwan 02 2528 7227, United Kingdom 01635 523545 For further support information, see the Technical Support Resources appendix. To comment on the documentation, send e-mail to techpubs@ni.com. © 1994, 2001 National Instruments Corporation. All rights reserved.
  • Page 3 The reader should consult National Instruments if errors are suspected. In no event shall National Instruments be liable for any damages arising out of or related to this document or the information contained in it.
  • Page 4: Table Of Contents

    Contents About This Manual Conventions ........................vii National Instruments Documentation ................viii Chapter 1 Introduction About the DAQCard-700....................1-1 What You Need to Get Started ..................1-2 Software Programming Choices ..................1-2 NI-DAQ......................1-2 National Instruments ADE Software...............1-3 Custom Cabling ......................1-4 Unpacking ........................1-5 Safety Information ......................1-5...
  • Page 5 Contents Connecting Digital I/O Signals ............... 3-13 Connecting Power ................... 3-14 Connecting Timers..................3-15 Data Acquisition Counter and Timing Connections......3-15 General-Purpose Counter and Timing Signal Connections....3-16 Chapter 4 Theory of Operation Functional Overview ..................... 4-1 PCMCIA I/O Channel Interface Circuitry ..............4-3 Analog Input and Data Acquisition Circuitry ...............
  • Page 6: About This Manual

    This font is also used for the proper names of disk drives, paths, directories, programs, subprograms, subroutines, device names, functions, operations, variables, filenames and extensions, and code excerpts. © National Instruments Corporation DAQCard-700 User Manual...
  • Page 7: National Instruments Documentation

    Platform Text in this font denotes a specific platform and indicates that the text following it applies only to that platform. National Instruments Documentation DAQCard-700 User Manual is one piece of the documentation set for the data acquisition (DAQ) system. You could have any of several types of manuals, depending on the hardware and software in the system.
  • Page 8: Introduction

    The counter/timers can be used to synchronize events, generate pulses, and measure frequency and time. © National Instruments Corporation DAQCard-700 User Manual...
  • Page 9: What You Need To Get Started

    (for PC compatibles or Mac OS) ❑ The computer Software Programming Choices When programming the National Instruments DAQ hardware, you can use NI application development environment (ADE) software or other ADEs. In either case, you use NI-DAQ. NI-DAQ NI-DAQ ships with the DAQCard-700 and has an extensive library of functions that you can call from your ADE.
  • Page 10: National Instruments Ade Software

    LabVIEW features interactive graphics, a state-of-the-art interface, and a powerful graphical programming language. The LabVIEW Data Acquisition VI Library, a series of virtual instruments (VIs) for using LabVIEW with National Instruments DAQ hardware, is included with LabVIEW. Measurement Studio, which includes LabWindows/CVI, tools for Visual...
  • Page 11: Custom Cabling

    Chapter 1 Introduction Measurement Studio features a set of ActiveX controls for using National Instruments DAQ hardware. These ActiveX controls provide a high-level programming interface for building virtual instruments. For Visual C++ developers, Measurement Studio offers a set of Visual C++ classes and tools to integrate those classes into Visual C++ applications.
  • Page 12: Unpacking

    The following is a description of pollution degrees: • Pollution degree 1 means no pollution or only dry, nonconductive pollution occurs. The pollution has no influence. © National Instruments Corporation DAQCard-700 User Manual...
  • Page 13: Appendix A

    Chapter 1 Introduction • Pollution degree 2 means that only nonconductive pollution occurs in most cases. Occasionally, however, a temporary conductivity caused by condensation must be expected. • Pollution degree 3 means that conductive pollution occurs, or dry, nonconductive pollution occurs that becomes conductive due to condensation.
  • Page 14 Installation category IV is for measurements performed at the source of the low-voltage (<1,000 V) installation. Examples of category IV are electric meters, and measurements on primary overcurrent protection devices and ripple-control units. Below is a diagram of a sample installation. © National Instruments Corporation DAQCard-700 User Manual...
  • Page 15: Installing And Configuring The Daqcard-700

    68-pin PCMCIA bus connector on one end and a 50-pin I/O connector on the other end. Note If the computer supports hot swapping, you may insert or remove the DAQCard-700 at any time, whether the computer is powered on or off. © National Instruments Corporation DAQCard-700 User Manual...
  • Page 16: Chapter 2 Installing And Configuring The

    Chapter 2 Installing and Configuring the DAQCard-700 Visually verify the installation by making sure that the DAQCard-700 is fully inserted into the slot. Attach the DAQCard-700 I/O cable. Be careful not to put strain on the I/O cable when inserting it into and removing it Note from the DAQCard-700.
  • Page 17: Configuring The Daqcard-700

    Connections, including power signals to ground and vice versa, that exceed any of the maximum signal ratings on the DAQCard-700 can result in damage to the DAQCard-700. NI is not liable for any injuries or damage resulting from incorrect signal connections. © National Instruments Corporation DAQCard-700 User Manual...
  • Page 18: Analog Input Mode

    Chapter 2 Installing and Configuring the DAQCard-700 Analog Input Mode The DAQCard-700 has two input modes: RSE and DIFF. RSE input mode provides 16 channels. DIFF input mode provides eight channels. Table 2-2 describes these modes. Table 2-2. Analog Input Modes for the DAQCard-700 Analog Input Modes Description...
  • Page 19: Configuring Digital I/O

    You can use the MSM82C54 for general-purpose applications, such as pulse and square wave generation, event counting, and pulse-width, time-lapse, and frequency measurements. For information about configuring the MSM82C54, refer to the Connecting Timers section of Chapter 3, Connecting Signals. © National Instruments Corporation DAQCard-700 User Manual...
  • Page 20: Connecting Signals

    Connections, including power signals to ground and vice versa, that exceed any of the maximum signal ratings on the DAQCard-700 can result in damage to the DAQCard-700. NI is not liable for any injuries or damage resulting from incorrect signal connections. © National Instruments Corporation DAQCard-700 User Manual...
  • Page 21: Signal Connection Descriptions

    Chapter 3 Connecting Signals AIGND AIGND ACH0 ACH8 ACH1 ACH9 ACH2 ACH10 ACH3 ACH11 ACH4 ACH12 ACH5 ACH13 ACH6 ACH14 ACH7 ACH15 DGND DIN0 DIN1 DIN2 DIN3 DIN4 DIN5 DIN6 DIN7 DOUT0 DOUT1 DOUT2 DOUT3 DOUT4 DOUT5 DOUT6 DOUT7 OUT1* EXTINT* EXTCONV* OUT0...
  • Page 22: Connecting Analog Input Signals

    ACH<0..15> signal pins. These pins are tied to the AI channels of the DAQCard-700 through 4.7 kΩ series resistors. These resistors limit the input current to the multiplexer. Refer to Appendix A, Specifications, for input ranges and maximum ratings for the analog inputs, ACH<0..15>. © National Instruments Corporation DAQCard-700 User Manual...
  • Page 23: Types Of Signal Sources

    Chapter 3 Connecting Signals Exceeding the input signal range distorts input signals. Exceeding the maximum Caution input voltage rating may damage the DAQCard-700 card and the computer. NI is not liable for any damage resulting from such signal connections. Types of Signal Sources When configuring the input mode of the DAQCard-700 and making signal connections, first determine whether the signal source and the measurement system are floating or ground referenced.
  • Page 24: Input Configurations

    DAQCard-700. Figure 3-2 shows a diagram of the DAQCard-700 instrumentation amplifier. Instrumentation Amplifier Measured Voltage V = [ V + – V - ] GAIN Figure 3-2. DAQCard-700 Instrumentation Amplifier © National Instruments Corporation DAQCard-700 User Manual...
  • Page 25 Chapter 3 Connecting Signals The DAQCard-700 instrumentation amplifier applies common-mode voltage rejection and presents a high-input impedance to the AI signals connected to the DAQCard-700. Signals are routed to the positive and negative inputs of the instrumentation amplifier through input multiplexers on the DAQCard-700.
  • Page 26: Recommended Input Configurations

    If any of the preceding criteria are not met, use the DIFF input mode. The RSE input mode is referenced, but you can use this mode for nonreferenced signal sources. In addition, if the computer using the © National Instruments Corporation DAQCard-700 User Manual...
  • Page 27 Chapter 3 Connecting Signals DAQCard-700 is not ground referenced, you can use this mode for ground-referenced signal sources. Figure 3-3 shows how to connect a signal source to a DAQCard-700 in RSE input mode. When you connect grounded signal sources to a DAQCard-700 in a ground-referenced computer, carefully observe the polarity to avoid shorting the signal source output.
  • Page 28: Differential Connection Considerations

    The signal leads travel through noisy environments. Differential signal connections reduce noise pickup and increase common-mode noise rejection. With these connections, input signals can float within the common-mode limits of the input instrumentation amplifier. © National Instruments Corporation DAQCard-700 User Manual...
  • Page 29 Chapter 3 Connecting Signals Differential Connections for Grounded Signal Sources Figure 3-4 shows how to connect a ground-referenced signal source to a DAQCard-700 card configured for DIFF input. ACH<0..7> Grounded- Referenced Instrumentation Signal Amplifier Source ACH<8..15> Measured Voltage Common-Mode Noise, Ground Potential, and so on...
  • Page 30 If a return path is not provided, the instrumentation amplifier bias currents cause stray capacitances, resulting in uncontrollable drift and possible saturation in the amplifier. Typically, values from 10 kΩ to 100 kΩ are used. © National Instruments Corporation 3-11 DAQCard-700 User Manual...
  • Page 31 Chapter 3 Connecting Signals A resistor from each input to ground, as shown in Figure 3-5, provides bias current return paths for an AC-coupled input signal. This solution, although necessary for AC-coupled signals, lowers the input impedance of the AI channel. In addition, the input offset current of the instrumentation amplifier contributes a DC offset voltage at the input.
  • Page 32: Connecting Digital I/O Signals

    Digital input applications include receiving TTL signals and sensing external device states such as the switch in Figure 3-6. Digital output applications include sending TTL signals and driving external devices, such as the LED shown in Figure 3-6. © National Instruments Corporation 3-13 DAQCard-700 User Manual...
  • Page 33: Connecting Power

    Chapter 3 Connecting Signals 22 DIN0 Digital TTL Signal Input Port 29 DIN7 +5 V +5 V DGND Digital Output Port 30 DOUT0 I/O Connector DAQCard-700 Figure 3-6. Digital I/O Signal Connections Connecting Power Pin 49 of the I/O connector sends +5 V from the PCMCIA I/O channel power supply.
  • Page 34: Connecting Timers

    A/D Conversion Starts Here Figure 3-7. EXTCONV* Signal Timing Notice that EXTCONV* only causes conversions to occur; you cannot use it as a monitor to detect conversions caused by the onboard sample-interval timer. © National Instruments Corporation 3-15 DAQCard-700 User Manual...
  • Page 35: General-Purpose Counter And Timing Signal Connections

    Chapter 3 Connecting Signals General-Purpose Counter and Timing Signal Connections The general-purpose timing signals include the GATE, CLK, and OUT signals for the three integrated counter/timers, except CLK of counter 0 is not available on the I/O connector. You can use the counter/timers for general-purpose applications such as pulse and square wave generation, event counting, and pulse-width, time-lapse, and frequency measurement.
  • Page 36 GATE input to start the counter. Program the counter to start counting after receiving a low-to-high edge. The time lapse since receiving the edge equals the counter value difference (loaded value minus the read value) multiplied by the CLK period. © National Instruments Corporation 3-17 DAQCard-700 User Manual...
  • Page 37 Chapter 3 Connecting Signals To measure frequency, program a counter to be level gated and count the number of falling edges in a signal applied to a CLK input. The gate signal you applied to the counter GATE input is of a known duration. In this case, program the counter to count falling edges at the CLK input while the gate is applied.
  • Page 38 Figure 3-10. General-Purpose Timing Signals The GATE and OUT signals in Figure 3-10 are referenced to the rising edge of the CLK signal. Refer to Appendix A, Specifications, for more information about the MSM82C54 DIO specifications. © National Instruments Corporation 3-19 DAQCard-700 User Manual...
  • Page 39: Theory Of Operation

    This chapter includes an overview of the DAQCard-700 and explains the operation of each functional unit making up the DAQCard-700. Functional Overview The block diagram in Figure 4-1 shows a functional overview of the DAQCard-700. © National Instruments Corporation DAQCard-700 User Manual...
  • Page 40 Chapter 4 Theory of Operation Instrumentation Amplifier – Input Buffer Mux1 Dual Input 12-Bit PCMCIA 512-Word (8-Channel Mux2 Sampling I/O Channel FIFO Single- (4-Channel) Interface Ended) Scanning Counter EXTCONV* OUT0 A/D Timing GATE<0..2> CLK<1..2> MSM82C54 OUT<0..2> Interrupt Interface From A/D FIFO Digital To Analog Circuit To Analog Circuit...
  • Page 41: Pcmcia I/O Channel Interface Circuitry

    Timing Control Lines Interface Read and Write Signals Card Information Structure Data Bus Data Internal Data Bus Buffers PCMCIA Control Registers Interrupt Interrupt Requests Control Figure 4-2. PCMCIA I/O Interface Circuitry Block Diagram © National Instruments Corporation DAQCard-700 User Manual...
  • Page 42: Analog Input And Data Acquisition Circuitry

    Chapter 4 Theory of Operation When you first insert the card, the system examines information stored in the DAQCard-700 Card Information Structure (CIS). This data is used to configure the card for the system in which it is used. When the system has assigned the card to a section of memory, it updates the PCMCIA control registers and initializes the card.
  • Page 43: Analog Input Circuitry

    These ranges are ±10 V, ± 5 V, and ± 2.5 V. When an A/D conversion is complete, the ADC clocks the result into the A/D FIFO. The A/D FIFO is 16 bits wide and 512 words deep. This FIFO © National Instruments Corporation DAQCard-700 User Manual...
  • Page 44: Data Acquisition Timing Circuitry

    Chapter 4 Theory of Operation serves as a buffer to the ADC and has two benefits. First, when an A/D conversion is complete, the value is saved in the A/D FIFO for later reading, and the ADC is free to start a new conversion. Secondly, the A/D FIFO can collect up to 512 A/D conversion values before any information is lost, thus giving the software some extra time (512 times the sample interval) to catch up with the hardware.
  • Page 45: Single-Channel Data Acquisition

    12-bit accuracy. Furthermore, if the maximum data acquisition rate is exceeded, A/D conversions may be lost. The maximum data acquisition rate and settling time specifications at various input ranges are listed in Appendix A, Specifications. © National Instruments Corporation DAQCard-700 User Manual...
  • Page 46: Digital I/O Circuitry

    Chapter 4 Theory of Operation These settling time specifications assume that voltage levels on all the channels included in the scan sequence are within range and are driven by low-impedance sources. Signal levels outside the ranges on the channels included in the scan sequence adversely affect the input settling time. Similarly, greater settling time may be required for channels driven by high-impedance signal sources.
  • Page 47: Timing I/O Circuitry

    OUT0 CTR RD/WR GATE0 GATE0 1-MHz CLK0 Clock Input CLK1 CLK1 GATE1 OUT1 OUT1 OUT1* CLK2 CLK2 GATE2 GATE2 Data OUT2 OUT2 MSM82C54 Counter/Timer Interrupt Interface Figure 4-5. Timing I/O Circuitry Block Diagram © National Instruments Corporation DAQCard-700 User Manual...
  • Page 48 Chapter 4 Theory of Operation The MSM82C54 contains three independent 16-bit counter/timers and one 8-bit mode register. As shown in Figure 4-5, counter 0 can be used for DAQ timing, and counters 1 and 2 are free for general use. Counter 0 is free for general use when EXTCONV* is being used to time the AI circuitry or when the DAQ circuitry is not in use.
  • Page 49: Appendix A Specifications

    ± 30 V powered off Inputs protected........ACH<0..15> FIFO buffer size ........512 samples Data transfers ......... Interrupts, programmed I/O Please refer to the Dynamic Characteristics section for maximum scan rates with stated accuracy. © National Instruments Corporation DAQCard-700 User Manual...
  • Page 50 Appendix A Specifications Transfer Characteristics Relative accuracy........±1 LSB typ, ±1.5 LSB max DNL ............±0.5 LSB typ, ±1 LSB max No missing codes........12 bits, guaranteed Offset error After software calibration....±1 LSB Before software calibration .....±2 LSB typ, ±9 LSB max Gain error (relative to calibration reference) After software calibration....±0.036% max Before software calibration .....±0.07% of reading typ, ±0.4% max...
  • Page 51 +2.2 V Input load current — ± 10.0 A Output low voltage — +0.40 V Output high voltage +3.0 V — Output source current — ± 2.5 mA Output sink current — ±2.5 mA © National Instruments Corporation DAQCard-700 User Manual...
  • Page 52 Appendix A Specifications Base clocks available......1 MHz Base clock accuracy........±0.01% Max source frequency......10 MHz Min source pulse duration ......50 ns Min gate pulse duration ......50 ns Data transfers ..........Programmed I/O Bus Interface Type ............slave Power Requirement +5 VDC (±5%) ........100 mA in operational mode 70 mA in power-down mode Note These power usage figures do not include the power used by external devices that...
  • Page 53 . This Web site lists the DoCs by product family. Select the ni.com/hardref.nsf/ appropriate product family, followed by your product, and a link to the DoC appears in Adobe Acrobat format. Click the Acrobat icon to download or read the DoC. © National Instruments Corporation DAQCard-700 User Manual...
  • Page 54 Single ended or differential Input ranges ±5 V, ±2.5 V, 0–10 V, 0–5 V, ±10 V, ±5 V, ±2.5 V, jumper selectable software-selectable * The MSM82C54 timer used in the DAQCard-700 is compatible with the MSM82C53. © National Instruments Corporation DAQCard-700 User Manual...
  • Page 55 Check the ground-reference connections. The signal may be referenced to a level that is considered floating with reference to the DAQCard ground reference. Even if you are in DIFF input mode, the signal must still be © National Instruments Corporation DAQCard-700 User Manual...
  • Page 56 Appendix C Common Questions referenced to the same ground level as the DAQCard reference. There are various methods of achieving the same ground level while maintaining a high CMRR. These methods are outlined in Chapter 3, Connecting Signals. I want to use NI-DAQ to program the DAQCard-700. How can I determine which NI-DAQ functions support the DAQCard? If you are using NI-DAQ 6.7 or later, refer to the NI-DAQ Function Reference Help.
  • Page 57 You can rely on the expertise available through our worldwide network of Alliance Program members. To find out more about our Alliance system integration solutions, visit the System Integration section ni.com © National Instruments Corporation DAQCard-700 User Manual...
  • Page 58 Appendix D Technical Support Resources Worldwide Support NI has offices located around the world to help address your support needs. You can access our branch office Web sites from the Worldwide Offices section of . Branch office Web sites provide up-to-date contact ni.com information, support phone numbers, e-mail addresses, and current events.
  • Page 59 Automation Object. ActiveX Controls are similar to Visual Basic custom controls (VBXs), but their architecture is based on OLE; ActiveX Controls can be freely plugged into any OLE-enabled development tool, application, or Web browser analog-to-digital A/D converter © National Instruments Corporation DAQCard-700 User Manual...
  • Page 60 Glossary application development environment such as LabVIEW, LabWindows/CVI, BridgeVIEW, Visual Basic, C, and C++ analog input AIGND analog input ground signal ANSI American National Standards Institute American Wire Gauge bipolar a signal range that includes both positive and negative values (for example, –5 V to +5 V) one binary digit, either 0 or 1 buffer...
  • Page 61 EXTCONV external control signal to trigger A/D conversions EXTINT external interrupt signal farads FIFO first-in-first-out feet GATE gate input signal gate hold time gate setup time gate high level gate low level hertz © National Instruments Corporation DAQCard-700 User Manual...
  • Page 62 Glossary input/output inches interrupt a computer signal indicating that the CPU should suspend its current task to service a designated activity output source current, at V output sink current, at V output current IREQ interrupt request kilobytes LabVIEW a graphical programming language light-emitting diode least significant bit maximum...
  • Page 63 Glossary not connected (signal) National Instruments NI-DAQ National Instruments driver software for DAQ hardware output signal outc output delay from clock outg output delay from gate PC Card a credit-card-sized expansion card that fits in a PCMCIA slot often referred to as a PCMCIA card...
  • Page 64 Glossary sample interval amount of time between samples clock period scan interval the number of channels multiplied by the sample interval settling time the amount of time required for a voltage to reach its final value within specified limits timing input/output trigger any event that causes or starts some form of data capture transistor-transistor logic...
  • Page 65 3-5 differential input mode, 3-6 floating signal sources, 3-4 instrumentation amplifier, 3-6 ground-referenced measurement recommended input configurations system, 3-5 (table), 3-7 ground-referenced signal sources, 3-4 single-ended input mode, 3-6 input configurations, 3-5 © National Instruments Corporation DAQCard-700 User Manual...
  • Page 66 Index PC Card, C-1 floating signal sources, 3-11 typical configuration (figure), 2-2 grounded signal sources, 3-10 conventions used in the manual, vii when to use, 3-9 counter/timers digital I/O See also general-purpose counter and circuitry, 4-8 timing connections configuration, 2-5 configuration, 2-5 signal connections, 3-13 MSM82C54 counter/timer, 3-16...
  • Page 67 3-16 pulse-width measurement, 3-17 time-lapse measurement, 3-17 timing specifications, 3-19 National Instruments documentation, viii ground-referenced measurement system, 3-5 National Instruments Web support, E-1 ground-referenced signal sources NI Developer Zone, E-1 definition, 3-4 differential connections, 3-10 recommended input configurations...
  • Page 68 Index timing connections data acquisition counter and timing referenced single-ended input. See RSE input connections, 3-15 RSE input general-purpose counter and timing configuration, 2-4 signal connections, 3-16 definition (table), 2-4 single-channel data acquisition, 4-7 single-ended connection considerations connecting signal source (figure), 3-8 when to use, 3-7 signal connections single-ended input mode, 3-6...
  • Page 69 3-16 unpacking the DAQCard-1200, 1-5 pulse-width measurement, 3-17 time-lapse measurement, 3-17 timing specifications, 3-19 general-purpose counter and timing signal Web support from National Instruments, E-1 connections, 3-16 worldwide technical support, E-2 © National Instruments Corporation DAQCard-700 User Manual...

This manual is also suitable for:

Daqcard-700

Table of Contents