Manual National Instruments NI USB-621x

178 pages 3.87 mb
Download

Go to site of 178

Summary
  • National Instruments NI USB-621x - page 1

    DAQ M Series NI USB-621 x User Manual Bus-Powered M Series USB Devices NI USB-621 x User Manual August 2006 371931A-01 ...

  • National Instruments NI USB-621x - page 2

    Support Worldwide Technical Support and Product Info rmation ni.com National Instruments Corporate Headquarters 11500 North Mopac Expressway Aust in, Texas 78759-3504 USA Tel: 512 683 0100 Worldwide Offices Australia 1800 300 800, Austria 43 0 662 45 79 90 0, Belgium 32 0 2 757 00 20, Brazil 55 11 3262 3599, Canada 800 433 3488, China 86 21 6555 78 ...

  • National Instruments NI USB-621x - page 3

    Important Information Warranty The USB-6210, USB -6211, USB-6215, an d USB-6218 devices are warrant ed against defects in mat erials and workmanshi p for a period of three years from the date of shipment, as evidenced by receipts or other document ation. National Instruments will, at its option, repair or replace equipment that proves to be defecti ...

  • National Instruments NI USB-621x - page 4

    NATIONAL INSTRUMENTS PRODUCTS ARE IN CORPORATED IN A SYSTEM OR APPLICATION, INC LUDING, WITHOUT LIMITATION, THE APPROPRIATE DESIGN, PROC ESS AND SAFETY LEVEL OF SUCH SYSTEM OR APPLI CATION. ...

  • National Instruments NI USB-621x - page 5

    © National Instruments Corpor ation v NI USB-621x User Manual Contents About This Manual Conventions ............ .............. .............. .............. .............. .............. ............... .............. .... x iii Related Documentation ............ .............. .............. .............. .............. .............. ........ ...

  • National Instruments NI USB-621x - page 6

    Contents NI USB-621x User Manual vi ni.com Chapter 4 Analog Input Analog Input Circuitry ............. .............. .............. .............. .............. ............... .............. 4-1 Analog Input Range ............ .............. ............... .............. .............. .............. .............. ...... 4-2 Analog Input Groun ...

  • National Instruments NI USB-621x - page 7

    Contents © National Instruments Corporat ion vii NI USB-621x User Manual AI Pause Trigger Signal .......... .............. .............. .............. .............. ................ 4-23 Using a Digital Source ......... .............. ................. .............. .............. .. 4-23 Getting Started with AI Applicat ions in Softwa re .... ...

  • National Instruments NI USB-621x - page 8

    Contents NI USB-621x User Manual viii ni.com Chapter 7 Analog Output Analog Output Circuitry ......................... .............. .............. .............. ................. ............ 7-1 AO Range ................... .............. .............. ........... .............. ............... .............. .............. ... 7 -2 Minimizing ...

  • National Instruments NI USB-621x - page 9

    Contents © National Instruments Corpor ation ix NI USB-621x User Manual Pulse-Width Measurement ............ .............. .............. .............. ................. ....... 9-5 Single Pulse-Width Measurement .................... ............... .............. .... 9-5 Buffered Pulse-Width Meas urement ...................... .............. . ...

  • National Instruments NI USB-621x - page 10

    Contents NI USB-621x User Manual x ni.com Counter n A, Counter n B, and Counter n Z Signals .... .............. .............. ...... 9-28 Routing Signals to A, B, and Z Count er Inputs ............ .............. ...... 9-28 Counter n Up_Down Signal ................... .............. .............. ............... .............. 9-28 Counter n HW ...

  • National Instruments NI USB-621x - page 11

    Contents © National Instruments Corpor ation xi NI USB-621x User Manual Chapter 11 Isolation and Di gital Isolators Digital Isolation ................. .............. .............. .............. ............... .............. .............. ....... 1 1-2 Benefits of an Isolated DAQ Device ................ ... .............. .............. ...... ...

  • National Instruments NI USB-621x - page 12

    Contents NI USB-621x User Manual xii ni.com Appendix B Troubleshooting Appendix C Technical Support and Professional Services Glossary Index Device Pinouts Figure A-1. USB-6210 Pinout ........ .................................................................... ...... A-2 Figure A-2. USB-6211/6215 Pi nout .. ........................................ ...

  • National Instruments NI USB-621x - page 13

    © National Instruments Corporat ion xiii NI USB-621x User Manual About This Manual The NI 621x User Manual contains information abou t using the National Instrument s USB-621 x data acquisition (DA Q) devices with NI-D A Qmx 8.3 and later . NI 621 x de vices feature up to 32 analog input (AI) channels, up to two analog ou tput (A O ) channels, up ...

  • National Instruments NI USB-621x - page 14

    About This Manual NI USB-621x User Manual xiv ni.com Related Documentation Each application software package an d driv er includes inform ation about writing applications for taking measur ements and controlling measurement devices. The follo wing references to documents assume you have NI-D A Q 8.3 or later , and where applicable, version 7.0 or l ...

  • National Instruments NI USB-621x - page 15

    About This Manual © National Instruments Corpor ation xv NI USB-621x User Manual tools. Refer to the following locations on the Contents tab of the LabVIEW Help for info rmation about NI-DA Qmx: • Getting St arted»Gett ing Started wi th D A Q —I ncludes overvie w information and a tutorial to learn how to take an NI-D A Qmx measurement in Lab ...

  • National Instruments NI USB-621x - page 16

    About This Manual NI USB-621x User Manual xvi ni.com .NET Languages without NI Application Software The NI Measurement Studio Help contains function reference and measurement concepts for using th e Measurement Studio NI-D A Qmx .NET and V isual C++ class libraries. This help collection is integ rated into the V isual St udio .NET documentation. In ...

  • National Instruments NI USB-621x - page 17

    © National Instruments Corporat ion 1-1 NI USB-621x User Manual 1 Getting Started Figure 1-1. USB-6210/6211 ...

  • National Instruments NI USB-621x - page 18

    Chapter 1 Getting Started NI USB-621x User Manual 1-2 ni.com Figure 1-2. USB-6215/6218 NI 621 x devices feature up to 32 analog input (AI) channels, up to two analog output (A O) channels, 8 lines of digital inp ut (DI), 8 lines of digital output (DO), and two counters. If you hav e not already installed your device, refer to the NI-D A Qmx for USB ...

  • National Instruments NI USB-621x - page 19

    Chapter 1 Getting Started © National Instruments Corporat ion 1-3 NI USB-621x User Manual Installing the Hardware The NI-D A Qmx for USB Devices Getting Started Guide contains non-software-specif ic information ab out ho w to install USB devices. Device Pinouts Refer to Appendix A , Device-Specific Information , for NI 621 x device pinouts. Device ...

  • National Instruments NI USB-621x - page 20

    © National Instruments Corporat ion 2-1 NI USB-621x User Manual 2 DAQ System Over view Figure 2-1 sho ws a typical D A Q sy stem, which i ncludes sensors, transducers, signal condition ing devi ces, cables that connect the v arious device s to the accessories, the M Serie s device, programming software, and PC. The follo wing sections cov er the c ...

  • National Instruments NI USB-621x - page 21

    Chapter 2 DAQ System Over view NI USB-621x User Manual 2-2 ni.com Figure 2-2. USB-621 x Block Diagram DAQ-STC2 The D A Q-STC2 implemen ts a high-performance digital engine for M Series data acquisition hardware. So me key features of this engine include the following: • Fle xible AI and A O sample and con vert timing • Man y triggering modes ? ...

  • National Instruments NI USB-621x - page 22

    Chapter 2 DAQ System Overview © National Instruments Corporat ion 2-3 NI USB-621x User Manual Factory-calibration constants are permanently stored in an onboard EEPR OM and cannot be mod ified. When you self-calibrate th e device, software stores new constants in a us er -modifiable section of the EEPR OM. T o return a de vice to its initial facto ...

  • National Instruments NI USB-621x - page 23

    Chapter 2 DAQ System Over view NI USB-621x User Manual 2-4 ni.com Programming Devices in Software National Instruments measurement de vices are packaged with NI-D A Q dri ver software, an e xtensiv e library of functions and VIs you can call from your application software, such as LabVIEW or LabW indows/CVI, to program all the features of your NI m ...

  • National Instruments NI USB-621x - page 24

    © National Instruments Corporat ion 3-1 NI USB-621x User Manual 3 Connector Information The I/O Connector Si gnal Descriptions and +5 V Power sections contain information about NI 621 x connectors. Refer to Appen dix A, Device-Specific Information , for device I/O connector pinouts. I/O Connector Signal Descriptions T able 3-1 describes the signal ...

  • National Instruments NI USB-621x - page 25

    Chapter 3 Connector Information NI USB-621x User Manual 3-2 ni.com +5 V Power The +5 V terminals on the I/O connector can be use as either an output or an input. Both terminals are inte rnally connected on the USB-621 x . +5 V Power as an Output Because the USB-621 x de vices are bus po wered, there is a 50 mA limit on the total current that can be ...

  • National Instruments NI USB-621x - page 26

    Chapter 3 Connector Information © National Instruments Corporat ion 3-3 NI USB-621x User Manual +5 V Power as an Input If you hav e high current loads for the digital outp uts to dri ve, you can exceed the 50 mA internal limit b y connecting an external +5 V power source to the +5 V terminals. Thes e terminals are protected against undervoltage an ...

  • National Instruments NI USB-621x - page 27

    © National Instruments Corporat ion 4-1 NI USB-621x User Manual 4 Analog Input Figure 4-1 shows the analog in put circuitry of NI 621 x devices. Figure 4-1. M Series Analog Input Circuitry Analog Input Circuitr y I/O Connector Y ou can connect analog i nput signals to the M Series device through the I/O connector . The proper w ay to connect analo ...

  • National Instruments NI USB-621x - page 28

    Chapter 4 Analog Inpu t NI USB-621x User Manual 4-2 ni.com Ground-Reference Settings The analog input ground-reference settings circu itry selects between differential, referenced s ingle-ended, and non-referenced single-ended input modes. Each AI channel can use a different mode. Instrumentation A mplifier (NI-PG IA) The NI programmable gain instr ...

  • National Instruments NI USB-621x - page 29

    Chapter 4 Analog Input © National Instruments Corporat ion 4-3 NI USB-621x User Manual calibration method im prov es absolute accuracy , bu t it increases the nominal resolution of input ranges by about 5% over what the formula sho wn abov e would indicate. Choose an input rang e that matches the expected input rang e of your signal. A large input ...

  • National Instruments NI USB-621x - page 30

    Chapter 4 Analog Inpu t NI USB-621x User Manual 4-4 ni.com The AI gr o und-r efer ence setting determines how you should connect y our AI signals to the NI 621 x de vice. Refer to Chapter 5, Connecting AI Signals on the USB-6210/ 6211 Devices , section for mor e informatio n. Ground-reference settings are programmed on a per-channel basis. For exam ...

  • National Instruments NI USB-621x - page 31

    Chapter 4 Analog Input © National Instruments Corporat ion 4-5 NI USB-621x User Manual pairs that form dif ferential input channels, refer to the I/O Connector Si gnal Descriptions section of Chapter 3, Connector Information . Caution The maximum input voltages rating of AI signals with respect to AI GND (and for dif ferential signals with respect ...

  • National Instruments NI USB-621x - page 32

    Chapter 4 Analog Inpu t NI USB-621x User Manual 4-6 ni.com Multichannel Scanning Considerations M Series de vices can scan multiple chan nels at high rate s and digitize the signals accurately . Howe v er , you should consider sev eral issues when designing your measurement system to ensure the high accuracy of your measurements. In multichannel sc ...

  • National Instruments NI USB-621x - page 33

    Chapter 4 Analog Input © National Instruments Corporat ion 4-7 NI USB-621x User Manual If your source impedance is high, you can decrease the scan rate to allow the NI-PGIA mo re time to settle. A nother option is to use a voltage follo wer circuit external to your D A Q device to decrease the impedance seen b y the D A Q device. Refer to the Know ...

  • National Instruments NI USB-621x - page 34

    Chapter 4 Analog Inpu t NI USB-621x User Manual 4-8 ni.com Y ou can connect channel 2 to AI GND (o r you can use the internal ground signal; refer to Internal Ch annels in the NI-DA Qmx Help ) . Set the input range of channel 2 to –200 mV to 200 m V to match channel 1. Then scan channels in the order: 0, 2, 1. Inserting a grounded channel betw ee ...

  • National Instruments NI USB-621x - page 35

    Chapter 4 Analog Input © National Instruments Corporat ion 4-9 NI USB-621x User Manual Example 2 If the time relationship between channe ls is not critical, you can sample from the same c hannel multip le times and scan l ess frequently . For example, suppose an application requires av eraging 100 points from channel 0 and av eraging 100 points fr ...

  • National Instruments NI USB-621x - page 36

    Chapter 4 Analog Inpu t NI USB-621x User Manual 4-10 ni.com Buffered In a buf fered acquisition, data is mov ed from the D A Q device’ s onboard F I F O m e m o r y t o a P C bu f f e r u s i n g USB signal streams or progr ammed I/O before it is transferred to appli cation memory . Buf f ered acquisitions typically allo w for much faster transfe ...

  • National Instruments NI USB-621x - page 37

    Chapter 4 Analog Input © National Instruments Corporat ion 4-11 NI U SB-621x User Manual A digital trigger can initiate these acti ons. All NI 621 x devices support digital triggering. NI 621 x devices do not support analog triggering. Field Wiring Considerations En vironmental noise can seriously af f ect the measurement accuracy of the device if ...

  • National Instruments NI USB-621x - page 38

    Chapter 4 Analog Inpu t NI USB-621x User Manual 4-12 ni.com Figure 4-4. Analog Input T iming Options M Series de vices use ai/SampleClock and ai/Conv ertClock to perform interval sampling. As Figure 4-5 sh ows, ai/SampleClock controls the sample period, which is determined by the following equation: 1/Sample Period = Sample Rate Figure 4-5. Int erv ...

  • National Instruments NI USB-621x - page 39

    Chapter 4 Analog Input © National Instruments Corporat ion 4-13 NI U SB-621x User Manual NI-D A Qmx chooses the default con vert rate to allo w for the maximum settling time between con versions. T yp ically , this rate is the sampling rate for the task multiplied by the number of channels in the task. Note The sampling rate is the fastest you can ...

  • National Instruments NI USB-621x - page 40

    Chapter 4 Analog Inpu t NI USB-621x User Manual 4-14 ni.com Figure 4-7. Pretriggered Data Ac quisition Example If an ai/ReferenceT rigger pulse occurs before the specified number of pretrigger samples are acquired, the trigger pulse is ignored. Otherwise, when the ai/ReferenceT rigger pulse occurs, the sample counter v alue decrements until the spe ...

  • National Instruments NI USB-621x - page 41

    Chapter 4 Analog Input © National Instruments Corporat ion 4-15 NI U SB-621x User Manual Using an Inte rnal Source One of the follo wing internal signals can dri ve ai/SampleClock. • Counter n Internal Output • AI Sample Clock Timebase (di vided down) •A s o f t w a r e p u l s e A programma ble inte rnal counter d i vides do wn t he sample ...

  • National Instruments NI USB-621x - page 42

    Chapter 4 Analog Inpu t NI USB-621x User Manual 4-16 ni.com to AI Con vert Clock Signal for more information abou t the timing requirements between ai/Con v e rtClock and ai/SampleClock. Figure 4-8 shows the relationship of ai/SampleClock to ai/StartTrigger . Figure 4-8. ai/SampleCl ock and ai/St artT rigger AI Sample Clock Ti mebase Signal Y ou ca ...

  • National Instruments NI USB-621x - page 43

    Chapter 4 Analog Input © National Instruments Corporat ion 4-17 NI U SB-621x User Manual channel to allow for adequate settling time. This scheme enables the channels to approximate simultaneous samp ling and still allow for adequate settling time. If the AI Sample Clo ck rate is too fast to allow for this 10 µs of padding, NI-D A Qmx chooses the ...

  • National Instruments NI USB-621x - page 44

    Chapter 4 Analog Inpu t NI USB-621x User Manual 4-18 ni.com Figure 4-9 shows the relationship of ai/SampleClock to ai/Con vertClock. Figure 4-9. ai/SampleCl ock and ai/ConvertCloc k Other Timing Requirements The sample and con v ersion lev el timing of M Series de vices work such that clock signals are gated of f unless the proper timin g requir em ...

  • National Instruments NI USB-621x - page 45

    Chapter 4 Analog Input © National Instruments Corporat ion 4-19 NI U SB-621x User Manual Figure 4-10. ai/SampleClo ck T oo Fast Figure 4-11. ai/ConvertClock T oo Fast Figure 4-12. ai/SampleClock and ai/C onver tClock Improperly Matched • Sample Clock T oo F ast f or Con vert Clock ai/SampleClock ai/Conv er tClock Sample #1 Sample #2 Sample #3 Ch ...

  • National Instruments NI USB-621x - page 46

    Chapter 4 Analog Inpu t NI USB-621x User Manual 4-20 ni.com Figure 4-13. ai/SampleClock and ai/C onvertClock Properly Matched It is also possible to use a single external signal to driv e both ai/SampleClock and ai/Con v ertClock at the same time. In this mode, each tick of the external clock will cause a con version on the ADC. Figure 4-14 shows t ...

  • National Instruments NI USB-621x - page 47

    Chapter 4 Analog Input © National Instruments Corporat ion 4-21 NI U SB-621x User Manual AI Hold Complete Event Signal The AI Hold Complete Event (ai/HoldCompleteEvent) signal generates a pulse after each A/D con version begins. Y ou can route ai/HoldCompleteEvent out to any PFI <4..8> or PFI <12..15> terminal. The polarity of ai/HoldC ...

  • National Instruments NI USB-621x - page 48

    Chapter 4 Analog Inpu t NI USB-621x User Manual 4-22 ni.com The device also uses ai/StartT rig ger to initiate pretriggered D A Q operations. In most p retriggered applications, a software trigger generates ai/StartT rigger . Refer to the AI Reference Trigger Signal section for a complete description of the use of ai/StartT rigger and ai/ReferenceT ...

  • National Instruments NI USB-621x - page 49

    Chapter 4 Analog Input © National Instruments Corporat ion 4-23 NI U SB-621x User Manual Using a Digital Source T o use ai/ReferenceT rigger with a di gital source, specify a source and an edge. The source can be the PFI <0..3> or PFI <8..11> signals. The source also can be one of sev eral internal signals on your D A Q device. Refer t ...

  • National Instruments NI USB-621x - page 50

    Chapter 4 Analog Inpu t NI USB-621x User Manual 4-24 ni.com Getting Started with AI Applications in Software Y ou can use the M Series de vice in the following analog input applications. • Single-point analog in put • Finite analog input • Continuous analog input Y ou can perform these applications through DMA, int errupt, or programmed I/O d ...

  • National Instruments NI USB-621x - page 51

    © National Instruments Corporat ion 5-1 NI USB-621x User Manual 5 Connecting AI Signals on the USB-6210/6211 Devices T able 5-1 summarizes the recommen ded input configuration for both types of signal sources on NI 6210/6211 devices. ...

  • National Instruments NI USB-621x - page 52

    Chapter 5 Connecti ng AI Signals on the USB-6210/6211 Devices NI USB-621x User Manual 5-2 ni.com Table 5-1. Analog Input Configuration AI Ground-Refer ence Setting * Floating Signal Sources (Not Connected to Buildi ng Ground) Ground-Refer enced Signal Sources ** Examples: • Ungrounded thermocouples • Signal conditioning with isolated outputs ? ...

  • National Instruments NI USB-621x - page 53

    Chapter 5 Connecting AI Signal s on the USB-6210/6211 Devices © National Instruments Corporat ion 5-3 NI USB-621x User Manual Connecting Floating Signal Sources What Are Floating Signal Sources? A floating signal sour ce is not connected to t he building ground system, but has an isolated ground-reference point. Some examples of floating signal so ...

  • National Instruments NI USB-621x - page 54

    Chapter 5 Connecti ng AI Signals on the USB-6210/6211 Devices NI USB-621x User Manual 5-4 ni.com In the single-ended modes, more elect rostatic and magnetic noise couples into the signal connections than in D IFF configurations. The coupling is the result of differences in the signal path. Magnetic coupling is proportional to the area between the t ...

  • National Instruments NI USB-621x - page 55

    Chapter 5 Connecting AI Signal s on the USB-6210/6211 Devices © National Instruments Corporat ion 5-5 NI USB-621x User Manual Using Differential Connections for Floating Signal Sources It is important to connect the negati ve lead of a floating source to AI GND (either directly or th rough a bias resistor). Otherwise, the sou rce may float out of ...

  • National Instruments NI USB-621x - page 56

    Chapter 5 Connecti ng AI Signals on the USB-6210/6211 Devices NI USB-621x User Manual 5-6 ni.com Figure 5-2. Differential Connections for Floating Signal Source s with Single Bias Resistor Y ou can fully balance the signal path by connecting anoth er resistor of the same value between the positi ve input and AI GND on the USB-621 x device, as sho w ...

  • National Instruments NI USB-621x - page 57

    Chapter 5 Connecting AI Signal s on the USB-6210/6211 Devices © National Instruments Corporat ion 5-7 NI USB-621x User Manual Figure 5-3. Differential Connections for Floating Signal Sour ce s with Balanced Bias Resistors Both inputs of the NI-PGIA require a DC path to ground in order for the NI-PGIA to work. If the source is A C coupled (capaciti ...

  • National Instruments NI USB-621x - page 58

    Chapter 5 Connecti ng AI Signals on the USB-6210/6211 Devices NI USB-621x User Manual 5-8 ni.com inputs; be aware that there is some ga in error from loading down the source, as sho wn in Figure 5-4. Figure 5-4. Differential Co nnections fo r AC Coupled Floating Sour ces with Balanced Bia s Resistors Using Non-Referenced Single-Ended (NRSE) Connect ...

  • National Instruments NI USB-621x - page 59

    Chapter 5 Connecting AI Signal s on the USB-6210/6211 Devices © National Instruments Corporat ion 5-9 NI USB-621x User Manual connection is shared with all channels rather than being cabled in a twisted pair with the AI+ signal. Using the D A Q Assistant, you can conf igure the channels for RSE or NRSE input modes. Refer to the Configurin g AI Gro ...

  • National Instruments NI USB-621x - page 60

    Chapter 5 Connecti ng AI Signals on the USB-6210/6211 Devices NI USB-621x User Manual 5-10 ni.com The dif ference in ground potenti al be tween two instruments connected to the same building po wer system is typically between 1 and 100 mV , but the diff erence can be much higher if po we r distribution circuits are improperly connected. If a ground ...

  • National Instruments NI USB-621x - page 61

    Chapter 5 Connecting AI Signal s on the USB-6210/6211 Devices © National Instruments Corporat ion 5-11 NI U SB-621x User Manual In the single-ended modes, more elect rostatic and magnetic noise couples into the signal connections than in D IFF configurations. The coupling is the result of differences in the signal path. Magnetic coupling is propor ...

  • National Instruments NI USB-621x - page 62

    Chapter 5 Connecti ng AI Signals on the USB-6210/6211 Devices NI USB-621x User Manual 5-12 ni.com Using Differential Connections for Ground-Referenced Signal Sources Figure 5-7 shows ho w to connect a ground-referenced signal source to the USB-6210/6211 device configured in DIFF mode. Figure 5-7. Differential Co nnections for Ground-Referenced Sign ...

  • National Instruments NI USB-621x - page 63

    Chapter 5 Connecting AI Signal s on the USB-6210/6211 Devices © National Instruments Corporat ion 5-13 NI U SB-621x User Manual Using Non-Referenced Single-E nded (NRSE) Connections for Ground-Referenced Signal Sources Figure 5-8 shows ho w to connect ground-reference signal sources to th e USB-6210/6211 device in NRSE mode. Figure 5-8. Single-End ...

  • National Instruments NI USB-621x - page 64

    © National Instruments Corporat ion 6-1 NI USB-621x User Manual 6 Connecting AI Signals on the USB-6215/6218 Devices Y ou can connect the USB-6215/6218 directly to a v ariety of devices and other signal sources. Make sure the devices you connect to the USB-6215/6218 are compatib le with the input specifications of the module. When connecting vario ...

  • National Instruments NI USB-621x - page 65

    Chapter 6 Connecti ng AI Signals on the USB-6215/6218 Devices NI USB-621x User Manual 6-2 ni.com Refer to Figure 6-1 for an illustr a tion of a dif feren tial connection configuration. Figure 6-1. Connecting a Device to a USB-6215/62 18 Usin g Differen tial Connections 3 A I3 AI 11 4 A I4 AI 12 5 A I5 AI 13 6 A I6 AI 14 7 A I7 AI 15 16* AI 16 AI 24 ...

  • National Instruments NI USB-621x - page 66

    Chapter 6 Connecting AI Signal s on the USB-6215/6218 Devices © National Instruments Corporat ion 6-3 NI USB-621x User Manual The dif ferential connection configuration allows the common-mode noise voltage, V cm , to be rejected duri ng the measurement of V 1 . Y ou must connect the negati ve lead of your sensors and AI GND to a local ground signa ...

  • National Instruments NI USB-621x - page 67

    Chapter 6 Connecti ng AI Signals on the USB-6215/6218 Devices NI USB-621x User Manual 6-4 ni.com Non-Referenced Single-Ended (NRSE) Measurements T o reach a compromise between RSE and differential measurements, you can use an NRSE measurem ent configuration. This configuration allows for a remote sense for the negativ e (–) input of the programma ...

  • National Instruments NI USB-621x - page 68

    © National Instruments Corporat ion 7-1 NI USB-621x User Manual 7 Analog Output Many M Series de vices have analog output functionalit y . NI 621 x devices that support analog output have tw o A O chan nels controlled by a single clock and capable of wav eform generation. Refer to Appendix A, Device-Specific Information , for informatio n about th ...

  • National Instruments NI USB-621x - page 69

    Chapter 7 Analog Output NI USB-621x User Manual 7-2 ni.com D A Cs. It allows you to do wnload the points of a wav eform to your M Series device without host computer interaction. AO Sample Clock The A O Sample Clock signal reads a sample from the D A C FIFO and generates the A O voltage. AO Range The A O Range is ±10 V for NI 621 x devices. Minimi ...

  • National Instruments NI USB-621x - page 70

    Chapter 7 Analog Output © National Instruments Corporat ion 7-3 NI USB-621x User Manual Hardware-timed generations ha ve se veral adv antages ov er software-timed acquisitions: • The time between samples can be m uch shorter . • The timing between samples can b e deterministic. • Hardw are-timed acquisitions can use hardware triggering. Hard ...

  • National Instruments NI USB-621x - page 71

    Chapter 7 Analog Output NI USB-621x User Manual 7-4 ni.com the buf fer at a f ast enough rate to k e ep up with the generation, the buffer will underflo w and cause an error . Analog Output Digital T riggering Analog output supports two dif ferent triggering acti ons: • Start trigger • P ause trigger A digital trigger can init iate these action ...

  • National Instruments NI USB-621x - page 72

    Chapter 7 Analog Output © National Instruments Corporat ion 7-5 NI USB-621x User Manual Analog Output T iming Signals Figure 7-3 summarizes all of the timi ng options provided by the analog output timing eng ine. Figure 7-3. Analog Output T iming Options USB M Series devices feature the follo wing A O (waveform generation) timing signals. • A O ...

  • National Instruments NI USB-621x - page 73

    Chapter 7 Analog Output NI USB-621x User Manual 7-6 ni.com The source also can be one of several internal signals on your D A Q device. Refer to Device Routing in MAX in the NI-D AQmx Help or the LabVIEW 8.x Help for more i nformation. Y ou also can specify whether the waveform generation begins on the rising edge or falling edge of ao/StartTrigger ...

  • National Instruments NI USB-621x - page 74

    Chapter 7 Analog Output © National Instruments Corporat ion 7-7 NI USB-621x User Manual The source also can be one of sev eral other internal signals on your DA Q device. Refer to Device Routing in MAX in the NI-D A Qmx Help or the LabVIEW 8.x Help for mor e informatio n. Y ou also can specify whether the samples are paused when ao/PauseT rigger i ...

  • National Instruments NI USB-621x - page 75

    Chapter 7 Analog Output NI USB-621x User Manual 7-8 ni.com Figure 7-5 shows the relationship of ao/SampleClock to ao/StartTrigger . Figure 7-5. ao/SampleC lock an d ao/StartT rigger AO Sample Clock T imebase Signal The A O Sample Clo ck T imebase (ao/SampleClockTimebase) signal is di vided down to pro vide a source for ao/SampleClock. Y ou can rout ...

  • National Instruments NI USB-621x - page 76

    Chapter 7 Analog Output © National Instruments Corporat ion 7-9 NI USB-621x User Manual Getting Started with AO Applications in Software Y ou can use an NI 62 1 x device in the following an alog ou tput appli cations. • Single-point (on-demand) generation • F inite generatio n • Continuous generation • W aveform generation Y ou can perform ...

  • National Instruments NI USB-621x - page 77

    © National Instruments Corporat ion 8-1 NI USB-621x User Manual 8 Digital I/O NI 621 x devices ha v e eight static digital inpu t lines, P0.<0..7>. These lines also can be used as PFI inputs. NI 621 x devices hav e eight static digital output l ines, P1.<0..8>.These lines also can be used as PFI output. By default the digital output li ...

  • National Instruments NI USB-621x - page 78

    Chapter 8 Digital I/O NI USB-621x User Manual 8-2 ni.com The voltage input and output lev els and the current driv e le vels of the DIO lines are listed in the sp ecifications of your device. Static DIO Y ou can use static DI and DO lines to monitor or cont rol digital signals. All samples of static D I lines and updat es of DO lines are software-t ...

  • National Instruments NI USB-621x - page 79

    Chapter 8 Digital I/O © National Instruments Corporat ion 8-3 NI USB-621x User Manual Connecting Digital I/O Signals The DI and DO signals, P0.<0..7> and P1.<0..7> are referenced to D GND. Digital input applications include receiving TTL signals and sensing external de vice states, such as the st ate of the switch sho wn in the figure. ...

  • National Instruments NI USB-621x - page 80

    Chapter 8 Digital I/O NI USB-621x User Manual 8-4 ni.com Getting Started with DIO Applications in Software Y ou can use the M Series de vice in the follo wing digital I/ O applications: • Static digital input • Static digital output • Digital wav eform generation • Digital wav eform acquisi tion • DI cha nge detection Note For more inform ...

  • National Instruments NI USB-621x - page 81

    © National Instruments Corporat ion 9-1 NI USB-621x User Manual 9 Counters M Series devices hav e two general-purpose 32-b it counter/timers and one frequency generator , as sho wn in Figure 9-1. The general-purpose counter/timers can be used for many measurement and pulse generation applications. Figure 9-1. M Series Counters Counter 0 Counter 0 ...

  • National Instruments NI USB-621x - page 82

    Chapter 9 Counters NI USB-621x User Manual 9-2 ni.com The counters have se ven input signals, although in most applications only a fe w inputs are used. For information about connecting counter signals, refer to the Default Counter/Timer Pinouts section. Counter Input Applications Counting Edges In edge counting appl ications, the co unter counts e ...

  • National Instruments NI USB-621x - page 83

    Chapter 9 Counters © National Instruments Corporat ion 9-3 NI USB-621x User Manual Figure 9-3. Single Point (On-Demand) Edge Counting with Pause T rigger Buffered (Sample Cl ock) Edge Counting W ith b uffered edge counting (edge counting using a sample clock), the counter counts the nu mber of edges on the Source input after the counter is armed. ...

  • National Instruments NI USB-621x - page 84

    Chapter 9 Counters NI USB-621x User Manual 9-4 ni.com Non-Cumulative Buffe red Edge Counting Non-cumulativ e edge counting is similar to buf fered (sample clock) edge counting. Ho wev er , the counter resets after each acti v e edge of the Sample Clock. Y ou can route the Sample Clock to the Gate input of the coun ter . Figure 9-5 shows an e xample ...

  • National Instruments NI USB-621x - page 85

    Chapter 9 Counters © National Instruments Corporat ion 9-5 NI USB-621x User Manual Pulse-Width Measurement In pulse-width measuremen ts, the counter measures the width of a pulse on its Gate input signal. Y ou can configur e the counter to measure the width of high pulses or low pulses on the Gate signal. Y ou can route an internal or externa l pe ...

  • National Instruments NI USB-621x - page 86

    Chapter 9 Counters NI USB-621x User Manual 9-6 ni.com The counter counts the number of edges o n the Source input whi le the Gate input remains acti ve. On each trailing ed ge of the Gate signal, the counter stores the count in a hardware sa ve re gister . A USB Signal Stream transfers the stored values to host memory . Figure 9-7 sho ws an example ...

  • National Instruments NI USB-621x - page 87

    Chapter 9 Counters © National Instruments Corporat ion 9-7 NI USB-621x User Manual Single Period Measurement W ith single period measurement, the counter counts the number of rising (or falling) edges on the Source inp ut occurring between two active edges of the Gate input. On the second activ e edge of the Gate input, the counter stores the coun ...

  • National Instruments NI USB-621x - page 88

    Chapter 9 Counters NI USB-621x User Manual 9-8 ni.com Figure 9-9. Buffered Period Measu rement Note that if you are using an external signal as the Source, at least one Source pulse should occu r between each acti ve edge of the Gate signal. This condition ensures that correct v alues are returned b y th e counter . If this condition is not met, th ...

  • National Instruments NI USB-621x - page 89

    Chapter 9 Counters © National Instruments Corporat ion 9-9 NI USB-621x User Manual Semi-Period Measurement In semi-period measuremen ts, the counter measures a semi-peri od on its Gate input signal after the counter is arme d. A semi-period is the time between any tw o consecuti ve e dges on the Gate input. Y ou can route an internal or externa l ...

  • National Instruments NI USB-621x - page 90

    Chapter 9 Counters NI USB-621x User Manual 9-10 ni.com This condition ensures that correct v alues are returned b y th e counter . If this condition is not met, the count er returns a zero. Refer to the Duplicate Count Prevention section for more information. For information about connecting counter signals, refer to the Default Counter/Timer Pinou ...

  • National Instruments NI USB-621x - page 91

    Chapter 9 Counters © National Instruments Corporat ion 9-11 NI U SB-621x User Manual Method 1b—Measure Low Frequency with One Counter (Averaged) In this method, you measure sev eral periods of your signal using a known timebase. This method is good for low to medium freq uency signals. Y ou can route the signal to measure (F1) to the Gate of a c ...

  • National Instruments NI USB-621x - page 92

    Chapter 9 Counters NI USB-621x User Manual 9-12 ni.com generate the pulse externally and connect it to a PFI terminal. Y ou only need to use one counter if you generate the pulse externally . Route the signal to measure (F1) to the Source of the co unter . Conf igure the counter for a single pulse-width meas urement. Suppose you measure the width o ...

  • National Instruments NI USB-621x - page 93

    Chapter 9 Counters © National Instruments Corporat ion 9-13 NI U SB-621x User Manual Figure 9-14. Method 3 Then route the Counter 0 Internal Output signal to the Gate input of Counter 1. Y ou can route a signal of kno wn freq uenc y (F2) to the Counte r 1 Source input. F2 can be 80MHzTimebase. For signals that might be slo wer than 0.02 Hz, use a ...

  • National Instruments NI USB-621x - page 94

    Chapter 9 Counters NI USB-621x User Manual 9-14 ni.com 80 MHz T imebase. Y our measurement may return 1600 ± 1 cycles depending on the phase of the signal with respect to the timebase. As your frequency becomes larger , this error of ±1 cycle becomes more significant; T ab le 9-2 illustrates this point. • Method 1b (measuring K periods of F1) i ...

  • National Instruments NI USB-621x - page 95

    Chapter 9 Counters © National Instruments Corporat ion 9-15 NI U SB-621x User Manual T able 9-3 summarizes some of the di f ferences in methods of measuring frequency . For information about connecting counter signals, refer to the Default Counter/Timer Pinouts section. Position Measurement Y ou can use the counters to perform position measurement ...

  • National Instruments NI USB-621x - page 96

    Chapter 9 Counters NI USB-621x User Manual 9-16 ni.com Figure 9-15 shows a quadrature c ycle and the resulting increments and decrements for X1 encoding. When channel A leads channel B, the increment occurs on the rising edge of channel A. When channel B leads channel A, the decrement occurs on the f alling edge of channel A. Figure 9-15. X1 Encodi ...

  • National Instruments NI USB-621x - page 97

    Chapter 9 Counters © National Instruments Corporat ion 9-17 NI U SB-621x User Manual Channel Z Behavior Some quadrature encoders hav e a thir d channel, channel Z, which is also referred to as the index channe l. A high lev el on channel Z causes the counter to b e reloaded w ith a specifi ed value in a specif ied phase of the quadrature cycle. Y ...

  • National Instruments NI USB-621x - page 98

    Chapter 9 Counters NI USB-621x User Manual 9-18 ni.com The counter increments on each rising edge of channel A. The counter decrements on each rising edge of channel B, as shown in Figure 9-19. Figure 9-19. Measurements Using T wo Pulse Encoders For information about connecting counter signals, refer to the Default Counter/Timer Pinouts section. T ...

  • National Instruments NI USB-621x - page 99

    Chapter 9 Counters © National Instruments Corporat ion 9-19 NI U SB-621x User Manual Figure 9-20 shows an example of a si ngle two-signal edge-separation measurement. Figure 9-20. Single T wo-Signal Edge-Separation Measurement Buffered T wo-Signal Edge- Separation Measurement Buffered and single two-signal edge-sep aration measurements are similar ...

  • National Instruments NI USB-621x - page 100

    Chapter 9 Counters NI USB-621x User Manual 9-20 ni.com Counter Output Applications Simple Pulse Generation Single Pulse Generation The counter can output a single pulse. The pulse appears on the Counter n Internal Output sign al of the counter . Y ou can specify a delay from when the counter is armed to the beginning of the pulse. The delay i s mea ...

  • National Instruments NI USB-621x - page 101

    Chapter 9 Counters © National Instruments Corporat ion 9-21 NI U SB-621x User Manual Figure 9-23 shows a generation of a pulse with a pulse del ay of four and a pulse width of three (using the rising edge of Source). Figure 9-23. Single Pulse Generation with Start T rigger Retriggerable Single Pulse Generation The counter can output a single pulse ...

  • National Instruments NI USB-621x - page 102

    Chapter 9 Counters NI USB-621x User Manual 9-22 ni.com Pulse T rain Generation Continuous Pulse T rain Generation This function generates a train of pul ses with programmab le frequency and duty cycle. The pulses appear on the Counter n Internal Outp ut signal of the counter . Y ou can specify a delay from when the counter is armed to the beginning ...

  • National Instruments NI USB-621x - page 103

    Chapter 9 Counters © National Instruments Corporat ion 9-23 NI U SB-621x User Manual Frequency Generation Y ou can generate a frequency b y using a counter in pulse train generation mode or by using the frequency generator circuit. Using the Frequency Generator The frequency generator can output a square wav e at many dif ferent frequencies. The f ...

  • National Instruments NI USB-621x - page 104

    Chapter 9 Counters NI USB-621x User Manual 9-24 ni.com Frequency Output can be routed out to any PFI <4..7> or PFI <12..15> terminal. All PFI terminals are set to high-impedance at startup. The FREQ OUT signal also can be routed to DO Sample Clock and DI Sample Clock. In software, program th e frequency ge nerator as you would program o ...

  • National Instruments NI USB-621x - page 105

    Chapter 9 Counters © National Instruments Corporat ion 9-25 NI U SB-621x User Manual frequency of the system. Figure 9-28 sho ws an e xample of pulse generation for ETS; the delay from the trigger to the pulse increases after each subsequent Gate activ e edge. Figure 9-28. Pulse Generation for ETS For information about connecting counter signals, ...

  • National Instruments NI USB-621x - page 106

    Chapter 9 Counters NI USB-621x User Manual 9-26 ni.com Counter n Source Signal The selected edge of the Counter n Source signal increments and decrements the counter v alue dependin g on the application the counter is performing. T able 9-4 lists how this terminal is used in various applications. Routing a Signal to Counter n Source Each counter ha ...

  • National Instruments NI USB-621x - page 107

    Chapter 9 Counters © National Instruments Corporat ion 9-27 NI U SB-621x User Manual Counter n Gate Signal The Counter n Gate signal can perform many dif ferent operations depending on the application includi ng starting and stopping the counter, and saving the counter contents. Routing a Signal to Counter n Gate Each counter has independent input ...

  • National Instruments NI USB-621x - page 108

    Chapter 9 Counters NI USB-621x User Manual 9-28 ni.com Output, Counter 0 Gate, Counter 0 Source, or Co unter 1 Gate can be routed to Counter 1 Aux. Some of these options may not be av ailable in some driv er software. Counter n A, Counter n B, and Counter n Z Signals Counter n B can control the direction of counting in edge counting applications. U ...

  • National Instruments NI USB-621x - page 109

    Chapter 9 Counters © National Instruments Corporat ion 9-29 NI U SB-621x User Manual Some of these options may not be av ailable in some driv er software. Counter n Internal Output and Counter n TC Signals Counter n TC is an internal signal that asserts when the counter value is 0. The Counter n Internal Output signal changes in resp onse to Count ...

  • National Instruments NI USB-621x - page 110

    Chapter 9 Counters NI USB-621x User Manual 9-30 ni.com CTR 0 B 2 (PFI 1) CTR 1 SRC 4 (PFI 3) CTR 1 GA TE 3 (PFI 2) CTR 1 A UX 4 (PFI 3) CTR 1 OUT 7 (PFI 5) CTR 1 A 4 (PFI 3) CTR 1 Z 2 (PFI 1) CTR 1 B 3 (PFI 2) FREQ OUT 8 (PFI 6) Table 9-6. Default NI-DAQmx C ounter/T imer Pins for USB-6218 Devices Counter/Timer Signal Default T erminal Number (Name ...

  • National Instruments NI USB-621x - page 111

    Chapter 9 Counters © National Instruments Corporat ion 9-31 NI U SB-621x User Manual Y ou can use these defaults or select other sources and destinations for the counter/timer si gnals in NI-DA Qmx. Refer to Con necting Counter Signals in the NI-D A Qmx Help or the LabVIEW 8.x Help for more informati on about how to connect your signals for common ...

  • National Instruments NI USB-621x - page 112

    Chapter 9 Counters NI USB-621x User Manual 9-32 ni.com the signal goes high or vice versa. F or continuous pulse generati ons, the counter stops generating pulses while the external trigger signal is low and resumes when the signal goes high or vice versa. When using a pause t rigger , the paus e trigger source is routed to the Counter n Gate signa ...

  • National Instruments NI USB-621x - page 113

    Chapter 9 Counters © National Instruments Corporat ion 9-33 NI U SB-621x User Manual Cascading Counters Y ou can internally route th e Counter n Internal Output and Counter n TC signals of each counter to Gate input s of the other counter . By cascading two counters together , you can eff ecti vely create a 64-bit counter . By cascading counters, ...

  • National Instruments NI USB-621x - page 114

    Chapter 9 Counters NI USB-621x User Manual 9-34 ni.com The filter setting for each input can be conf igured independently . On power up, the filters are dis abled. Figure 9- 30 shows an e xample of a low to high transition on an input that has its filter set to 125 ns (N = 5). Figure 9-30. Filter Example Enabling filters introduces jitter on the in ...

  • National Instruments NI USB-621x - page 115

    Chapter 9 Counters © National Instruments Corporat ion 9-35 NI U SB-621x User Manual Figure 9-31. Pres caling Prescaling is intended to be used for frequency measurement where the measurement is made on a continu ous, repetiti ve signal. The prescaling counter cannot be read; therefore, you cannot determ ine ho w many edges hav e occurred since th ...

  • National Instruments NI USB-621x - page 116

    Chapter 9 Counters NI USB-621x User Manual 9-36 ni.com Example Application That W orks Correctly (No Duplicate Counting) Figure 9-32 shows an e xternal buf fered signal as the period measurement Source. Figure 9-32. Duplicate Count Pr evention Example On the first rising edge of Gate, the current count of 7 is stored. On the next rising edge of Gat ...

  • National Instruments NI USB-621x - page 117

    Chapter 9 Counters © National Instruments Corporat ion 9-37 NI U SB-621x User Manual Example Application That W orks Incorrectly (Duplicate Counting) In Figure 9-33, after the first rising edge of Gate, no Source pulses occur , so the counter does not write th e correct data to the buf fer . Figure 9-33. Duplicate Count Example Example Application ...

  • National Instruments NI USB-621x - page 118

    Chapter 9 Counters NI USB-621x User Manual 9-38 ni.com Even if the Source pulses are long, the counter increments only once for each Source pulse. Normally , the coun ter value and Counter n Internal Output signals change synchronously to the Source signal. W ith duplicate count p rev ention, the counter value and Counter n Internal Output signals ...

  • National Instruments NI USB-621x - page 119

    © National Instruments Corporat ion 10-1 NI USB-621x User Manual 10 PFI NI 621 x devices ha ve up to eight input and eight output Programmab le Function Interface (PFI) signals, which also can be used as static digital input or static digital ou tput signals. Each input PFI can be indi vidual ly conf igured as the following: • A static di gital ...

  • National Instruments NI USB-621x - page 120

    Chapter 10 PFI NI USB-621x User Manual 10-2 ni.com Figure 10-2. NI 621 x PFI Output Cir cuitry When a terminal is used as a t iming input or output signal , it is called PFI x . When a terminal is used as a static digital input or output , it is called P0. x or P1. x . On the I/O connector , each terminal is labeled PFI x /P0 or PFI x /P1. The volt ...

  • National Instruments NI USB-621x - page 121

    Chapter 10 PFI © National Instruments Corporat ion 10-3 NI USB-621x User Manual Most functions allow you to configure the polarity of PFI inputs and whether the input is edge or lev el sensitiv e. Exporting T iming Output Signals Using PFI T erminals Y ou can route any of the following timing signals to any PFI output terminal. • AI Conv ert Clo ...

  • National Instruments NI USB-621x - page 122

    Chapter 10 PFI NI USB-621x User Manual 10-4 ni.com Figure 10-3. PFI Input Signals Connections PFI Filters Y ou can enable a programmable debouncing filter on each PFI signal. When the f ilters are enabled, your de vice samples the input on each ris ing edge of a filter clock. M Series de vices use an onboard oscillator to generate the filter clock ...

  • National Instruments NI USB-621x - page 123

    Chapter 10 PFI © National Instruments Corporat ion 10-5 NI USB-621x User Manual The filter setting for each input can be conf igured independently . On power up, the filters are dis abled. Figure 10-4 shows an e xample of a lo w to high transition on an input that has its filter set to 125 ns (N = 5). Figure 10-4. Filter Example Enabling filters i ...

  • National Instruments NI USB-621x - page 124

    Chapter 10 PFI NI USB-621x User Manual 10-6 ni.com I/O Protection Each DI, DO, and PFI signal is protected against o verv oltage, undervoltage, and o vercurrent condition s as well as ES D e v ents. Ho wev er , you should avoid these fault conditions by following these guidelines. •D o not connect a DO or PFI output lines to any external signal s ...

  • National Instruments NI USB-621x - page 125

    © National Instruments Corporat ion 11-1 NI USB-621x User Manual 11 Isolation and Digital Isolators USB-6215/6218 devices are isolated data acquisition devices. As sho wn in Figure 11-1, the analog input, analo g output, counters, PFI/static DI, and PFI/static DO circuitry , and digital routi ng and clock generat ion are referenced to an isolat ed ...

  • National Instruments NI USB-621x - page 126

    Chapter 11 Isolati on and Digital Isolators NI USB-621x User Manual 11-2 ni.com The isolated ground is an input to th e USB-6215/6218 device. The user must connect this g round to the grou nd of system being m easured or controlled. Refer to Chapter 5, Connecting AI Signals on the USB-6210/6211 Devices , Chapter 6, Co nnecting AI Signals on the USB ...

  • National Instruments NI USB-621x - page 127

    Chapter 11 Isolation and Digi tal Isolators © National Instruments Corporat ion 11-3 NI USB-621x User Manual Switching voltages through the transformer cause charging and discharging of the parasitic capacitances and inductances in the switch ing power supplies that occur on ev ery switch cycle, resulting in high-speed currents flowing through the ...

  • National Instruments NI USB-621x - page 128

    Chapter 11 Isolati on and Digital Isolators NI USB-621x User Manual 11-4 ni.com Add an AC return path from the device isolated ground t o earth ground. For non-isolated systems, an AC return path is only needed for high or source impedances. An A C return path can be created by connecting a capacitor between the device’ s isolated ground and eart ...

  • National Instruments NI USB-621x - page 129

    © National Instruments Corporat ion 12-1 NI USB-621x User Manual 12 Digital Routing and Clock Generation The digital routing circuitry has the following main functions. • Manages the flow of data be tween the bus interf ace and the acquisition/generat ion sub-systems (analog inpu t, analog output, digital I/O, and the counters). The digital rout ...

  • National Instruments NI USB-621x - page 130

    Chapter 12 Digital Ro uting and Clock Generation NI USB-621x User Manual 12-2 ni.com 100 kHz T imebase The 100 kHz T imebase can be used to generate many of the AI and A O timing signals. The 100 kHz Timebase al so can be used as the Source input to the 32-bit general-pur pose counter/timers. The 100 kHz T imebase is generated by di viding down the ...

  • National Instruments NI USB-621x - page 131

    © National Instruments Corporat ion 13-1 NI USB-621x User Manual 13 Bus Interface The b us interface circuitry of M Serie s de vices ef f iciently mov es data between host memory and the measurement and acquisition circuits. All M Series de vices are jumperless fo r complete plug-and-play operation. The operating system automatically a ssigns the ...

  • National Instruments NI USB-621x - page 132

    Chapter 13 Bus Interface NI USB-621x User Manual 13-2 ni.com Programmed I/O Programmed I/O is a data transfer m echanism where the user’ s program is responsible for transferring data. Each read or write call in the program initiates the transfer of data. P rogrammed I/O is typically used in software-timed (on-demand) operations. Refer t o the So ...

  • National Instruments NI USB-621x - page 133

    © National Instruments Corporat ion 14-1 NI USB-621x User Manual 14 T riggering A trigger is a signal that caus es an action, such as starting or stopping the acquisition of data. When you configure a trigger , you must decide how you want to produce the trigger and the action yo u want the trigger to cause. All M Series devices support internal s ...

  • National Instruments NI USB-621x - page 134

    Chapter 14 T riggering NI USB-621x User Manual 14-2 ni.com Y ou also can program your D A Q device to perform an action in response t o a trigger from a digital source. Th e action can af fect the follo wing: • Anal og input acquisition • Anal og output generation • Counter beha vior ...

  • National Instruments NI USB-621x - page 135

    © National Instruments Corporat ion A-1 NI USB-621x User Manual A Device-Specific Information This appendix contains device pinout s, specif ications, cable and accessory choices, and other information for the following USB M Series devices. • USB-6210 • USB-6211/6215 • USB 6218 T o obtain documentat ion for devices not listed h ere, refer t ...

  • National Instruments NI USB-621x - page 136

    Appendix A Device-Speci fic Information NI USB-621x User Manual A-2 ni.com Figure A-1. USB-6210 Pinout Table A-1. Default NI-DAQmx Counter/T imer Pins Counter/Timer Signal Default T erminal Number (Name) CTR 0 SRC 1 (PFI 0) CTR 0 GA TE 2 (PFI 1) CTR 0 A UX 1 (PFI 0) CTR 0 OUT 6 (PFI 4) CTR 0 A 1 (PFI 0) 5678 1 2 3 4 13 14 15 16 9 1 01 11 2 AI 1 AI ...

  • National Instruments NI USB-621x - page 137

    Appendix A Device-Specific Information © National Instruments Corporat ion A-3 NI USB-621x User Manual Note For more information abou t default NI-D A Qmx coun ter inputs, refer to Connecting Counter Signals in the NI-DA Qmx Help or the LabVIEW 8.x Help . USB-6210 Specifications Refer to the NI 621x Specifications for more detailed information abo ...

  • National Instruments NI USB-621x - page 138

    Appendix A Device-Speci fic Information NI USB-621x User Manual A-4 ni.com USB-6211/6215 USB-6211/6215 Pinout Figure A-2 shows the pinout of the NI 6211/6215. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector Information . Single-blink Operating normally . Connected to USB Hi-S ...

  • National Instruments NI USB-621x - page 139

    Appendix A Device-Specific Information © National Instruments Corporat ion A-5 NI USB-621x User Manual Figure A-2. USB-6211/6215 Pinout Table A-3. Default NI-DAQmx Counter/T imer Pins Counter/Timer Signal Default T erminal Number (Name) CTR 0 SRC 1 (PFI 0) CTR 0 GA TE 2 (PFI 1) CTR 0 A UX 1 (PFI 0) CTR 0 OUT 6 (PFI 4) CTR 0 A 1 (PFI 0) CTR 0 Z 2 ( ...

  • National Instruments NI USB-621x - page 140

    Appendix A Device-Speci fic Information NI USB-621x User Manual A-6 ni.com Note For more information abou t default NI-D A Qmx coun ter inputs, refer to Connecting Counter Signals in the NI-DA Qmx Help or the LabVIEW 8.x Help . USB-6211/6215 Specifications Refer to the NI 621x Specifications for more detailed information about the USB-6211/6215 dev ...

  • National Instruments NI USB-621x - page 141

    Appendix A Device-Specific Information © National Instruments Corporat ion A-7 NI USB-621x User Manual USB 6218 USB 6218 Pinout Figure A-3 shows the pinout of the NI 6218. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector Information . Single-blink O perating normally . Connec ...

  • National Instruments NI USB-621x - page 142

    Appendix A Device-Speci fic Information NI USB-621x User Manual A-8 ni.com Figure A-3. USB 6218 Pinout Table A-5. Default NI-DAQmx Counter/T imer Pins Counter/Timer Signal Default T erminal Number ( Name) CTR 0 SRC 1 (PFI 0) CTR 0 GA TE 2 (PFI 1) CTR 0 A UX 34 (PFI 9) CTR 0 OUT 6 (PFI 4) CTR 0 A 1 (PFI 0) CTR 0 Z 2 (PFI 1) AI 1 AI 9 AI 2 AI 10 AI 3 ...

  • National Instruments NI USB-621x - page 143

    Appendix A Device-Specific Information © National Instruments Corporat ion A-9 NI USB-621x User Manual Note For more information abou t default NI-D A Qmx coun ter inputs, refer to Connecting Counter Signals in the NI-DA Qmx Help or the LabVIEW 8.x Help . USB 6218 Specifications Refer to the NI 621x Specifications for more detailed information abo ...

  • National Instruments NI USB-621x - page 144

    Appendix A Device-Speci fic Information NI USB-621x User Manual A-10 ni.com Single-blink O perating normally . Connected to USB Hi-Speed port. Refer to the NI 621x Specifications for more informatio n. Double-blink Connected to USB full speed port. Device performance might be affected. Refer to the NI 621x Specifications for more informatio n. Tabl ...

  • National Instruments NI USB-621x - page 145

    © National Instruments Corporat ion B-1 NI USB-621x User Manual B T roubleshooting This section contains common questi ons about M Series devices. If your questions are not answered here, refer to the Natio nal Instruments KnowledgeBase at ni.com/kb . Analog Input I am seeing crosstalk or ghost v o ltages when samp ling multi ple channels. What do ...

  • National Instruments NI USB-621x - page 146

    Appendix B T roubleshootin g NI USB-621x User Manual B-2 ni.com are various methods of achie ving this reference while maintai ning a high common-mode rejection ratio (CMRR ). These methods are outlined in Chapter 5, Connecting AI Signals on the USB-6210/6211 Devices and Chapter 6, Connecting AI Signals on the USB-6215/6218 Devices . AI GND is an A ...

  • National Instruments NI USB-621x - page 147

    Appendix B T roubleshootin g © National Instruments Corporat ion B-3 NI USB-621x User Manual Analog Output I am seeing glitches on the outp ut signal. Ho w can I minimize it? When you use a D A C to generate a wa veform, you may observe glitches on the output signal. These glitches are normal; when a DA C switches from one voltage to another , it ...

  • National Instruments NI USB-621x - page 148

    © National Instruments Corporat ion C-1 NI USB-621x User Manual C T echnical Support and Professional Ser vices Visit the following sections of the National Instruments Web site at ni.com for technical support an d professional services: • Support —Online technical support resources at ni.com/support include the following: – Self-Help Resour ...

  • National Instruments NI USB-621x - page 149

    Appendix C T echnical Support and Professional Ser vices NI USB-621x User Manual C-2 ni.com • Calibration Certificate —If your product supports calibration, you can obtain t he calibration certificate for your product at ni.com/ calibration . If you searched ni.com and could not find the answers you need, contact your local off ice or NI corpor ...

  • National Instruments NI USB-621x - page 150

    © National Instruments Corporat ion G-1 NI USB-621x User Manual Glossar y Numbers/Symbols % Percent. + Positiv e of, or plus. – Neg ativ e of, or minus. ± Plus or minus. < Less than. > Greater than. ≤ Less than or equal to. ≥ Greater than or equal to. /P e r . º Degree. Ω Ohm. A A Amperes—the unit of electric current. A/D Analog-t ...

  • National Instruments NI USB-621x - page 151

    Glossary NI USB-621x User Manual G-2 ni.co m AI 1. Analog input. 2. Anal og input channel signal. AI GND Analog input ground signal. AI SENSE Analog input sense signal. analog A signal whose amplitude can ha ve a continuous range of v alues. analog input signal An input signal that varies smoothly ov er a continuous range of values, rather than in ...

  • National Instruments NI USB-621x - page 152

    Glossary © National Instruments Corporat ion G-3 NI USB-621x User Manual ASIC Application-specific integrated circuit—A proprietary semiconduct or component designed and manufactur ed to perform a set of specific functions for a specif ic customer . asynchronous 1. Hardware—A prop erty of an ev ent that occurs at an arbitrary time, without syn ...

  • National Instruments NI USB-621x - page 153

    Glossary NI USB-621x User Manual G-4 ni.co m cascading Process of extending the count ing ra nge of a counter chip b y connecting to the next higher counter . CE European emissions control standard. channel Pin or wire lead to which you apply or from which you read the analog or digital si gnal. Analog sign als can be single-ended or dif ferential. ...

  • National Instruments NI USB-621x - page 154

    Glossary © National Instruments Corporat ion G-5 NI USB-621x User Manual counter/timer A circuit that counts external pulses or clock pulses (timing). D D GND Digital grou nd signal. D-SUB connector A serial connector . D A C Digital-to-Analog Con verter—An elect ronic device, often an inte grated circuit, that con verts a digital number into a ...

  • National Instruments NI USB-621x - page 155

    Glossary NI USB-621x User Manual G-6 ni.co m data transfer A technique for moving digital data from one system to another . Options for data transfer are DMA, interrupt, and programmed I/O. For programmed I/O transfers, the CPU in the PC reads data from the D A Q device whenev er the CPU recei ves a soft ware signal to ac quire a single data point. ...

  • National Instruments NI USB-621x - page 156

    Glossary © National Instruments Corporat ion G-7 NI USB-621x User Manual digital trigger A TTL level signal ha ving two discrete lev els—A high and a low le v el. DIO Digital input/ou tput. DMA Direct Memory Access—A method by which data can be tran sferred to/ from computer memory from /to a de vice or memory on the b us while the processor d ...

  • National Instruments NI USB-621x - page 157

    Glossary NI USB-621x User Manual G-8 ni.co m F FIFO First- In-First-Out mem ory buf fer—A data buf fering technique that functions like a shift register where the oldest values (f irst in) come out first. Many D A Q products and instruments use FIFOs to b uffer digital data from an A/D con verter , or to buf f er the data before or after bus tran ...

  • National Instruments NI USB-621x - page 158

    Glossary © National Instruments Corporat ion G-9 NI USB-621x User Manual function 1. A built-in ex ecution element, co mparable to an operator , function, or statement in a con v entional language. 2. A set of so ftware instructions executed by a single line of code that may hav e input and/or output parameters and returns a value when ex ecuted. ...

  • National Instruments NI USB-621x - page 159

    Glossary NI USB-621x User Manual G-10 ni.com impedance 1. The electrical characteristic of a circuit expressed in ohms and/or capacitance/inductance. 2. Resistance. in. Inch or inches. instrument driv er A set of high-lev el software functions that controls a specif ic GPIB, VXI, or RS232 programmable instrument or a specific plug-in D A Q device. ...

  • National Instruments NI USB-621x - page 160

    Glossary © National Instruments Corporat ion G-11 NI U SB-621x User Manual L LabVIEW A graphical programming language. LED Light-Emitting Di ode—A semiconductor l ight source. lowpass filter A filter that passes signals below a cutof f frequency while blocking signals abov e that frequency . LSB Least Significant Bit. M m Meter . M Series An arc ...

  • National Instruments NI USB-621x - page 161

    Glossary NI USB-621x User Manual G-12 ni.com monotonicity A characteristic of a DA C in whic h the analog output always increases as the values of the digital code input to it increase. multichannel Pertaining to a radio-co mmunication system t hat operates on more than one channel at the same time. The indi vidu al channels might contain identical ...

  • National Instruments NI USB-621x - page 162

    Glossary © National Instruments Corporat ion G-13 NI U SB-621x User Manual NRSE Non-Referenced Single-Ended mo de—All measurements are made with respect to a common (NRSE) measur ement system reference, b ut the voltage at this reference can v ary w ith respect to the measurement system ground. O of fset The unwanted DC voltage due to amplifier ...

  • National Instruments NI USB-621x - page 163

    Glossary NI USB-621x User Manual G-14 ni.com Plug and Play devices Devices that do not require DIP switches or jumpers to configure resources on the devices. Also called switchless de vices port. 1. A com munications connection on a computer or a remote controller; 2. A dig ital port, consisting of four or eight lines of digital input and/or output ...

  • National Instruments NI USB-621x - page 164

    Glossary © National Instruments Corporat ion G-15 NI U SB-621x User Manual Q quadrature encoder An encoding technique for a rotating device where two tracks of information are placed on the de vice, wi th the signals on the tracks of fset by 90° from each other . This makes it possible to detect the direction of the motion. R range The maximum an ...

  • National Instruments NI USB-621x - page 165

    Glossary NI USB-621x User Manual G-16 ni.com scan One or more analog or digital input samples. T ypically , the number of input samples in a scan is equal to the number of channels in the input group . For example, one pulse from the scan cl ock produces one scan which acquires one new sample from e very analog input channel in the group. scan inte ...

  • National Instruments NI USB-621x - page 166

    Glossary © National Instruments Corporat ion G-17 NI U SB-621x User Manual single-ended output A circu it whose output signal is present between one output terminal and ground. software applications The programs that run on your com puter and perform a specific user - oriented function, such as acco unting, program de velopment, measurement, or da ...

  • National Instruments NI USB-621x - page 167

    Glossary NI USB-621x User Manual G-18 ni.com T imebase The reference signals for controlling the basic accuracy of time or frequency-based measurements. For inst ruments, timebase refe rs to the accuracy of the internal clock. t out Output delay time. T raditional NI-DA Q (Legac y) An upgrade to the earlier version of NI-D A Q. T raditi onal NI-D A ...

  • National Instruments NI USB-621x - page 168

    Glossary © National Instruments Corporat ion G-19 NI U SB-621x User Manual V g Ground loop voltage. V IH V olts, inp ut high. V IL V olts, inp ut lo w . V in V olts in . V m Measured voltage. V OH V olts, output hi gh. V OL V olts, output low . V out V olts out. V s Signal source voltage. virtual channel See channel . W wa veform 1. The plot of th ...

  • National Instruments NI USB-621x - page 169

    © National Instruments Corporat ion I-1 NI U SB-621x User Manual Index Symbols +5 V po wer input, 3-3 +5 V po wer output, 3-2 +5 V po wer source, 3-2 .NET languages documentatio n, xvi Numerics 100 kHz Timebase, 12-2 20 MHz T imebase, 12-1 80 MHz T imebase, 12-1 A A/D con verter, 4-2 A C return path, creating, 11-3 accessories choosing for your de ...

  • National Instruments NI USB-621x - page 170

    Index NI USB-621x User Manual I-2 ni.com AI Sample Clock Timebase, 4-16 AI Start T rigger, 4-21 analog output, 7-1 circuitry, 7-1 connecting signals, 7-4 data generation methods, 7-2 fundamentals, 7-1 getting started with applications in software, 7-9 glitches on the output si gnal, 7-2 timing signals, 7-5 triggering, 7-4 troubleshooting, B-3 analo ...

  • National Instruments NI USB-621x - page 171

    Index © National Instruments Corporat ion I-3 NI U SB-621x User Manual ground-referenced signal sources, 5-9 PFI input signals, 10-3 connections for floating si gnal sources, 5-9 single-ended for floating signal sources, 5-9 single-ended, RSE configuration, 5-9 connector information, 3-1 USB-6210 pinout, A-1 USB-6211 pinout, A-4 USB-6215 pinout, A ...

  • National Instruments NI USB-621x - page 172

    Index NI USB-621x User Manual I-4 ni.com Declaration of Conformity (NI resources), C-1 default counter terminals, 9-29 NI-D A Qmx co unter/timer pins, 9-29 pins, 9-29 device information, A-1 pinouts, 1-3 specifications, 1-3, A-1 USB-6210, A-1 USB-6211, A-4 USB-6215, A-4 USB-6218, A-7 diagnostic tools (NI resources), C-1 DIFF connections using with ...

  • National Instruments NI USB-621x - page 173

    Index © National Instruments Corporat ion I-5 NI U SB-621x User Manual F features, counter, 9-32 field wiring considerations, 4-11 fil t e rs counter, 9-33 PFI, 10-4 floating signal sources connecting, 5-3 description, 5-3 using in differential mode, 5-5 using in NRSE mode, 5-8 using in RSE mode, 5-9 when to use in differential mode, 5-3 when to u ...

  • National Instruments NI USB-621x - page 174

    Index NI USB-621x User Manual I-6 ni.com instrumentation amplifier, 4-2 interface, b us, 13-1 isolated D A Q de vices, 11-1 benefits, 11-2 common-mode noise, 11 -2 isolators, 11-1 K Kno wledgeBase, C-1 L LabVIEW documentation, xiv LabW indo ws/CVI documentation , xv LED USB-6210, A-3 USB-6211, A-6 USB-6215, A-6 USB-6218, A-9 lo w impedance sources, ...

  • National Instruments NI USB-621x - page 175

    Index © National Instruments Corporat ion I-7 NI U SB-621x User Manual when to use with groun d-referenced signal sources, 5-10 NRSE connections using with floating signal sources, 5-8 using with grou nd-referenced signal sources, 5-13 when to use with floating signal sources, 5-4 when to use with groun d-referenced signal sources, 5-10 O on-deman ...

  • National Instruments NI USB-621x - page 176

    Index NI USB-621x User Manual I-8 ni.com when to use with groun d-referenced signal sources, 5-11 related documentation, xiv retriggerable single pu lse generation, 9-21 routing digital, 12-1 RSE configuration, 5-9 RSE connections using with floating signal sources, 5-9 when to use with floating signal sources, 5-3 when to use with groun d-referenc ...

  • National Instruments NI USB-621x - page 177

    Index © National Instruments Corporat ion I-9 NI U SB-621x User Manual software configuring AI ground-reference settings, 4-5 programming devices, 2-4 software (NI resources), C-1 software-timed acquisitions, 4-9 generations, 7-2 specifications, A-1 device, 1-3 USB-6210, A-3 USB-6211, A-6 USB-6215, A-6 USB-6218, A-9 start trigger, 9-31 static DIO, ...

  • National Instruments NI USB-621x - page 178

    Index NI USB-621x User Manual I-10 ni.com USB-6218, A-7 analog input signals, 6-1 LED, A-9 pinout, A-7 specifications, A-9 using lo w impedance sources, 4-6 using PFI termin als as static digital I/Os, 10-3 as timing input signals, 10-2 to export timing output signals, 10-3 W wav eform ge neration signals, 7-5 W eb resources, C-1 X X1 encoding, 9-1 ...

Manufacturer National Instruments Category Network Card

Documents that we receive from a manufacturer of a National Instruments NI USB-621x can be divided into several groups. They are, among others:
- National Instruments technical drawings
- NI USB-621x manuals
- National Instruments product data sheets
- information booklets
- or energy labels National Instruments NI USB-621x
All of them are important, but the most important information from the point of view of use of the device are in the user manual National Instruments NI USB-621x.

A group of documents referred to as user manuals is also divided into more specific types, such as: Installation manuals National Instruments NI USB-621x, service manual, brief instructions and user manuals National Instruments NI USB-621x. Depending on your needs, you should look for the document you need. In our website you can view the most popular manual of the product National Instruments NI USB-621x.

A complete manual for the device National Instruments NI USB-621x, how should it look like?
A manual, also referred to as a user manual, or simply "instructions" is a technical document designed to assist in the use National Instruments NI USB-621x by users. Manuals are usually written by a technical writer, but in a language understandable to all users of National Instruments NI USB-621x.

A complete National Instruments manual, should contain several basic components. Some of them are less important, such as: cover / title page or copyright page. However, the remaining part should provide us with information that is important from the point of view of the user.

1. Preface and tips on how to use the manual National Instruments NI USB-621x - At the beginning of each manual we should find clues about how to use the guidelines. It should include information about the location of the Contents of the National Instruments NI USB-621x, FAQ or common problems, i.e. places that are most often searched by users in each manual
2. Contents - index of all tips concerning the National Instruments NI USB-621x, that we can find in the current document
3. Tips how to use the basic functions of the device National Instruments NI USB-621x - which should help us in our first steps of using National Instruments NI USB-621x
4. Troubleshooting - systematic sequence of activities that will help us diagnose and subsequently solve the most important problems with National Instruments NI USB-621x
5. FAQ - Frequently Asked Questions
6. Contact detailsInformation about where to look for contact to the manufacturer/service of National Instruments NI USB-621x in a specific country, if it was not possible to solve the problem on our own.

Do you have a question concerning National Instruments NI USB-621x?

Use the form below

If you did not solve your problem by using a manual National Instruments NI USB-621x, ask a question using the form below. If a user had a similar problem with National Instruments NI USB-621x it is likely that he will want to share the way to solve it.

Copy the text from the picture

Comments (0)