background image

DAQ M Series

NI USB-621

x

 User Manual

Bus-Powered M Series USB Devices

NI USB-621x User Manual

ni.com/manuals

Deutsch

Français

April 2009
371931F-01

Summary of Contents for USB-6210

Page 1: ...DAQ M Series NI USB 621x User Manual Bus Powered M Series USB Devices NI USB 621x User Manual ni com manuals Deutsch Fran ais April 2009 371931F 01...

Page 2: ...banon 961 0 1 33 28 28 Malaysia 1800 887710 Mexico 01 800 010 0793 Netherlands 31 0 348 433 466 New Zealand 0800 553 322 Norway 47 0 66 90 76 60 Poland 48 22 328 90 10 Portugal 351 210 311 210 Russia...

Page 3: ...including photocopying recording storing in an information retrieval system or translating in whole or in part without the prior written consent of National Instruments Corporation National Instrument...

Page 4: ...Pinouts 1 2 Device Specifications 1 2 Applying Signal Labels to the USB 621x 1 3 USB Cable Strain Relief 1 4 Mounting the USB 621x 1 6 Desktop Use 1 6 DIN Rail Mounting 1 6 Panel Mounting 1 7 USB Devi...

Page 5: ...4 11 AI Sample Clock Signal 4 14 Using an Internal Source 4 14 Using an External Source 4 14 Routing AI Sample Clock to an Output Terminal 4 14 Other Timing Requirements 4 14 AI Sample Clock Timebase...

Page 6: ...enced Signal Sources 4 31 When to Use Differential Connections with Ground Referenced Signal Sources 4 32 When to Use Non Referenced Single Ended Connections with Ground Referenced Signal Sources 4 32...

Page 7: ...nnecting Digital I O Signals on USB 6210 6211 6215 6218 Devices 6 3 Getting Started with DIO Applications in Software on USB 6210 6211 6215 6218 Devices 6 4 Digital I O on USB 6212 6216 Devices 6 4 St...

Page 8: ...t 8 15 Measurements Using Quadrature Encoders 8 16 Measurements Using Two Pulse Encoders 8 18 Buffered Sample Clock Position Measurement 8 18 Two Signal Edge Separation Measurement 8 19 Single Two Sig...

Page 9: ...quency Output Signal 8 31 Routing Frequency Output to a Terminal 8 31 Default Counter Timer Pinouts 8 32 Counter Triggering 8 33 Other Counter Features 8 34 Sample Clock 8 34 Cascading Counters 8 35 C...

Page 10: ...am 11 1 Data Transfer Methods 11 1 Changing Data Transfer Methods 11 2 Chapter 12 Triggering Triggering with a Digital Source 12 1 Appendix A Device Specific Information USB 6210 A 2 USB 6211 6215 A 4...

Page 11: ...t A 2 Figure A 2 USB 6211 6215 Pinout A 4 Figure A 3 USB 6212 6216 Screw Terminal Pinout A 6 Figure A 4 USB 6212 6216 Mass Termination Pinout A 9 Figure A 5 USB 6212 6216 BNC Top Panel and Pinout A 14...

Page 12: ...The symbol leads you through nested menu items and dialog box options to a final action The sequence File Page Setup Options directs you to pull down the File menu select the Page Setup item and selec...

Page 13: ...AQmx for USB Devices Getting Started Guide describes how to install your NI DAQmx for Windows software your NI DAQmx supported DAQ device and how to confirm that your device is operating properly Sele...

Page 14: ...ence Help contains C reference and general information about measurement concepts In Windows select Start All Programs National Instruments NI DAQmx Base Documentation C Function Reference Help Note A...

Page 15: ...ins measurement concepts for NI DAQmx This book also contains Taking an NI DAQmx Measurement in LabWindows CVI which includes step by step instructions about creating a measurement task using the DAQ...

Page 16: ...l Instruments data acquisition devices to develop instrumentation acquisition and control applications Select Start All Programs National Instruments NI DAQ NI DAQmx C Reference Help NET Languages wit...

Page 17: ...ce Documentation directory and double click the Device Documents shortcut for your language to find view and print device documents Training Courses If you need more help getting started developing an...

Page 18: ...de which you can download from ni com manuals offers NI DAQmx users step by step instructions for installing software and hardware configuring channels and tasks and getting started developing an appl...

Page 19: ...libration using Measurement Automation Explorer MAX by completing the following steps 1 Launch MAX 2 Select My System Devices and Interfaces NI DAQmx Devices your device 3 Initiate self calibration us...

Page 20: ...labels with pin numbers or signal names or blank labels Choose one of the labels align the correct label with the terminals printed on the top panel of your device or the 16 position combicon connecto...

Page 21: ...e the USB cable groove that matches your USB cable size as shown in Figure 1 2a Zip Tie Method USB 621x Screw Terminal Mass Termination Devices Thread a zip tie through the zip tie bar on the undersid...

Page 22: ...e as shown in Figure 1 3 Figure 1 3 USB Cable Strain Relief on USB 621x BNC Devices Note You can provide cable management for signal wires to from the screw terminals and BNC connectors on USB 621x BN...

Page 23: ...Screw Terminal Mass Termination Devices For secure desktop use adhere the supplied rubber non skid feet to the underside of the USB 621x device as shown in Figure 1 4 Note Do not apply the rubber fee...

