Manuale d’uso / di manutenzione del prodotto NI cDAQ-9172 del fabbricante National Instruments
Vai alla pagina of 84
USER GUIDE AND SPECIFICATIONS NI cDAQ-9172 Contents Introduction ............ .............. .............. .............. ............... .............. .......... 4 Safety Guidelines .............. .............. ............... .............. .....
NI cDAQ-9172 User Guide and Specifications 2 ni.com Analog Input .................... .............. .............. .............. .............. .............. ..20 Analog Input Triggering ............ ................. .............. .............. .
© National Instruments Corporation 3 NI cDAQ-9172 User Guide and Specifications Counter Timi ng Signals ... .............. .............. .............. .............. ........ 63 Counter n Source Signal ............ .............. .............. ...
NI cDAQ-9172 User Guide and Specifications 4 ni.com Introduction This user guide describes how to use the National Instruments cDAQ-9172 chassis and lists specificat ions. For an interactive demonstration of how to install the NI cDAQ-9172, go to ni.com/info and enter daqin s tall .
© National Instruments Corporation 5 NI cDAQ-9172 User Guide and Specifications Safety Guidelines Operate the NI cDAQ-9172 chassis only as described in this user guide.
NI cDAQ-9172 User Guide and Specifications 6 ni.com Related Documentation Each application software package an d driver includes information about writing applications for taking measur ements and controlling measurement devices.
© National Instruments Corporation 7 NI cDAQ-9172 User Guide and Specifications LabVIEW Getting Started with LabVIEW —describes the LabVIEW graphical programming environment and the basic LabVIEW features you use to build data acquisition and instrument control application.
NI cDAQ-9172 User Guide and Specifications 8 ni.com LabW indo ws ™ /CVI ™ LabWindows/CVI Help Data Acquisition book—contains NI-D A Qmx measurement concepts and step-by-step instructions about creating a measurement task using the D A Q Assistant.
© National Instruments Corporation 9 NI cDAQ-9172 User Guide and Specifications Device Documentation and Specifications Check ni.com/manual s for the most recent device and software documentation. If you do not have W eb access, NI-DAQmx includes a Documentation CD that includes documentation available when NI-DAQmx released.
NI cDAQ-9172 User Guide and Specifications 10 ni.com Installing the Software Installing NI-DAQmx The DAQ Getting Started Guide , which you can down load at ni.com/ manual s , offers NI-DAQmx users step-by-st ep instructions for installing software and hardware, configu ring channels and tasks, and getting started developing an application.
© National Instruments Corporation 11 NI cDAQ-9172 User Guide and Specifications Installing the NI cDAQ-9172 Figure 2 shows the dimensions of the NI cD AQ-9172 chassis. Figure 2. NI cDAQ-9172 with Dimensions in Millimeters (Inches) 53.8 mm (2.12 in.) 46.
NI cDAQ-9172 User Guide and Specifications 12 ni.com Mounting the NI cDAQ-9172 You can mount the NI cDAQ-9172 chassis usin g a desktop, a 35 mm DIN-Rail, or a panel mount accesso ry kit. For accessory ordering information, refer to ni.com . Caution Y our installation must meet the following requirements: • Allows 25.
© National Instruments Corporation 13 NI cDAQ-9172 User Guide and Specifications NI 9910 DIN-Rail Kit The NI 9910 DIN-Rail Kit contains on e clip for mounting the chassis on a standard 35 mm DIN-Rail . To mount t h e chassis on a DIN-Rail, fasten the DIN-Rail clip to the chassis using a num ber 2 Phillips screwdriver and two M4 × 17 screws.
NI cDAQ-9172 User Guide and Specifications 14 ni.com can be used with M4, M5, No. 8, or No.10 panhead screws. Figure 5 illustrates the panel dimensions and instal lation on th e NI cDAQ-9172 chassis. Refer to the documentation included with the NI 9905 Panel Mount Kit for more detailed dimensions.
© National Instruments Corporation 15 NI cDAQ-9172 User Guide and Specifications Setting Up the NI cDAQ-9172 Complete the following steps to prep are the NI cDAQ-9172 chassis for use: 1. Before connecting the hardware, in stall the NI-D A Qmx software.
NI cDAQ-9172 User Guide and Specifications 16 ni.com 6. Squeeze both C Series I/O module latc hes, insert the I/O module into the module slot, and pr ess until both latches lock the module in place. 7. Connect the NI cDAQ-9172 chassis with the supplied USB cable to any a v ailable USB port on your computer .
© National Instruments Corporation 17 NI cDAQ-9172 User Guide and Specifications 13. Check that your device appears under Devices and Interfaces . If your device does not appear , press <F5> to refresh the view in MAX. If your device is still not recognized, refer to ni.
NI cDAQ-9172 User Guide and Specifications 18 ni.com Using the NI cDAQ-9172 The cDAQ system consists of three pa rts: C Series I/O modules, the cDAQ module interface, and the USB-STC2.
© National Instruments Corporation 19 NI cDAQ-9172 User Guide and Specifications T o access this KnowledgeBase, go to ni.com/info and enter the info code rdcdaq . Correlated vs. Static DIO Modules Digital I/O module capabilities are deter mined by the type of digital signals that the module is capable of measuring or generating .
NI cDAQ-9172 User Guide and Specifications 20 ni.com PFI Signals The PFI signals, available through co rrelated digital input and output modules installed in slots 5 and/or 6, provide access to advanced features such as triggering, synchronization, and counter/timers.
© National Instruments Corporation 21 NI cDAQ-9172 User Guide and Specifications triggers can come from three separate modules i f desired. T o find your module triggering option s, refer to the documentation included with your C Series I/O modules.
NI cDAQ-9172 User Guide and Specifications 22 ni.com Using an Analog Source Some C Series I/O modules can genera te a trigger base d on an analog signal.
© National Instruments Corporation 23 NI cDAQ-9172 User Guide and Specifications When the reference trigger o ccurs, the NI cDA Q-9172 co ntinues to write samples to the buf fer unt il the buf fer contains the number of posttrigger samples desired. Figure 9 sho ws the final b uf fer .
NI cDAQ-9172 User Guide and Specifications 24 ni.com AI Pause T rigger Signal You can use the AI Pause Trigger (a i/PauseTrigger) signal to pause and resume a measurement acquisition. Th e internal sample clock pauses while the external trig ger signal is active and resu mes when the signal is inact ive.
© National Instruments Corporation 25 NI cDAQ-9172 User Guide and Specifications Figure 10. Sample Clock T iming Options Routing AI Sample Clock to an Output T erminal You can route ai/SampleClock to any output PFI terminal.
NI cDAQ-9172 User Guide and Specifications 26 ni.com ActiveDevs and AI Convert Clock Rate properties using the DAQmx Timing property node or functions.
© National Instruments Corporation 27 NI cDAQ-9172 User Guide and Specifications Slow Sample Rate Modules Some C Series analog input mod ules are specifically designed for measuring signals that vary slowly, su ch as temperature.
NI cDAQ-9172 User Guide and Specifications 28 ni.com Getting Started with AI Ap plications in Software You can use the NI c DAQ-9172 chassi s in the following analog inp ut applications: • Single-Po.
© National Instruments Corporation 29 NI cDAQ-9172 User Guide and Specifications Software-T imed Generations With a softw are-timed generation , softwa re controls the rate at which data is generated. Software sends a separate command to the hardware to initiate each DAC conversion.
NI cDAQ-9172 User Guide and Specifications 30 ni.com One property of buf fered I/O operat ions is sample mode. The sample mode can be either finite or continuous: • Finite—Finite sample mode generati on refers to the generation of a specific, predetermined number of da ta samples.
© National Instruments Corporation 31 NI cDAQ-9172 User Guide and Specifications Analog Output Timing Signals The NI cDAQ-9172 chassis featur es the following AO (waveform generation) timing signals:.
NI cDAQ-9172 User Guide and Specifications 32 ni.com more information, refer to th e NI-DAQmx Help . The NI-DAQmx Help is available after installation fro m Start»All Programs»Na tional Instruments»NI- DAQ»NI-DAQmx Help . Using a Digital Source To use ao/StartTrigger, specify a s ource and a rising or falling edge.
© National Instruments Corporation 33 NI cDAQ-9172 User Guide and Specifications AO Pause T rigger Signal Use the AO Pause trigge r signal (ao/PauseTrigger) to mask off samples in a DAQ sequence. When ao/PauseTrigge r is active, no samples occur, but ao/PauseTrigger does not stop a sample that is in progress.
NI cDAQ-9172 User Guide and Specifications 34 ni.com The NI-DAQmx Help is av ailab le after installation from Start» All Programs»National Instruments»NI-DAQ»N I-DAQmx Help . To v i e w t h e LabVIEW Help, in v e rsion 8.0 or later , select Help»Search the LabVIEW Help in LabVIEW .
© National Instruments Corporation 35 NI cDAQ-9172 User Guide and Specifications Digital I/O To use digital I/O, insert a digital I/O C Series m odule into any slot on the NI cDAQ-9172 chassis. The I/ O speci fications, such as number of lines, logic levels, update rate, and line direction, are determined by the ty pe of C Series I/O module used.
NI cDAQ-9172 User Guide and Specifications 36 ni.com Static DIO Each of the DIO lines can be used as a static DI or DO line. You can use static DIO lines to monitor or cont rol digital signals on some C Series I/O modules.
© National Instruments Corporation 37 NI cDAQ-9172 User Guide and Specifications Using an Internal Source To use di/SampleClock w ith an internal source, specify the signal source and the polarity of the signal.
NI cDAQ-9172 User Guide and Specifications 38 ni.com Buffered Digital Waveform Generation A buffer is a temporary storage in computer memory for generated samples. In a buffered generation, data is moved from a host buffer to the NI cDAQ-9172 onboard FIFO before it is written to the C Series I/O modules.
© National Instruments Corporation 39 NI cDAQ-9172 User Guide and Specifications Change Detection Event The Change Detection Event is the signal generated when a change on t he rising or falling edge lines is detected by the change detection task.
NI cDAQ-9172 User Guide and Specifications 40 ni.com PFI You can configure channels of a correl ated digita l module in slots 5 and 6 as Programmable Function Interface (PFI) terminals.
© National Instruments Corporation 41 NI cDAQ-9172 User Guide and Specifications Figure 15. NI cDAQ-9172 Counters Counters have se ven input sig nals, although in most applicat ions only a few inputs are used. For information about connecting the counter signals, refer to the Default Counter/Timer Routing section.
NI cDAQ-9172 User Guide and Specifications 42 ni.com Counter Input Applications Counting Edges In edge counting appl ications, the co unter counts edges on its Source after the counter is armed. You can configure the counter to count rising or falling edges on its Source input.
© National Instruments Corporation 43 NI cDAQ-9172 User Guide and Specifications Y ou can route the pause tr igger to the Gate input of the cou nter . Y ou can configure the counter to pause cou nting when the pause t rigger is high or when it is lo w .
NI cDAQ-9172 User Guide and Specifications 44 ni.com Controlling the Direction of Counting In edge counting applications, the counter can co unt up or down.
© National Instruments Corporation 45 NI cDAQ-9172 User Guide and Specifications Figure 19 shows an e xample of a single pulse-width measurement. Figure 19.
NI cDAQ-9172 User Guide and Specifications 46 ni.com Note If you are using an external signal as the Source, at least one Source pulse should occur between each acti ve edge of the Gate signal. This condition ensures that correct values are returned b y the counter .
© National Instruments Corporation 47 NI cDAQ-9172 User Guide and Specifications Buffered Period Measurement Buffered period measurem ent is similar to single period measu rement, but buffered period measurem ent measures multiple periods.
NI cDAQ-9172 User Guide and Specifications 48 ni.com Semi-Period Measurement In semi-period measuremen ts, the counter measures a sem i-period on its Gate input signal after the counter is arme d. A semi-period is the time between any two consecutive edges on the Gate input.
© National Instruments Corporation 49 NI cDAQ-9172 User Guide and Specifications Note If you are using an external signal as the Source, at least one Source pulse should occur between each acti ve edge of the Gate signal. This condition ensures that correct values are returned b y the counter .
NI cDAQ-9172 User Guide and Specifications 50 ni.com Method 1b—Measure Low Frequency With One Counter (Averaged) This method is good for lo w to medium frequency signals. Use this me thod to measure several periods of your signal using a know n timebase.
© National Instruments Corporation 51 NI cDAQ-9172 User Guide and Specifications Method 2—Measure High Frequency With T wo Counters This method is good for high frequency signals. Use this me thod to measure one pulse of a known width using your sign al and derive the frequency of your signal from th e resu lt.
NI cDAQ-9172 User Guide and Specifications 52 ni.com Y ou can route the signal to measur e to the Source input of Counter 0, as sho wn in Figure 27. 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.
© National Instruments Corporation 53 NI cDAQ-9172 User Guide and Specifications Choosing a Method for Measuring Frequency The best method to measure frequency depends on several factors including the expected frequency of th e signal to measures, the desired accuracy, how many counters are avai lable and how long the measurement can take.
NI cDAQ-9172 User Guide and Specifications 54 ni.com T able 6 summarizes some of the di f ferences in meth ods of measurin g frequency . For information on connecting counter signal s, refer to the Default Counter/Timer Routing section.
© National Instruments Corporation 55 NI cDAQ-9172 User Guide and Specifications Figure 28 sho ws 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.
NI cDAQ-9172 User Guide and Specifications 56 ni.com Channel Z Behavior Some quadrature encoders have a thir d channel, channel Z, which is also referred to as the index channel. A high l evel on channel Z causes the counter to b e reloaded w ith a specifi ed value in a specified phase of the quadrature cycle.
© National Instruments Corporation 57 NI cDAQ-9172 User Guide and Specifications Measurements Using T wo Pulse Encoders The counter supports two pulse enco ders that have two channels—channels A and B. The counter increments on each rising edge of channel A.
NI cDAQ-9172 User Guide and Specifications 58 ni.com Figure 33 shows an e xample of a si ngle two-signal edge-separation measurement. Figure 33. Single T wo-Signal Edge-Sep aration Measurement Buffere.
© National Instruments Corporation 59 NI cDAQ-9172 User Guide and Specifications Counter Output Applications Simple 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 arm ed to the beginning of the pulse.
NI cDAQ-9172 User Guide and Specifications 60 ni.com Figure 36 shows a generation of a pulse with a pulse delay of four and a pulse width of three (using the rising edge of Sou rce).
© National Instruments Corporation 61 NI cDAQ-9172 User Guide and Specifications Pulse T rain Generation Continuous Pulse T rain Generation This function generates a train of pulses with programmable frequency and duty cycle. The pulses appear on the Counter n Internal Output signal of the counter.
NI cDAQ-9172 User Guide and Specifications 62 ni.com Frequency Generation You can generate a frequency by using a counter in pulse train generation mode or by using the frequency generator circui t. Using the Frequency Generator The frequency generator can output a square wave at many different frequencies.
© National Instruments Corporation 63 NI cDAQ-9172 User Guide and Specifications Frequenc y Output can be routed to any output PFI terminal. 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 one of the counters for pulse train generation.
NI cDAQ-9172 User Guide and Specifications 64 ni.com Counter n Source Signal The selected edge of the Counter n Source signal increments and decrements the counter value, depend ing upon the application the counter is performing. Table 7 lists how this terminal is used in variou s applications.
© National Instruments Corporation 65 NI cDAQ-9172 User Guide and Specifications Routing Counter n Source to an Output T erminal You can route Counter n Source to any output PFI terminal.
NI cDAQ-9172 User Guide and Specifications 66 ni.com Routing a Signal to Counter n Aux Each counter has independent input selectors for the Counter n Au x signal.
© National Instruments Corporation 67 NI cDAQ-9172 User Guide and Specifications waiting for the Gate signal w hen it is armed. Counter o utput operations can use the arm signal in addition to a start trigger . Software can arm a counter or configure counters to be armed on a hardware signal.
NI cDAQ-9172 User Guide and Specifications 68 ni.com Default Counter/Timer Routing Counter/timer signals are available to correlated digital I/O C Series modules in slots 5 and/or 6. To determine the signal routin g options for modules installed in your system, refer to the Device Routes tab in MAX.
© National Instruments Corporation 69 NI cDAQ-9172 User Guide and Specifications Other Counter Features Cascading Counters You can internally route the Counter n Internal Output and Counter n TC signals of each counter to the Gate inpu ts of the other counter.
NI cDAQ-9172 User Guide and Specifications 70 ni.com Y ou can configure the f ilter setting fo r each input independ ently . On po wer up, the filters are dis abled. Figure 41 sho ws an example of a lo w to high transition on an input with its filter set to 125 ns (N = 5).
© National Instruments Corporation 71 NI cDAQ-9172 User Guide and Specifications Duplicate Count Prevention Duplicate count preven tion (or synchronous coun ting mode) ensures that a counter returns correct dat a in applications that use a slow or non-peri odic external source.
NI cDAQ-9172 User Guide and Specifications 72 ni.com Example Application That Works Incorrectly (Duplicate Counting) In Figure 44, after the first rising edge of Gate, no Source pulses occur, which means that the counter does not write the correct data to the buffer.
© National Instruments Corporation 73 NI cDAQ-9172 User Guide and Specifications Even if the Source pulses are long, the counter increments only once for each Source pulse. Normally , the counter value and Counter n Internal Output signals change synchronously to the Source signal.
NI cDAQ-9172 User Guide and Specifications 74 ni.com Otherwise, the mode depends on the signal that drives Counter n Source. T able 10 describes the conditions for each mode.
© National Instruments Corporation 75 NI cDAQ-9172 User Guide and Specifications External Source Mode In external source mode, the chassis gen erates a delayed Source signal by delaying th e Source signal by seve ral nanoseconds.
NI cDAQ-9172 User Guide and Specifications 76 ni.com Clock Routing Figure 49 shows the clock routing circui try of the NI cDAQ-9172 chassis. Figure 49. NI cDAQ-9 172 Clock Routing Cir cuitry 80 MHz Timebase You can use the 80 MHz Timebase as the Source input to the 32-bit general-purpose counter/timers.
© National Instruments Corporation 77 NI cDAQ-9172 User Guide and Specifications Specifications These specifications are for the NI c DAQ-9172 chassis only. These specifications are typical at 25 °C unless otherwise noted. For the C Series I/O module specifications, refer to the documentation for the C Series I/O modules you are using.
NI cDAQ-9172 User Guide and Specifications 78 ni.com AO waveform modes ..................... .........Non-periodic waveform, periodic waveform regeneratio n mode from onboard memory, periodic waveform.
© National Instruments Corporation 79 NI cDAQ-9172 User Guide and Specifications Debounce filter settings .......... ............... Selectable per input: 125 ns, 6.425 µs, 2.56 ms, disable, high and low transitio ns Timing input frequency .........
NI cDAQ-9172 User Guide and Specifications 80 ni.com Frequency Generator (Slots 5 and 6 Only) Number of channels ......... ................. ......1 Base clocks ................ .............. .............. .10 MHz, 100 kHz Divisors .................
© National Instruments Corporation 81 NI cDAQ-9172 User Guide and Specifications Input voltage range..................... ............ 11 V to 30 V Maximum required input power ........... . 15 W Power input connector . .............. ..... ....... DC input jack with lockin g, threaded ring 0.
NI cDAQ-9172 User Guide and Specifications 82 ni.com Environmental The NI cDAQ-9172 chassis is intended for indoor use only. For outdoor use, mount the system in a suitably rated enclosure. Operating temperature 1 (IEC-60068-2-1 and IEC-60068-2-2) ...
© National Instruments Corporation 83 NI cDAQ-9172 User Guide and Specifications Electromagnetic Compatibility This product is designed to meet the requirements of the follow ing standards of EMC for.
National Instruments, NI, ni.com, and LabVIEW are tradem arks of National Instruments Corporation. Refer to t he Terms of Use section on ni.com/legal for mor e information abou t National Instruments trademarks. Other product and compan y names mentioned herein are trademarks or trade names of their respective companie s .
Un punto importante, dopo l’acquisto del dispositivo (o anche prima di acquisto) è quello di leggere il manuale. Dobbiamo farlo per diversi motivi semplici:
Se non hai ancora comprato il National Instruments NI cDAQ-9172 è un buon momento per familiarizzare con i dati di base del prodotto. Prime consultare le pagine iniziali del manuale d’uso, che si trova al di sopra. Dovresti trovare lì i dati tecnici più importanti del National Instruments NI cDAQ-9172 - in questo modo è possibile verificare se l’apparecchio soddisfa le tue esigenze. Esplorando le pagine segenti del manuali d’uso National Instruments NI cDAQ-9172 imparerai tutte le caratteristiche del prodotto e le informazioni sul suo funzionamento. Le informazioni sul National Instruments NI cDAQ-9172 ti aiuteranno sicuramente a prendere una decisione relativa all’acquisto.
In una situazione in cui hai già il National Instruments NI cDAQ-9172, ma non hai ancora letto il manuale d’uso, dovresti farlo per le ragioni sopra descritte. Saprai quindi se hai correttamente usato le funzioni disponibili, e se hai commesso errori che possono ridurre la durata di vita del National Instruments NI cDAQ-9172.
Tuttavia, uno dei ruoli più importanti per l’utente svolti dal manuale d’uso è quello di aiutare a risolvere i problemi con il National Instruments NI cDAQ-9172. Quasi sempre, ci troverai Troubleshooting, cioè i guasti più frequenti e malfunzionamenti del dispositivo National Instruments NI cDAQ-9172 insieme con le istruzioni su come risolverli. Anche se non si riesci a risolvere il problema, il manuale d’uso ti mostrerà il percorso di ulteriori procedimenti – il contatto con il centro servizio clienti o il servizio più vicino.