Manuale d’uso / di manutenzione del prodotto NI cDAQ-9172 del fabbricante National Instruments
Vai alla pagina of 76
USER GUIDE AND SPECIFICATIONS NI cDAQ-9172 This user guide describes how to use the National Instruments cD A Q-9172 chassis and lists specifications. F or an interacti ve demonstration of how to install the NI cD A Q-9172, go to ni.com/info and enter daqinstall .
NI cDAQ-9172 User Guide and Specifications 2 ni.com Safety Guidelines Operate the NI cDAQ-9172 chassis only as described in this user guide. Note Because some C Series I/O modules may ha v e more stringent certif ication standards than the NI cD A Q-9172 chassis, the combined system may be limi ted by indi vidual component restrictions.
© National Instruments Corporation 3 NI cDAQ-9172 User Guide and Specifications Installing the NI cDAQ-9172 Figure 2 shows the dim ensions 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 4 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 5 NI cDAQ-9172 User Guide and Specifications Mounting the NI 9910 DIN-Rail Kit The NI 9910 DIN-Rail kit contains one clip for mounting the chassis on a standard 35 mm DIN-Rail.
NI cDAQ-9172 User Guide and Specifications 6 ni.com screws. Figure 5 illustrates the panel dimensions and installation on the NI cDAQ-9172 chassis. Refer to the docu mentation included with the NI 9905 shipping kit for more detai led dimensions. Figure 5.
© National Instruments Corporation 7 NI cDAQ-9172 User Guide and Specifications Setting Up the NI cDAQ-9172 Complete the followin g steps to prep are the NI cDAQ-9172 chassis for use: 1. Before connecting the hardware, in stall NI-DA Qmx software, VI Logger , and the NI-D A Q De vice Documentation Bro w ser .
NI cDAQ-9172 User Guide and Specifications 8 ni.com 5. Remov e the plastic cover from the connector in any empty mod ule slot. 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.
© National Instruments Corporation 9 NI cDAQ-9172 User Guide and Specifications 12. Expand Devices and Interfaces , and then expand NI-DAQmx Devices . 13. Check that your device appears under Devices and Interfaces . If your device does not appear , press <F5> to refresh the vie w in MAX.
NI cDAQ-9172 User Guide and Specifications 10 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 11 NI cDAQ-9172 User Guide and Specifications wiring connections directly from the C Series I/O modules to your sensors/actuators. In most cases, the C Series I/O modules provide isolation from channel-to-earth ground .
NI cDAQ-9172 User Guide and Specifications 12 ni.com through the PFI lines. Refer to the Analog Inpu t Timing S ignals an d Analog Output Timing Signals sections for more information about the configuration of these signals.
© National Instruments Corporation 13 NI cDAQ-9172 User Guide and Specifications The NI cD A Q-9172 has one AI timing engine, which means that only one analog input task may be running at a time on a chassis. Ho wever , the analog input task can include channels from multiple analog inpu t modules.
NI cDAQ-9172 User Guide and Specifications 14 ni.com The source also can be one of sev eral ot her internal signals on your NI cD A Q-9172 chassis. Refer to Device Routing in MAX in the NI-D AQmx Help or the LabVIEW Help in version 8.0 or later for more information.
© National Instruments Corporation 15 NI cDAQ-9172 User Guide and Specifications be Continuous? , for more information. T o access this Kno wledgeBase, go to ni.
NI cDAQ-9172 User Guide and Specifications 16 ni.com Routing AI Reference T rigger Signal to an Output T erminal You can route ai/ReferenceTrigger to any outp ut PFI term inal. AI Pause T rigger Signal The Pause Trigger signal can be generated from internal or ext ernal sources.
© National Instruments Corporation 17 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 18 ni.com ActiveDe vs and AI Con vert Cloc k Rate properties using the DAQm x Tim in g property node or functions.
© National Instruments Corporation 19 NI cDAQ-9172 User Guide and Specifications module in the cDAQ chassis, the ma ximum Sample Clock rate can run faster than the maxim um rate for the module.
NI cDAQ-9172 User Guide and Specifications 20 ni.com For more information about programming analog inp ut applications and triggers in software, Refer to th e NI-D A Qmx Help or the LabVIEW Help in version 8.
© National Instruments Corporation 21 NI cDAQ-9172 User Guide and Specifications referred to as immediate or static operations. They are typically used for writing out a single value, such as a constant DC voltage.
NI cDAQ-9172 User Guide and Specifications 22 ni.com a continuous generati on continues un til you stop the operation. There are three dif ferent continuo us generation modes that control how the data is written. These modes are regeneration, onboard regeneration, and non-regeneration.
© National Instruments Corporation 23 NI cDAQ-9172 User Guide and Specifications AO Sample Clock The AO sample clock signals when all the analog out put channels in the task update. ao/SampleClo ck can be generated from external or internal sources. Figure 12.
NI cDAQ-9172 User Guide and Specifications 24 ni.com Using a Digital Source To use ao/StartTrigger, specify a source and a rising or falling edge. The source can be one of the following signals: •A .
© National Instruments Corporation 25 NI cDAQ-9172 User Guide and Specifications When you generate analog output sign als, the generation pauses as so on as the pause trigger is asserted. If the source of the sample clock is the o nboard clock, the generation resu mes as soon as the pause trigger is deasserted, as sho wn in Figure 13.
NI cDAQ-9172 User Guide and Specifications 26 ni.com The NI-D A Qmx Help is av ai lable after installation from Start»Programs» National Instruments» NI-DAQ»NI-DAQmx Help . T o vie w the LabVIEW Help, in version 8.0 or later, select Help»Search the LabVIEW Help in LabVIEW .
© National Instruments Corporation 27 NI cDAQ-9172 User Guide and Specifications Digital I/O To use digital I/O, insert a digital C Series I/O module into any slot on the NI cDAQ-9172 chassis. The I/O speci fications, such as number of lin es, logic levels, update rate, and line direction, are determined by the type of C Series I/O module used.
NI cDAQ-9172 User Guide and Specifications 28 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 29 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 30 ni.com Buffered Digital W aveform 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 31 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 32 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 33 NI cDAQ-9172 User Guide and Specifications Figure 15. NI cDAQ-9172 Counters Counters have se ven input signals, alth ough in most ap plications 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 34 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 35 NI cDAQ-9172 User Guide and Specifications Y ou can route the pause trigger to th e Gate input of the counter . 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 36 ni.com Controlling the Direction of Counting In edge counting applications, the counter can co unt up or down.
© National Instruments Corporation 37 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 38 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 39 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 40 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 arm ed. A semi-period is the time between any two consecutive edges on the Gate input.
© National Instruments Corporation 41 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 42 ni.com Method 1b—Measure Low Frequency With One Counter (Averaged) This method is good for lo w to medium freq uency signals. Use th is method to measure several periods of your signal using a known timebase.
© National Instruments Corporation 43 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 metho d to measure one pulse of a known width using your signal and deri ve the frequency of your signal from the resu lt.
NI cDAQ-9172 User Guide and Specifications 44 ni.com Y ou can route the signal to measure to the Source input of Counter 0, as shown 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 45 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 46 ni.com T able 5 summarizes some of the di fferences in meth ods of measuring frequency . For information on connecting counter signal s, refer to the Default Counter/Timer Routing section.
© National Instruments Corporation 47 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 48 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 be reloaded w ith a specifi ed value in a specified phase of the quadrature cycle.
© National Instruments Corporation 49 NI cDAQ-9172 User Guide and Specifications Measurements Using T wo Pulse Encoders The counter supports two pulse encoders 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 50 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 51 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 armed to the beginning of the pulse.
NI cDAQ-9172 User Guide and Specifications 52 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 53 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 54 ni.com Frequency Generation You can generate a frequency by using a counter in pu lse train generation mode or by using the freque ncy generator circuit. Using the Frequency Generator The frequency generator can output a square wave at many di fferent frequencies.
© National Instruments Corporation 55 NI cDAQ-9172 User Guide and Specifications Frequenc y Output can be rou ted to an y output PF I terminal. The FREQ OUT signal also can be routed to DO Sample Clock and DI Sampl e 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 56 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 6 lists how this terminal is used in variou s applications.
© National Instruments Corporation 57 NI cDAQ-9172 User Guide and Specifications Routing a Signal to Counter n Gate Each counter has independent inp ut selectors for the Counter n Gate si gnal.
NI cDAQ-9172 User Guide and Specifications 58 ni.com Counter n A, Counter n B, and Counter n Z Signals Counter n B can control the direction of counting in edge counting applications. Use the A, B, and Z in puts to each counte r when measuring quadrature encoders or meas uring two pulse encoders.
© National Instruments Corporation 59 NI cDAQ-9172 User Guide and Specifications Y ou can route Counter 1 Internal Output to Counter 0 HW Arm. Y ou can also route Counter 0 Internal Output to Counter 1 HW Arm. Some of these options may not be av ailable in some driv er software.
NI cDAQ-9172 User Guide and Specifications 60 ni.com For counter output operations, you can use the arm start trigger to have start trigger-like beha vi or . The arm start tr igger can be used for synchronizing multiple counter input and output tasks.
© National Instruments Corporation 61 NI cDAQ-9172 User Guide and Specifications on each rising edge of a filter clock. The NI cDAQ-9172 chassis uses an onboard oscillator to generate the f ilter clock with a 40 MHz frequency. For more information, refer to the NI-DAQmx Help .
NI cDAQ-9172 User Guide and Specifications 62 ni.com Prescaling Prescaling allows th e counter to count a signal that is fa ster than the maximum timebase of the counter. Th e NI cDAQ-917 2 chassis offers 8X and 2X prescaling on each counter (pre scalin g can be disabled).
© National Instruments Corporation 63 NI cDAQ-9172 User Guide and Specifications Example Application That Works Correctly (No Duplicate Counting) Figure 43 shows an external buffered signal as the period measurement Source. Figure 43. Duplicate Count Prevention Example On the first rising edge of the Gate, the current count of se ven is stored.
NI cDAQ-9172 User Guide and Specifications 64 ni.com Example Application That Works Incorrectly (Duplicate Counting) In Figure 44, after the first rising edge of Gate, no Source pul ses occur, which means that the counter does not write the correct data to the buffer.
© National Instruments Corporation 65 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 66 ni.com Otherwise, the mode depends on the signal that drives Counter n Source. T able 8 describes the conditions for each mode.
© National Instruments Corporation 67 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 s eve ral nanoseconds.
NI cDAQ-9172 User Guide and Specifications 68 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 69 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 70 ni.com AO waveform modes ....... .............. .........Non-periodic waveform, periodic waveform regeneratio n mode from onboard memory, periodic wavefor.
© National Instruments Corporation 71 NI cDAQ-9172 User Guide and Specifications Debounce filter settings .......... ............... Selectable per input: 125 ns, 6.425 µs, 2.54 ms, disable, high and low transitio ns Timing input frequency .........
NI cDAQ-9172 User Guide and Specifications 72 ni.com Frequency Generator (Slots 5 and 6 Only) Number of channels ............ ........... .........1 Base clocks ........ .............. .............. .........10 MHz, 100 kHz Divisors .................
© National Instruments Corporation 73 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 locking, threaded ring 0.
NI cDAQ-9172 User Guide and Specifications 74 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 75 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.
NNational Instruments, NI, ni.co m, and LabVIEW ar e t rademarks of National Instruments Corporation. Refer to t he Terms of Use section on ni.com/legal for mor e information a bout National Instruments trademarks. Other product and compan y names mentioned herein are t rademarks 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.