Page 24: ...he device Note Apply strain relief as described in the USB Cable Strain Relief section before panel mounting the USB 621x 1 Download and print the panel mounting template PDF attached in the Knowledge...

Page 25: ...h the USB 621x top screw hole into the panel USB Device Security Cable Slot USB 621x BNC Devices The security cable slot shown in Figure 1 3 allows you to attach an optional antitheft device to your U...

Page 26: ...ccessory connection The following sections contain more information about the components of a typical DAQ system Figure 2 1 Components of a Typical DAQ System DAQ Hardware DAQ hardware digitizes signa...

Page 27: ...er timer modules with hardware gating Static DI DO and DIO signals USB Hi Speed 2 0 interface Up to four USB Signal Streams for acquisition and generation functions Calibration Circuitry The USB 621x...

Page 28: ...nd multiplexing In addition many transducers require excitation currents or voltages bridge completion linearization or high amplification for proper and accurate operation Therefore most computer bas...

Page 29: ...B 621x Mass Termination devices BNC Cables for USB 621x BNC Devices Use standard BNC cables with the USB 621x BNC device The BNC Male Plug to BNC Male Plug Cables Kit part number 779697 01 contains fo...

Page 30: ...ples to help you get started developing an application You can modify example code and save it in an application You can use examples to develop a new application or add example code to an existing ap...

Page 31: ...round These terminals are the reference point for single ended AI measurements in RSE mode and the bias current return point for differential measurements All three ground references AI GND AO GND and...

Page 32: ...P1 0 7 D GND Output USB 6210 6211 6215 6218 Devices Programmable Function Interface or Static Digital Output Channels 0 to 7 You can route many different internal AI AO or counter timer outputs to ea...

Page 33: ...t them from short circuit conditions1 If your USB 621x device has more than one 5 V terminal you can connect the external power supply to one terminal and use the other as a power source USER USB 621x...

Page 34: ...to ni com info and entering the info code earthground You can attach a wire to the ground lug screw of any USB 621x BNC device as shown in Figure 3 1 Figure 3 1 Grounding a USB 621x BNC Device throug...

Page 35: ...ion Fuse Location 4 Replace the device top and reattach with the screws Note Unscrewing and reinstalling the thread forming screws over time will produce a compromised connection between the device to...

Page 36: ...D Status LED State Device Status Not lit Device not powered or device error Refer to ni com support if device is powered On not blinking Device error Refer to ni com support Single blink Operating nor...

Page 37: ...Reference Settings section Also refer to Appendix A Device Specific Information for device I O connector pinouts Mux Each USB 621x device has one analog to digital converter ADC The multiplexers mux...

Page 38: ...is lost USB 621x devices can handle multiple A D conversion operations with DMA interrupts or programmed I O Isolation Barrier and Digital Isolators Refer to Chapter 9 Isolation and Digital Isolators...

Page 39: ...SENSE input The AI ground reference setting determines how you should connect your AI signals to the USB 621x device For more information refer to one of the following sections depending on your devi...

Page 40: ...ferred to as AI terminal configuration Caution The maximum input voltages rating of AI signals with respect to AI GND and for differential signals with respect to each other are listed in the NI USB 6...

Page 41: ...tage measurement using the NI DAQmx C API set the terminalConfig property Refer to the NI DAQmx C Reference Help for more information Multichannel Scanning Considerations USB 621x devices can scan mul...

Page 42: ...l to your DAQ device to decrease the impedance seen by the DAQ device Refer to the KnowledgeBase document Decreasing the Source Impedance of an Analog Input Signal by going to ni com info and entering...

Page 43: ...4 V signal is connected to channel 0 and a 1 mV signal is connected to channel 1 Suppose the input range for channel 0 is 10 V to 10 V and the input range of channel 1 is 200 mV to 200 mV You can conn...

Page 44: ...settle from 8 s to 4 s In some cases the slower scan rate system returns more accurate results Example 2 If the time relationship between channels is not critical you can sample from the same channel...

Page 45: ...ne point at a time One property of buffered I O operations is the sample mode The sample mode can be either finite or continuous Finite sample mode acquisition refers to the acquisition of a specific...

Page 46: ...routing in general Minimize noise pickup and maximize measurement accuracy by taking the following precautions Use differential AI connections to reject common mode noise Use individually shielded twi...

Page 47: ...gure 4 4 Analog Input Timing Options USB 621x devices use AI Sample Clock ai SampleClock and AI Convert Clock ai ConvertClock to perform interval sampling As Figure 4 5 shows AI Sample Clock controls...

Page 48: ...r two channels at 125 kS s per channel illustrates the relationship Posttriggered data acquisition allows you to view only data that is acquired after a trigger event is received A typical posttrigger...

Page 49: ...e Clock until the value reaches zero The sample counter is then loaded with the number of posttriggered samples in this example three Figure 4 7 Pretriggered Data Acquisition Example If an AI Referenc...

Page 50: ...mple clock timebase Using an External Source Use any input PFI line as the source of AI Sample Clock Routing AI Sample Clock to an Output Terminal You can route AI Sample Clock out to any output PFI t...

Page 51: ...Convert Clock Signal section for more information about the timing requirements between AI Convert Clock and AI Sample Clock Figure 4 8 shows the relationship of AI Sample Clock to AI Start Trigger F...

