National Instruments NI 6602 User Manual

National Instruments NI 6602 User Manual

Daq
Hide thumbs Also See for NI 6602:
Table of Contents

Advertisement

DAQ
NI 660x User Manual
NI 6601, NI 6602, and NI 6608 Devices
NI 660x User Manual
Français
Deutsch
ni.com/manuals
December 2009
372119B-01

Advertisement

Table of Contents
loading

Summary of Contents for National Instruments NI 6602

  • Page 1 NI 660x User Manual NI 6601, NI 6602, and NI 6608 Devices NI 660x User Manual Français Deutsch ni.com/manuals December 2009 372119B-01...
  • Page 2 Thailand 662 278 6777, Turkey 90 212 279 3031, United Kingdom 44 (0) 1635 523545 For further support information, refer to the Technical Support and Professional Services appendix. To comment on National Instruments documentation, refer to the National Instruments Web site at and enter ni.com/info the info code feedback ©...
  • Page 3 Warranty The NI 6601, NI 6602, and NI 6608 devices 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.
  • Page 4 Operation of this hardware in a residential area is likely to cause harmful interference. Users are required to correct the interference at their own expense or cease operation of the hardware. Changes or modifications not expressly approved by National Instruments could void the user’s right to operate the hardware under the local regulatory rules.
  • Page 5: Table Of Contents

    High Precision Clock (NI 6608) ..................2-9 Using the OCXO as the SOURCE Counter ............2-9 Using the OCXO as the 10 MHz PXI Backplane Clock .........2-9 Measuring OCXO Stable Frequency Deviation ..........2-11 Calibration ........................2-12 Register-Level Programming Information..............2-12 © National Instruments Corporation NI 660x User Manual...
  • Page 6 Contents Chapter 3 Signal Connections Programmable Function Interfaces (PFIs)..............3-1 Digital Filtering ......................3-1 Power-On State......................3-3 Pin Assignments ......................3-3 I/O Connector Pinout..................... 3-5 Outputs .......................... 3-8 Counters......................... 3-10 Counter n Source Signal ................. 3-10 Counter Source to Counter Out Delay..........3-12 Counter n Gate Signal ..................
  • Page 7: About This Manual

    About This Manual This manual describes the electrical and mechanical aspects of the National Instruments NI 6601, NI 6602, and NI 6608 devices, and contains information about device operation and programming. Unless otherwise noted, text applies to all NI 660x devices. The PCI and PXI implementations are the same in functionality;...
  • Page 8: Related Documentation

    • NI 660x Specifications—This document contains specifications for the NI 6601, NI 6602, and NI 6608 devices. • DAQ Getting Started guides—These guides describe how to install the NI-DAQ driver software and the DAQ device, and how to confirm that the device is operating properly.
  • Page 9: Introduction

    TTL/CMOS-compatible digital I/O. The NI 6602 offers this capability and four additional 32-bit counter channels. The NI 6608 is a functional superset of the NI 6602 device with a high-stability clock called an oven-controlled crystal oscillator (OCXO). The counter/timer channels have many measurement and generation...
  • Page 10: Getting Started

    Chapter 1 Introduction The specification permits vendors to develop sub-buses that coexist with the basic PCI interface on the bus. Compatible operation is not guaranteed between devices with different sub-buses nor between devices with sub-buses and PXI. The standard implementation for CompactPCI does not include these sub-buses.
  • Page 11: Accessories And Cables

    BNC connector block with built-in test features CA-1000 Configurable connector accessory SCB-68 Shielded screw connector block TB-2715 Front-mount terminal block for NI PXI-660x TBX-68 DIN-rail connector block CB-68LP Low-cost screw connector block CB-68LPR Low-cost screw connector block © National Instruments Corporation NI 660x User Manual...
  • Page 12: Device Overview

    (or two) and rolls over. This counter is specifically designed for this application and can count signals that are faster than the general purpose counters. The CtrnSource signal on the general purpose counter will be the divided signal from the simple counter. © National Instruments Corporation NI 660x User Manual...
  • Page 13: Pad Synchronization

    Chapter 2 Device Overview Figure 2-1 shows an example of prescaling. External Signal Prescaler Rollover (Used as Source by Counter) Counter Value Figure 2-1. Prescaling Example Prescaling is intended for use with two counter period and frequency measurements where the measurement is made on a continuous, repetitive signal.
  • Page 14 PFI 38 at CTR 1 GATE 1/4 Cycle Sampled GATE at Ctr0 Sampled GATE at Ctr1 Figure 2-2. Counter 0 at Gate Edge on PFI 38 One Source Period before Counter 1 © National Instruments Corporation NI 660x User Manual...
  • Page 15: Duplicate Count Prevention

    Chapter 2 Device Overview Counter Source PFI 38 at Input To ASIC PFI 38 Synchronized at Pad 1/2 Cycles PFI 38 at CTR 0 GATE PFI 38 at CTR 1 GATE 1/4 Cycle Sampled GATE at Ctr0 Sampled GATE at Ctr1 Figure 2-3.
  • Page 16: Example Application That Works Correctly (No Duplicate Counting)

    So the counter does not detect a rising edge in the Gate until the next Source pulse. In this example, the counter stores the values in the buffer on the first rising Source edge after the rising edge of Gate. © National Instruments Corporation NI 660x User Manual...
  • Page 17: Example Application That Works Incorrectly (Duplicate Counting)

    Chapter 2 Device Overview Example Application That Works Incorrectly (Duplicate Counting) In Figure 2-5, after the first rising edge of Gate, no Source pulses occur. So the counter does not write the correct data to the buffer. No Source edge, so no value written to buffer.
  • Page 18: Enabling Duplicate Count Prevention In Ni-Daqmx

    When Not to Use Duplicate Count Prevention Use duplicate counter prevention only for buffered measurements with an external CtrnSource signal. Do not use it when the CtrnSource signal is greater than one-fourth of the maximum timebase. © National Instruments Corporation NI 660x User Manual...
  • Page 19: Transfer Rates

    Chapter 2 Device Overview Transfer Rates The maximum sustainable transfer rate a TIO device can achieve for a buffered acquisition depends on the following factors: • Amount of available bus bandwidth • Processor speed and operating system • Application software To reduce the amount of bus activity, limit the number of devices generating bus cycles.
  • Page 20: High Precision Clock (Ni 6608)

    By default, NI-DAQ software drives the 10 MHz clock from the OCXO onto the PXI CLK10 in pin so that the OCXO is used as the PXI backplane clock. When the PXI chassis senses a clock on the PXI CLK10 in pin in © National Instruments Corporation NI 660x User Manual...
  • Page 21 Chapter 2 Device Overview Slot 2, the chassis disables its internal clock, then uses the OCXO clock instead, illustrated in Figure 2-7. Note The PXI CLK10 in pin is used as the PXI Star pin in other slots. The PXI Star pin is not used for the PXI backplane clock.
  • Page 22: Measuring Ocxo Stable Frequency Deviation

    365 days of operation to restore the stable frequency to a perfect 10 MHz, the drift during the first 10 days following calibration (days 366–375) will now be 5.63 ppb—the stable frequency in this case © National Instruments Corporation 2-11 NI 660x User Manual...
  • Page 23: Calibration

    NI 660X Register-Level Programmer Manual, available from ni.com/manuals The National Instruments Measurement Hardware DDK provides development tools and a register-level programming interface for NI data acquisition hardware. The NI Measurement Hardware DDK provides access to the full register map of each device and offers examples for completing common measurement and control functions.
  • Page 24: Signal Connections

    The filter circuit samples the signal on the PFI line on each rising edge of the sampling clock. However, a change in the signal is propagated only if the signal maintains its new state for at least two © National Instruments Corporation NI 660x User Manual...
  • Page 25 Chapter 3 Signal Connections consecutive rising edges of the filter clock. The frequency of the filter clock timebase determines whether a transition in the signal may propagate or not. The function of the internal sampling clock is to increase the sampling rate and prevent aliasing.
  • Page 26: Power-On State

    Pin Assignments Table 3-2 lists the pin assignments for the I/O connector on the NI 660x. The NI 6601 uses counters <0..3> only. Note © National Instruments Corporation NI 660x User Manual...
  • Page 27 Chapter 3 Signal Connections Table 3-2. NI 660x Connector Pin Assignments Motion Counter Counter Motion Signal Encoder Context Context Encoder Signal Name Context Context (Default) Number Number (Default) Context Context Name PFI 31 channel P0.31 CTR 2 — — — D GND A(2) D GND...
  • Page 28: I/O Connector Pinout

    — — — I/O Connector Pinout Figure 3-2 shows the pinout of the NI 6601. Figure 3-3 shows the pinout of the NI 6602/6608. Note The NI 6601 uses counters <0..3> only. © National Instruments Corporation NI 660x User Manual...
  • Page 29 Chapter 3 Signal Connections PFI 31/P0.31/CTR 2 SOURCE D GND D GND PFI 30/P0.30/CTR 2 GATE PFI 28/P0.28/CTR 2 OUT PFI 29/P0.29/CTR 2 AUX PFI 27/P0.27/CTR 3 SOURCE D GND D GND PFI 26/P0.26/CTR 3 GATE PFI 24/P0.24/CTR 3 OUT PFI 25/P0.25/CTR 3 AUX PFI 23/P0.23 D GND...
  • Page 30 PFI 38/CTR 0 GATE RESERVED PFI 39/CTR 0 SOURCE D GND +5 V R GND RG: Reserved if using an SH68-68-D1 shielded cable. Ground if using an R6868 ribbon cable. Figure 3-3. NI 6602/6608 Pinout © National Instruments Corporation NI 660x User Manual...
  • Page 31: Outputs

    Chapter 3 Signal Connections Outputs PFI <0..7> are used for DIO only. PFI <32..39> are used for counters and motion encoders only. You can use PFI <8..31> as either of the three choices. When used as an output, you can individually configure each PFI line as a DIO line or a counter line (you need not distinguish between counter/encoder or DIO applications when you use a PFI line as an input).
  • Page 32 CTR 1 SOURCE PFI 36 CTR 0 OUT PFI 37 Input only PFI 38 CTR 0 GATE PFI 39 CTR 0 SOURCE Counters 4 through 7 are not available in NI 6601 devices. © National Instruments Corporation NI 660x User Manual...
  • Page 33: Counters

    Chapter 3 Signal Connections For NI 6602 devices, output frequency on any of the pins should not exceed 40 MHz. Note The maximum frequency you can drive at the I/O connector is affected by the capacitive load your cable presents. You can achieve 40 MHz output with a National Instruments 1 m SH68-68-D1 shielded cable (capacitive load = 80 pF).
  • Page 34 (with prescaling) Tsrcper (without 50 ns 12.5 ns 50 ns CtrnSource minimum period prescaling) (without prescaling) Tsrcper (with 16.67 ns 8 ns 16.67 ns CtrnSource minimum period prescaling) (with prescaling) © National Instruments Corporation 3-11 NI 660x User Manual...
  • Page 35: Counter Source To Counter Out Delay

    Chapter 3 Signal Connections Counter Source to Counter Out Delay Figure 3-5 shows the CtrnSource to CtrnInternalOutput delay. CtrnSource CtrnInternalOutput Figure 3-5. CtrnSource to CtrnInternalOutput Delay Figure 3-5 shows the delay between the active edge of the CtrnSource signal and the active edge of the CtrnInternalOutput signal. In the figure, the CtrnSource and CtrnInternalOutput signals are active high.
  • Page 36: Counter N Auxiliary Signal

    You can also use this signal to control the counting direction in edge-counting applications. © National Instruments Corporation 3-13 NI 660x User Manual...
  • Page 37: Counter N Internal Output Signal

    Chapter 3 Signal Connections Figure 3-7 shows the timing requirements for the CtrnAux signal. Tauxpw CtrnAux Tauxpw Figure 3-7. Timing Requirements for the CtrnAux Signal Table 3-7. Minimum Pulse Width for CtrnAux Internal Signals Minimum with RTSI Parameter Minimum Connector Description Tauxpw 5 ns...
  • Page 38: Counter Pairs

    Note For more information about programming counter applications and triggers in software, refer to the NI-DAQmx Help, and/or use the examples that are available with NI-DAQmx. © National Instruments Corporation 3-15 NI 660x User Manual...
  • Page 39: Real-Time System Integration Bus

    Any TIO device can drive its 20MHzTimebase signal onto the RTSI Trigger 7 pin. Although some TIO devices have a 80MHzTimebase (such as the NI 6602), the RTSI bus cannot carry the 80MHzTimebase signal for bandwidth reasons. By default, TIO devices do not drive the RTSI Trigger 7 bus clock line.
  • Page 40: +5 V Power Source

    D GND pins and can supply power to external digital circuitry. The power rating for this +5 V pin on the NI 660x is +4.65 to +5.25 VDC at 1 A. © National Instruments Corporation 3-17 NI 660x User Manual...
  • Page 41: I/O Signals

    Caution for output on the NI 660x device, or any voltage source or output pin on another device. Doing so can damage the device and the computer. National Instruments is not liable for damages resulting from such a connection. I/O Signals...
  • Page 42: Crosstalk

    100 Ω. If this source impedance is larger than 100 Ω and you see crosstalk problems, you should use NI-TIO filters or a voltage follower with a low output impedance to drive the victim line. © National Instruments Corporation 3-19 NI 660x User Manual...
  • Page 43: Inductive Effects

    Chapter 3 Signal Connections Inductive Effects For high-speed signals, inductive effects can degrade signal integrity and cause ringing. To minimize inductive effects, you must minimize ground loops and allow a return path for currents. Twist your signal with a ground wire when you connect it to the 68-pin connector block you are using.
  • Page 44 PFI 20 PFI 21 PFI 22 PFI 23 PFI 24 PFI 25 PFI 26 PFI 27 PFI 28 PFI 29 PFI 30 PFI 31 PFI 32 PFI 33 PFI 34 PFI 35 © National Instruments Corporation 3-21 NI 660x User Manual...
  • Page 45: Transmission Line Effects

    Chapter 3 Signal Connections Table 3-9. Signals and D GND Pin Number on 68-Pin Connector Block (Continued) PFI Number Pin Number for D GND PFI 36 PFI 37 PFI 38 PFI 39 Transmission Line Effects Transmission line effects can degrade the signal and cause measurement errors.
  • Page 46 Figure 3-12 shows an example of parallel and series termination. Driving Signal Receiving Signal Receiving Signal Driving Signal Other Other 660x 660x Device Device Parallel Termination Series Termination Figure 3-12. Parallel and Series Termination Example © National Instruments Corporation 3-23 NI 660x User Manual...
  • Page 47: Technical Support And Professional Services

    Technical Support and Professional Services Visit the following sections of the award-winning National Instruments Web site at for technical support and professional services: ni.com • Support—Technical support at includes the ni.com/support following resources: – Self-Help Technical Resources—For answers and solutions,...
  • Page 48 Appendix A Technical Support and Professional Services • Declaration of Conformity (DoC)—A DoC is our claim of compliance with the Council of the European Communities using the manufacturer’s declaration of conformity. This system affords the user protection for electromagnetic compatibility (EMC) and product safety.
  • Page 49: Glossary

    To enable a counter to start an operation. If the application requires a trigger, an armed counter waits for the trigger to begin the operation. ASIC application specific integrated circuit © National Instruments Corporation NI 660x User Manual...
  • Page 50 Glossary asynchronous A property of an event that occurs at an arbitrary time, without synchronization to a reference clock. bit—one binary digit, either 0 or 1. byte—eight related bits of data, an eight-bit binary number. Also used to denote the amount of memory required to store one byte of data. base address A memory address that serves as the starting address for programmable registers.
  • Page 51 DIO boards plugged into a computer, and possibly generating control signals with D/A and/or DIO boards in the same computer. DAQ-STC A custom ASIC developed by National Instruments that provides timing information and general-purpose counter/timers on National Instruments E Series boards.
  • Page 52 Glossary direct memory access—a method by which data can be transferred to/from computer memory from/to a device or memory on the bus while the processor does something else. DMA is the fastest method of transferring data to/from computer memory. driver Software that controls a specific hardware device such as a DAQ board.
  • Page 53 The fastest internal timebase available on a device. For NI 6601 devices, the maximum timebase is 20 MHz. For NI 6602 devices, the maximum timebase is 80 MHz. minimum © National Instruments Corporation NI 660x User Manual...
  • Page 54 Glossary MITE A custom ASIC designed by National Instruments that implements the PCI bus interface. The MITE supports bus mastering for high speed data transfers over the PCI bus. motion encoders Transducers that generate pulses to indicate the physical motion of a device.
  • Page 55 The oscillation of a signal about a high-voltage or low-voltage state immediately following a transition to that state. RTSI Bus real-time system integration bus—the National Instruments timing bus that connects DAQ boards directly, by means of connectors on top of the boards, for precise synchronization of functions.
  • Page 56 Glossary start trigger A TTL level signal having two discrete levels, a high and a low level, that starts an operation. synchronous A property of an event that is synchronized to a reference clock. terminal count—a strobe that occurs when a counter reaches zero from either direction.
  • Page 57 Glossary volts in Virtual Instrument. A LabVIEW program; so-called because it models the appearance and function of a physical instrument. wire Data path between nodes. © National Instruments Corporation NI 660x User Manual...
  • Page 58: Index

    3-15 description, 3-1 DMA channels, 2-8 example (figure), 3-2 transfer rates, 2-8 pad synchronization, 2-2 Declaration of Conformity (NI resources), A-2 settings (table), 3-3 diagnostic tools (NI resources), A-1 © National Instruments Corporation NI 660x User Manual...
  • Page 59 3-1 programming MITE, 1-1 examples (NI resources), A-1 register-level, 2-12 pulse width digital filtering, 3-2 National Instruments support and services, table, 3-3 minimum, 3-11, 3-13 noise, 3-3, 3-18 minimum for internal signals (table), 3-13 PXI backplane clock OCXO, 2-9...
  • Page 60 Counter n Internal Output, 3-14 Counter n Source, 3-10 software counter applications, 3-15 NI resources, A-1 register-level programming, 2-12 specifications, 1-1 stable frequency change in, 2-11 start triggers, 3-14 support, technical, A-1 © National Instruments Corporation NI 660x User Manual...

This manual is also suitable for:

Ni660 seriesNi 6601Ni 6608

Table of Contents