Page 52: ...ng NI DAQmx chooses the conversion rate so that the AI Convert Clock pulses are evenly spaced throughout the sample To explicitly specify the conversion rate use AI Convert Clock Rate DAQmx Timing pro...

Page 53: ...s are met For example the device ignores both AI Sample Clock and AI Convert Clock until it receives a valid AI Start Trigger signal Once the device recognizes an AI Sample Clock pulse it ignores subs...

Page 54: ...erly Matched Leads To Aperiodic Sampling Figure 4 13 AI Sample Clock and AI Convert Clock Properly Matched AI Sample Clock AI Convert Clock Sample 1 Sample 2 Sample 3 Channel Measured 1 2 3 0 1 2 3 0...

Page 55: ...or AI Convert Clock Use one of the following signals as the source of AI Convert Clock Timebase AI Sample Clock Timebase 20 MHz Timebase AI Convert Clock Timebase is not available as an output on the...

Page 56: ...can be any of the following signals USB 6210 6211 6215 Devices PFI 0 3 USB 6212 6216 Devices PFI 0 15 USB 6218 Devices PFI 0 3 PFI 8 11 Counter n Internal Output The source also can be one of several...

Page 57: ...nce trigger condition If the reference trigger condition occurs before the DAQ device captures the specified number of pretrigger samples the DAQ device ignores the condition If the buffer becomes ful...

Page 58: ...o pause and resume a measurement acquisition The internal sample clock pauses while the external trigger signal is active and resumes when the signal is inactive You can program the active level of th...

Page 59: ...programming analog input applications and triggers in software refer to the NI DAQmx Help or the LabVIEW Help in version 8 0 or later Connecting Analog Input Signals on USB 6210 6211 6212 Devices Tab...

Page 60: ...tions of the RSE NRSE and DIFF modes and software considerations Refer to the Connecting Ground Referenced Signal Sources section for more information Note USB 621x BNC Devices Refer to the appropriat...

Page 61: ...ter than 3 m 10 ft The input signal requires a separate ground reference point or return signal The signal leads travel through noisy environments Two analog input channels AI and AI are available for...

Page 62: ...Single Ended Connections with Floating Signal Sources Only use non referenced single ended input connections if the input signal meets the following conditions The input signal is high level greater t...

Page 63: ...Signal Sources without Bias Resistors However for larger source impedances this connection leaves the differential signal path significantly off balance Noise that couples electrostatically onto the p...

Page 64: ...USB 6210 6211 6212 device as shown in Figure 4 18 This fully balanced configuration offers slightly better noise rejection but has the disadvantage of loading the source down with the series combinat...

Page 65: ...he source but small enough not to produce significant input offset voltage as a result of input bias current typically 100 k to 1 M In this case connect the negative input directly to AI GND If the so...

Page 66: ...Floating Signal Sources All of the bias resistor configurations discussed in the Using Differential Connections for Floating Signal Sources section apply to the non referenced single ended bias resis...

Page 67: ...figure the channels for referenced single ended or non referenced single ended input modes Refer to the Configuring AI Ground Reference Settings in Software section for more information about the DAQ...

Page 68: ...quires a separate ground reference point or return signal The signal leads travel through noisy environments Two analog input channels AI and AI are available Differential signal connections reduce no...

Page 69: ...mode noise in the signal and the ground potential difference between the signal source and the device ground Refer to the Using Non Referenced Single Ended Connections for Ground Referenced Signal So...

Page 70: ...d Referenced Signal Sources With this type of connection the NI PGIA rejects both the common mode noise in the signal and the ground potential difference between the signal source and the device groun...

Page 71: ...d reference to AI SENSE AI SENSE is internally connected to the negative input of the NI PGIA Therefore the ground point of the signal connects to the negative input of the NI PGIA Any potential diffe...

Page 72: ...module When connecting various sources to the USB 6215 6216 6218 you can use differential single ended or a combination of single ended and differential connections Note You must always connect AI GND...

Page 73: ...Using the referenced single ended measurement configuration allows the USB 6215 6216 6218 to take measurements on all AI channels when all channels share a common ground Figure 4 25 shows an reference...

Page 74: ...for a remote sense for the negative input of the instrumentation amplifier PGIA that is shared among all channels configured for non referenced single ended mode The behavior of this configuration is...

Page 75: ...B 621x devices Figure 5 1 USB 621x Analog Output Circuitry The main blocks featured in the USB 621x analog output circuitry are as follows DAC0 and DAC1 Digital to analog converters DACs convert digit...

Page 76: ...ches depending on the frequency and nature of the output signal Visit ni com support for more information about minimizing glitches Analog Output Data Generation Methods When performing an analog outp...

Page 77: ...continues until you stop the operation There are three methods of continuous generation that control what data is written These methods are regeneration FIFO regeneration and non regeneration modes Re...

Page 78: ...AO Pause Trigger Signal sections for more information about these triggering actions Connecting Analog Output Signals AO 0 1 are the voltage output signals for AO channels 0 and 1 AO GND is the ground...

Page 79: ...O Sample Clock Timebase Signal AO Start Trigger Signal Use the AO Start Trigger ao StartTrigger signal to initiate a waveform generation If you do not use triggers you can begin a generation with a so...

Page 80: ...e the generation of AO samples in a DAQ sequence That is when AO Pause Trigger is active no samples occur If the AO Sample Clock is derived from AO Sample Clock Timebase for example when you choose th...

Page 81: ...ger specify a source and a polarity The source can be any input PFI signal The source also can be one of several other internal signals on your USB 621x device Refer to Device Routing in MAX in the NI...

Page 82: ...ble internal counter divides down the AO Sample Clock Timebase signal Using an External Source Use any input PFI line as the source of AO Sample Clock Routing AO Sample Clock to an Output Terminal You...

Page 83: ...AO Sample Clock Timebase signal 20 MHz Timebase 100 kHz Timebase USB 6211 6215 Devices PFI 0 3 USB 6212 6216 Devices PFI 0 15 USB 6218 Devices PFI 0 3 PFI 8 11 AO Sample Clock Timebase is not availab...

Page 84: ...eneration Finite generation Continuous generation Waveform generation You can perform these generations through programmed I O or USB Signal Stream data transfer mechanisms Some of the applications al...

Page 85: ...se lines also can be used as PFI inputs USB 6210 6211 6215 6218 devices have up to eight static digital output lines P1 0 7 These lines also can be used as PFI output By default the digital output lin...

Page 86: ...DI lines and updates of DO lines are software timed I O Protection on USB 6210 6211 6215 6218 Devices Each DI DO and PFI signal is protected against overvoltage undervoltage and overcurrent conditions...

Page 87: ...de receiving TTL signals and sensing external device states such as the state of the switch shown in the figure Digital output applications include sending TTL signals and driving external devices suc...

Page 88: ...software refer to the NI DAQmx Help or the LabVIEW Help in version 8 0 or later Digital I O on USB 6212 6216 Devices USB 6212 6216 devices contain Up to 16 DIO signals P0 0 15 Each signal can be indi...

Page 89: ...gainst overvoltage undervoltage and overcurrent conditions as well as ESD events However you should avoid these fault conditions by following these guidelines If you configure a PFI or DIO line as an...

Page 90: ...ore information about setting power up states in NI DAQmx or MAX Increasing Current Drive on USB 6212 6216 Devices The total internal current limit for digital outputs and power drawn from the 5 V ter...

Page 91: ...Applications in Software on USB 6212 6216 Devices You can use the USB 6212 6216 device in the following digital I O applications Static digital input Static digital output Note For more information ab...

Page 92: ...nfigured as the following A static digital output A timing output signal from AI AO or counter timer functions Note USB 6212 6216 Devices PFI signals on USB 6212 6216 devices can be configured as inpu...

Page 93: ...ing PFI Terminals as Timing Input Signals Use PFI terminals to route external timing signals to many different USB 621x functions Each input PFI terminal can be routed to any of the following signals...

Page 94: ...HoldCompleteEvent AI Reference Trigger ai ReferenceTrigger AI Sample Clock ai SampleClock AI Start Trigger ai StartTrigger AO Sample Clock ao SampleClock AO Start Trigger ao StartTrigger Counter n So...

Page 95: ...rs You can enable a programmable debouncing filter on each PFI signal When the filters are enabled your device samples the input on each rising edge of a filter clock USB 621x devices use an onboard o...

Page 96: ...25 ns N 5 Figure 7 4 Filter Example Enabling filters introduces jitter on the input signal For the 125 ns and 6 425 s filter settings the jitter is up to 25 ns On the 2 56 ms setting the jitter is up...

Page 97: ...have a smaller operating range than the AI signals Treat the DAQ device as you would treat any static sensitive device Always properly ground yourself and the equipment when handling the DAQ device o...

Page 98: ...621x Counters Counter 0 Counter 0 Source Counter 0 Timebase Counter 0 Aux Counter 0 HW Arm Counter 0 A Counter 0 B Counter 0 Up_Down Counter 0 Z Counter 0 Gate Counter 0 Internal Output Counter 0 TC I...

Page 99: ...ng up or down The counter values can be read on demand or with a sample clock Single Point On Demand Edge Counting With single point on demand edge counting the counter counts the number of edges on t...

Page 100: ...sampled on each active edge of a sample clock A USB Signal Stream transfers the sampled values to host memory The count values returned are the cumulative counts since the counter armed event that is...

Page 101: ...th a known period to the Source input of the counter The counter counts the number of rising or falling edges on the Source signal while the pulse on the Gate signal is active You can calculate the pu...

Page 102: ...hile the Gate input remains active On each trailing edge of the Gate signal the counter stores the count in a hardware save register A USB Signal Stream transfers the stored values to host memory Figu...

Page 103: ...the counter The counter counts the number of rising or falling edges occurring on the Source input between the two active edges of the Gate signal You can calculate the period of the Gate input by mul...

Page 104: ...e middle of a period of the Gate input The counter does not store a measurement for this incomplete period Figure 8 8 shows an example of a buffered period measurement In this example a period is defi...

Page 105: ...od Measurement In semi period measurements the counter measures a semi period on its Gate input signal after the counter is armed A semi period is the time between any two consecutive edges on the Gat...

Page 106: ...value for this incomplete semi period Figure 8 9 shows an example of a buffered semi period measurement Figure 8 9 Buffered Semi Period Measurement Note that if you are using an external signal as the...

Page 107: ...good for low frequency signals You can route the signal to measure F1 to the Gate of a counter You can route a known timebase Ft to the Source of the counter The known timebase can be 80MHzTimebase F...

Page 108: ...n timebase can be 80MHzTimebase For signals that might be slower than 0 02 Hz use a slower known timebase You can configure the counter to make K 1 buffered period measurements Recall that the first p...

Page 109: ...can generate the pulse externally and connect it to a PFI terminal You only need to use one counter if you generate the pulse externally Route the signal to measure F1 to the Source of the counter Co...

Page 110: ...0 as shown in Figure 8 13 Assume this signal to measure has frequency F1 Configure Counter 0 to generate a single pulse that is the width of N periods of the source input signal Figure 8 13 Method 3 T...

Page 111: ...uency corresponds to 1 600 cycles of the 80 MHz Timebase Your measurement may return 1 600 1 cycles depending on the phase of the signal with respect to the timebase As your frequency becomes larger t...

Page 112: ...ces in methods of measuring frequency For information about connecting counter signals refer to the Default Counter Timer Pinouts section Position Measurement You can use the counters to perform posit...

Page 113: ...he type of encoding X1 X2 or X4 Figure 8 14 shows a quadrature cycle and the resulting increments and decrements for X1 encoding When channel A leads channel B the increment occurs on the rising edge...

Page 114: ...ffers with quadrature encoder designs You must refer to the documentation for your quadrature encoder to obtain timing of channel Z with respect to channels A and B You must then ensure that channel Z...

Page 115: ...lock Position Measurement With buffered position measurement position measurement using a sample clock the counter increments based on the encoding used after the counter is armed The value of the cou...

Page 116: ...ive edge occurs on the Aux input the counter counts the number of rising or falling edges on the Source The counter ignores additional edges on the Aux input The counter stops counting upon receiving...

Page 117: ...easurement Figure 8 20 Single Two Signal Edge Separation Measurement Buffered Two Signal Edge Separation Measurement Buffered and single two signal edge separation measurements are similar but buffere...

Page 118: ...ration Single Pulse Generation The counter can output a single pulse The pulse appears on the Counter n Internal Output signal of the counter You can specify a delay from when the counter is armed to...

Page 119: ...a delay from the Start Trigger to the beginning of the pulse You also can specify the pulse width The delay and pulse width are measured in terms of a number of active edges of the Source input After...

Page 120: ...tion For information about connecting counter signals refer to the Default Counter Timer Pinouts section Pulse Train Generation Continuous Pulse Train Generation This function generates a train of pul...

Page 121: ...er n Internal Output signal is equal to the frequency of the Source input divided by M N For information about connecting counter signals refer to the Default Counter Timer Pinouts section Finite Puls...

Page 122: ...r generates the Frequency Output signal The Frequency Output signal is the Frequency Output Timebase divided by a number you select from 1 to 16 The Frequency Output Timebase can be either the 20 MHz...

Page 123: ...ive edge on Gate the counter cumulatively increments the delay between the Gate and the pulse on the output by a specified amount Thus the delay between the Gate and the pulse produced successively in...

Page 124: ...uts section Counter Timing Signals USB 621x devices feature the following counter timing signals Counter n Source Signal Counter n Gate Signal Counter n Aux Signal Counter n A Signal Counter n B Signa...

Page 125: ...11 6215 Devices PFI 0 3 USB 6212 6216 Devices PFI 0 15 USB 6218 Devices PFI 0 3 PFI 8 11 In addition Counter 1 TC or Counter 1 Gate can be routed to Counter 0 Source Counter 0 TC or Counter 0 Gate can...

Page 126: ...AI Sample Clock ai SampleClock AI Convert Clock ai ConvertClock AO Sample Clock ao SampleClock In addition Counter 1 Internal Output or Counter 1 Source can be routed to Counter 0 Gate Counter 0 Inter...

Page 127: ...ent input selectors for each of the A B and Z inputs You can route any input PFI signal to each input Counter n Up_Down Signal Counter n Up_Down is another name for the Counter n B signal Counter n HW...

Page 128: ...e Counter n Internal Output signal changes in response to Counter n TC The two software selectable output options are pulse output on TC and toggle output on TC The output polarity is software selecta...

Page 129: ...nals in the NI DAQmx Help or the LabVIEW Help in version 8 0 or later for more information about how to connect your signals for common counter measurements and generations USB 621x default PFI lines...

Page 130: ...igger can be configured to begin a finite or continuous pulse generation Once a continuous generation has triggered the pulses continue to generate until you stop the operation in software For finite...

Page 131: ...iod to measure The counter begins counting rising edges of Source t2 The rising edge of Sample Clock indicates that the USB 621x device should store the result of the measurement of the current period...

Page 132: ...clock with a 40 MHz frequency Note NI DAQmx only supports filters on counter inputs The following is an example of low to high transitions of the input signal High to low transitions work similarly As...

Page 133: ...o and rolls over This counter can run faster than the larger counters which simply count the rollovers of this smaller counter Thus the prescaler acts as a frequency divider on the Source and puts out...

Page 134: ...uld store the number of times an external Source pulses between rising edges on the Gate signal Example Application That Works Correctly No Duplicate Counting Figure 8 33 shows an external buffered si...

Page 135: ...r does not write the correct data to the buffer Figure 8 34 Duplicate Count Example Example Application That Prevents Duplicate Count With duplicate count prevention the counter synchronizes both the...

Page 136: ...chronously to the Source signal With duplicate count prevention the counter value and Counter n Internal Output signals change synchronously to the 80 MHz Timebase Enabling Duplicate Count Prevention...

Page 137: ...d clock generation are referenced to an isolated ground as shown in Figure 9 1 Figure 9 1 USB 6215 6216 6218 Block Diagram The bus interface circuitry is referenced to a non isolated ground The follow...

Page 138: ...evices section of Chapter 6 Digital I O The Connecting PFI Input Signals section of Chapter 7 PFI Digital Isolation USB 6215 6216 6218 devices use digital isolators Unlike analog isolators digital iso...

Page 139: ...on parasitic resistances causing voltage spikes These voltage spikes are called common mode noise a noise source that travels in the ground and is therefore common to both the ground and any signal re...

Page 140: ...pacitor between the isolated board ground and earth ground The voltage rating of the capacitor must be larger than the voltage drop between the isolated ground and earth ground Non Isolated Systems A...

Page 141: ...User input through the PFI terminals Routes and generates the main clock signals for the USB 621x device 80 MHz Timebase The 80 MHz Timebase can be used as the Source input to the 32 bit general purpo...

Page 142: ...each measurement and acquisition block Analog input Analog output Counter 0 Counter 1 Data Transfer Methods The two primary ways to transfer data across the USB bus are as follows USB Signal Stream A...

Page 143: ...ni com Changing Data Transfer Methods USB 621x devices have four dedicated USB Signal Stream channels To change your data transfer mechanism between USB Signal Streams and programmed I O use the Data...

Page 144: ...ng sections The Analog Input Digital Triggering section of Chapter 4 Analog Input The Analog Output Digital Triggering section of Chapter 5 Analog Output The Counter Triggering section of Chapter 8 Co...

Page 145: ...ser Manual 12 2 ni com You also can program your USB 621x device to perform an action in response to a trigger from a digital source The action can affect the following Analog input acquisition Analog...

Page 146: ...s USB 6210 USB 6211 6215 USB 6212 6216 Screw Terminal USB 6212 6216 Mass Termination USB 6212 6216 BNC USB 6218 Screw Terminal USB 6218 BNC Refer to the NI USB 621x Specifications available on the NI...

Page 147: ...s section of Chapter 3 Connector and LED Information Figure A 1 USB 6210 Pinout 5 6 7 8 1 2 3 4 13 14 15 16 9 10 11 12 AI 1 AI 9 AI 2 AI 10 AI 3 AI 11 AI SENSE AI 4 AI 12 AI 5 AI 13 AI GND AI 6 AI 14...

Page 148: ...DAQmx Help or the LabVIEW Help in version 8 0 or later Table A 1 Default NI DAQmx Counter Timer Pins Counter Timer Signal Default Terminal Number Name CTR 0 SRC 1 PFI 0 CTR 0 GATE 2 PFI 1 CTR 0 AUX 1...

Page 149: ...nal Descriptions section of Chapter 3 Connector and LED Information Figure A 2 USB 6211 6215 Pinout 5 6 7 8 1 2 3 4 13 14 15 16 9 10 11 12 AI 1 AI 9 AI 2 AI 10 AI 3 AI 11 AI SENSE AI 4 AI 12 AI 5 AI 1...

Page 150: ...DAQmx Help or the LabVIEW Help in version 8 0 or later Table A 2 Default NI DAQmx Counter Timer Pins Counter Timer Signal Default Terminal Number Name CTR 0 SRC 1 PFI 0 CTR 0 GATE 2 PFI 1 CTR 0 AUX 1...

Page 151: ...I 5 AI 13 AI GND AI 6 AI 14 AI 7 AI 15 PFI 0 P1 0 PFI 1 P1 1 PFI 2 P1 2 PFI 3 P1 3 D GND PFI 4 P1 4 PFI 5 P1 5 PFI 6 P1 6 PFI 7 P1 7 5 V D GND AO 0 AO 1 AO GND AI 0 AI 8 5 6 7 8 1 2 3 4 13 14 15 16 9...

Page 152: ...p or the LabVIEW Help in version 8 0 or later Table A 3 Default NI DAQmx Counter Timer Pins Counter Timer Signal Default Terminal Number Name CTR 0 SRC 33 PFI 8 CTR 0 GATE 34 PFI 9 CTR 0 AUX 35 PFI 10...

Page 153: ...Mass Termination USB 6212 6216 Mass Termination Pinout Figure A 4 shows the pinout of the USB 6212 Mass Termination and USB 6216 Mass Termination For a detailed description of each signal refer to th...

Page 154: ...AI GND AI 3 AI 10 AI GND AI 1 AI 8 D GND PFI 8 P2 0 PFI 7 P1 7 PFI 13 P2 5 PFI 4 P1 4 PFI 3 P1 3 PFI 2 P1 2 D GND PFI 15 P2 7 D GND PFI 10 P2 2 PFI 11 P2 3 P0 3 P0 7 P0 2 D GND P0 5 P0 0 D GND AO GND...

Page 155: ...ompatibility EMC requirements this product must be operated with shielded cables and accessories If unshielded cables or accessories are used the EMC specifications are no longer guaranteed unless all...

Page 156: ...des BNC connectivity to all analog signals some digital signals and spring terminals for other digital signals BNC 2111 Provides BNC connectivity to 16 single ended analog input signals two analog out...

Page 157: ...ndividually shielded twisted pair of wires Analog outputs are also individually shielded R68 68 Highly flexible unshielded ribbon cable Custom Cabling and Connectivity The CA 1000 is a configurable en...

Page 158: ...13 NI USB 621x User Manual USB 6212 6216 BNC USB 6212 6216 BNC Pinout Figure A 5 shows the pinout of the USB 6212 BNC and USB 6216 BNC For a detailed description of each signal refer to the I O Connec...

Page 159: ...I USB 621x User Manual A 14 ni com Figure A 5 USB 6212 6216 BNC Top Panel and Pinout NI USB 6212 6216 AI x AI x GS 0 1 F 5 k AI GND FS USB 621x Device Floating Source AI x AI x GS 0 1 F 5 k AI GND FS...

Page 160: ...ced signal GS source Refer to the Connecting Analog Input Signals on USB 6210 6211 6212 Devices or Connecting Analog Input Signals on USB 6215 6216 6218 Devices section of Chapter 4 Analog Input for m...

Page 161: ...each BNC connector that you use for two single ended channels set the source type switch to the GS position This setting disconnects the built in ground reference resistor from the negative terminal...

Page 162: ...onnecting Analog Input Signals on USB 6210 6211 6212 Devices or Connecting Analog Input Signals on USB 6215 6216 6218 Devices section of Chapter 4 Analog Input For a detailed description of each signa...

Page 163: ...nal as shown in Figure A 11 Figure A 11 USER BNC Connection Figure A 12 shows an example of how to use the USER BNC To access the PFI 8 P2 0 signal from a BNC connect USER on the screw terminal block...

Page 164: ...P0 0 In PFI 1 P0 1 In PFI 2 P0 2 In PFI 3 P0 3 In D GND PFI 4 P1 0 Out PFI 5 P1 1 Out PFI 6 P1 2 Out PFI 7 P1 3 Out 5 V D GND AO 0 AO 1 AO GND AI 0 AI 8 5 6 7 8 1 2 3 4 13 14 15 16 9 10 11 12 21 22 23...

Page 165: ...he LabVIEW Help in version 8 0 or later Table A 6 Default NI DAQmx Counter Timer Pins Counter Timer Signal Default Terminal Number Name CTR 0 SRC 1 PFI 0 CTR 0 GATE 2 PFI 1 CTR 0 AUX 34 PFI 9 CTR 0 OU...

Page 166: ...orporation A 21 NI USB 621x User Manual USB 6218 BNC USB 6218 BNC Pinout Figure A 14 shows the pinout of the USB 6218 BNC For a detailed description of each signal refer to the I O Connector Signal De...

Page 167: ...on NI USB 621x User Manual A 22 ni com Figure A 14 USB 6218 BNC Top Panel and Pinout NI USB 6218 AI x AI x GS 0 1 F 5 k AI GND FS USB 621x Device Floating Source AI x AI x GS 0 1 F 5 k AI GND FS USB 6...

Page 168: ...gnal FS source or a ground referenced signal GS source Refer to the Connecting Analog Input Signals on USB 6215 6216 6218 Devices section of Chapter 4 Analog Input for more information To measure a fl...

Page 169: ...t circuitry on the USB 6218 BNC When the switch is set to the FS position AI x is grounded through a 0 1 F capacitor in parallel with a 5 k resistor Figure A 16 Analog Input Circuitry FS GS AI 0 AI x...

Page 170: ...he BNC connector labeled AI 0 provides access to single ended channels AI 0 and AI 8 the BNC connector labeled AI 1 provides access to single ended channels AI 1 and AI 9 and so on Up to 32 single end...

Page 171: ...A 19 USER BNC Connection Figure A 20 shows an example of how to use the USER BNC To access the PFI 9 P0 5 signal from a BNC connect USER on the screw terminal block to PFI 9 P0 5 with a wire Figure A...

Page 172: ...AI 0 To circumvent this problem use a voltage follower that has operational amplifiers op amps with unity gain for each high impedance source before connecting to a USB 621x device Otherwise you must...

Page 173: ...ound Referenced Signal Sources section of Chapter 4 Analog Input for more information How can I use the AI Sample Clock and AI Convert Clock signals on a USB 621x device to sample the AI channel s USB...

Page 174: ...ches on the output signal These glitches are normal when a DAC switches from one voltage to another it produces glitches due to released charges The largest glitches occur when the most significant bi...

Page 175: ...Service Program Membership This program entitles members to direct access to NI Applications Engineers via phone and email for one to one technical support as well as exclusive access to on demand tra...

Page 176: ...ct by visiting ni com certification Calibration Certificate If your product supports calibration you can obtain the calibration certificate for your product at ni com calibration If you searched ni co...

Page 177: ...al Glossary Symbol Prefix Value p pico 10 12 n nano 10 9 micro 10 6 m milli 10 3 k kilo 103 M mega 106 Symbols Percent Positive of or plus Negative of or minus Plus or minus Less than Greater than Les...

Page 178: ...er that occurs at a user selected point on an incoming analog signal Triggering can be set to occur at a specific level on either an increasing or a decreasing signal positive or negative slope Analog...

Page 179: ...d impedance applications buffer 1 Temporary storage for acquired or generated data 2 A memory device that stores intermediate data between two devices bus buses The group of electrical conductors that...

Page 180: ...c noise pick up that is common to both the positive and negative polarities of the input leads to the instrument front end Common mode rejection is only a relevant specification for systems having a b...

Page 181: ...d I O transfers the CPU in the PC reads data from the DAQ device whenever the CPU receives a software signal to acquire a single data point Interrupt based data transfers occur when the DAQ device sen...

Page 182: ...se values are represented by numbers digital trigger A TTL level signal having two discrete levels A high and a low level DIO Digital input output driver Software unique to the device or type of devic...

Page 183: ...ta can be stored on the FIFO ahead of time This again reduces the effect of latencies associated with getting the data from system memory to the DAQ device filter A physical device or digital algorith...

Page 184: ...SI unit for measurement of frequency One hertz Hz equals one cycle per second 2 The number of scans read or updates written per second I I O Input Output The transfer of data to from a computer syste...

Page 185: ...e PGIA is allowed to settle before the next channel is sampled The interchannel delay is regulated by AI Convert Clock interface Connection between one or more of the following hardware software and t...

Page 186: ...nt panel optional shields and so on A module contains everything required to occupy one or more slots in a mainframe SCXI and PXI devices are modules monotonicity A characteristic of a DAC in which th...

Page 187: ...rence or system ground Also called floating signal sources Some common example of non referenced signal sources are batteries transformers or thermocouples NRSE Non Referenced Single Ended mode All me...

Page 188: ...th the signals on the tracks offset by 90 from each other This makes it possible to detect the direction of the motion R range The maximum and minimum parameters between which a sensor instrument or d...

Page 189: ...and produces a corresponding electrical signal Primary characteristics of sensors are sensitivity frequency range and linearity signal conditioning 1 Electronic equipment that makes transducer or oth...

Page 190: ...e A synchronous process is therefore locked and no other processes can run during this time T task In NI DAQmx a collection of one or more channels timing and triggering and other properties that appl...

Page 191: ...Source clock period tsp Source pulse width TTL Transistor Transistor Logic A digital circuit composed of bipolar transistors wired in a certain manner A typical medium speed digital technology Nominal...

Page 192: ...er Manual G 16 ni com Vs Signal source voltage virtual channel See channel W waveform 1 The plot of the instantaneous amplitude of a signal as a function of time 2 Multiple voltage readings taken at a...

Page 193: ...ConvertClockTimebase 4 19 ai HoldCompleteEvent 4 19 ai PauseTrigger 4 22 ai ReferenceTrigger 4 21 ai SampleClock 4 14 ai SampleClockTimebase 4 15 ai StartTrigger 4 20 analog input 4 1 channels samplin...

Page 194: ...pleClock 5 8 ao StartTrigger 5 5 applications counter input 8 2 counter output 8 21 edge counting 8 2 applying rubber feet 1 6 arm start trigger 8 33 B BNC cables 2 4 connecting signals A 15 A 23 boar...

Page 195: ...B 6216 Mass Termination pinout A 8 USB 6216 Screw Terminal pinout A 6 USB 6218 BNC pinout A 21 USB 6218 Screw Terminal pinout A 19 USB 6259 BNC pinout A 13 A 21 considerations for field wiring 4 10 fo...

Page 196: ...6 device information A 1 pinouts 1 2 specifications 1 2 A 1 USB 6210 A 2 USB 6211 A 4 USB 6212 BNC A 13 USB 6212 Mass Termination A 8 USB 6212 Screw Terminal A 6 USB 6215 A 4 USB 6216 BNC A 13 USB 62...

Page 197: ...gle two signal 8 20 enabling duplicate count prevention in NI DAQmx 8 39 encoders quadrature 8 16 encoding X1 8 16 X2 8 16 X4 8 17 equivalent time sampling 8 26 examples NI resources C 1 exporting tim...

Page 198: ...nced single ended mode 4 35 when to use in differential mode 4 32 when to use in non referenced single ended mode 4 32 when to use in RSE mode 4 33 H hardware 1 1 2 1 hardware timed acquisitions 4 9 g...

Page 199: ...ders 8 18 measuring high frequency with two counters 8 12 large range of frequencies using two counters 8 13 low frequency with one counter 8 10 averaged 8 11 methods data transfer 11 1 minimizing gli...

Page 200: ...s pinouts counter default 8 32 device 1 2 USB 6210 A 2 USB 6211 A 4 USB 6212 BNC A 13 USB 6212 Mass Termination A 8 USB 6212 Screw Terminal A 6 USB 6215 A 4 USB 6216 BNC A 13 USB 6216 Mass Termination...

Page 201: ...ptions 3 1 labels for USB 621x Screw Terminal 1 3 sources floating 4 25 ground referenced 4 31 Signal Stream USB 11 1 signals AI Convert Clock 4 16 AI Convert Clock Timebase 4 19 AI Hold Complete Even...

Page 202: ...ic DIO USB 6210 6211 6215 6218 6 2 USB 6212 6216 6 5 using PFI terminals as 7 3 strain relief 1 4 support technical C 1 switching from a large to a small input range 4 6 synchronous counting mode 8 37...

Page 203: ...212 Screw Terminal A 6 analog input signals 4 23 default counter timer pins A 7 digital I O 6 4 pinout A 6 USB 6215 A 4 analog input signals 4 36 default counter timer pins A 5 digital I O 6 1 pinout...

Page 204: ...signal labels 1 3 signal wire management 1 5 specifications xviii stacking 1 6 USB cable strain relief 1 4 using low impedance sources 4 6 using PFI terminals as static digital I Os 7 3 as timing inp...

Reviews: