USER GUIDE AND SPECIFICATIONS NI cDAQ-9172 Français Contents Introduction ... 4 Safety Guidelines ... 5 Related Documentation... 6 Installing the Software ... 10 Installing the NI cDAQ-9172... 11 Setting Up the NI cDAQ-9172... 15 Understanding LED Indications... 17 Using the NI cDAQ-9172 ... 18 Deutsch ni.com/manuals Safety Guidelines for Hazardous Voltages ...
Page 2
Analog Input ...20 Analog Output ...28 Digital I/O...35 PFI ...40 Counters...40 NI cDAQ-9172 User Guide and Specifications Analog Input Triggering...20 AI Start Trigger Signal...21 AI Reference Trigger Signal ...22 AI Pause Trigger Signal ...24 Analog Input Timing Signals ...24 AI Sample Clock ...24 AI Sample Clock Timebase...25 Convert Behavior For Analog Input Modules...25 Getting Started with AI Applications in Software ...28...
Introduction This user guide describes how to use the National Instruments cDAQ-9172 chassis and lists specifications. For an interactive demonstration of how to install the NI cDAQ-9172, go to The NI cDAQ-9172 is an eight-slot USB chassis designed for use with C Series I/O modules.
OS and ADE; provides an NI-DAQmx overview; includes information about programming the most common measurement tasks with references to examples in CVI/C, C++, .NET. Location/Topic Start»Programs» National Instruments» NI-DAQ»DAQ Getting Started Guide Start»Programs» National Instruments» NI-DAQ»NI-DAQ Readme Start»Programs» National Instruments» NI-DAQ»NI-DAQmx Help ni.com...
Page 8
NI-DAQmx Measurement in LabWindows/CVI LibraryReference» NI-DAQmx Library Measurement Studio» NI Measurement Studio Help and select NI-DAQmx .NET Class Library or NI-DAQmx Visual C++ Class Library Start»All Programs» National Instruments» NI-DAQ»NI-DAQmx Help Start»All Programs» National Instruments» NI-DAQ»NI-DAQmx C Reference Help ni.com...
Installing the Software Installing NI-DAQmx The DAQ Getting Started Guide, which you can download at manuals software and hardware, configuring channels and tasks, and getting started developing an application. Installing Other Software If you are using other software, refer to the installation instructions that accompany your software.
Mounting the NI cDAQ-9172 You can mount the NI cDAQ-9172 chassis using a desktop, a 35 mm DIN-Rail, or a panel mount accessory kit. For accessory ordering information, refer to Caution Your installation must meet the following requirements: • Allows 25.4 mm (1 in.) of clearance above and below the NI cDAQ-9172 chassis for air circulation.
To mount the chassis on a panel, align the chassis on the panel mount accessory. Attach the chassis to the panel mount kit using two M4 × 17 screws (as shown in Figure 5). National Instruments provides these screws with the panel mount kit. You must use these screws because they are the correct depth and thread for the panel.
Page 14
can be used with M4, M5, No. 8, or No.10 panhead screws. Figure 5 illustrates the panel dimensions and installation on the NI cDAQ-9172 chassis. Refer to the documentation included with the NI 9905 Panel Mount Kit for more detailed dimensions. NATIONAL INSTRUMENTS NI cDAQ-9172...
Note The NI-DAQmx software is included on the CD shipped with your kit and is available for download at after installation from Start»All Programs»National Instruments»NI-DAQ»DAQ Getting Started Guide. Other NI documentation is available from 1 Attached to System Ground Additionally, attach a wire with a ring lug to all other C Series I/O module cable Note shields.
Page 16
The NI cDAQ-9172 chassis uses a DC input jack with a locking ring. Use only this Note connector with the NI cDAQ-9172 chassis. Refer to the information about the connector. 10. Power on the NI cDAQ-9172 chassis. 11. Double-click the Measurement & Automation icon, shown at left, 12.
C Series I/O Module C Series I/O Modules National Instruments C Series I/O modules provide built-in signal conditioning and screw terminal, spring terminal, BNC, D-SUB, or RJ-50 connectors. A wide variety of I/O types are available, allowing you to customize the cDAQ system to meet your application needs.
PFI Signals The PFI signals, available through correlated digital input and output modules installed in slots 5 and/or 6, provide access to advanced features such as triggering, synchronization, and counter/timers. Refer to the section for more information. The PFI pins have a digital filter circuit at the inputs that is configurable on a per-line basis.
NI-DAQmx Help or the LabVIEW Help in version 8.0 or later for more information. The NI-DAQmx Help is available after installation from Start» All Programs»National Instruments»NI-DAQ»NI-DAQmx Help. To view the LabVIEW Help, in version 8.0 or later, select Help» Search the LabVIEW Help in LabVIEW. Alternately, to download...
Using an Analog Source Some C Series I/O modules can generate a trigger based on an analog signal. In NI-DAQmx, this is called the Analog Comparison Event. When you use an analog trigger source for ai/StartTrigger, the acquisition begins on the first rising edge of the Analog Comparison Event signal. Routing AI Start Trigger to an Output Terminal You can route ai/StartTrigger to any output PFI terminal.
Page 23
NI-DAQmx Help or the LabVIEW Help in version 8.0 or later for more information. The NI-DAQmx Help is available after installation from Start» All Programs»National Instruments»NI-DAQ»NI-DAQmx Help. To view the LabVIEW Help, in version 8.0 or later, select Help» Search the LabVIEW Help in LabVIEW. Alternately, to download the LabVIEW Help, go to ni.com/manuals...
NI-DAQmx Help or the LabVIEW Help in version 8.0 or later for more information. The NI-DAQmx Help is available after installation from Start» All Programs»National Instruments»NI-DAQ»NI-DAQmx Help. To view the LabVIEW Help, in version 8.0 or later, select Help» Search the LabVIEW Help in LabVIEW. Alternately, to download...
Page 26
ActiveDevs and AI Convert Clock Rate properties using the DAQmx Timing property node or functions. Simultaneous Sample-and-Hold Simultaneous sample-and-hold (SSH) C Series analog input modules contain multiple A/D converters or circuitry that allows all the input channels to be sampled at the same time. These modules sample their inputs on every Sample Clock pulse.
8.0 or later for more information. The NI-DAQmx Help is available after installation from Start» All Programs»National Instruments»NI-DAQ»NI-DAQmx Help. To view the LabVIEW Help, in version 8.0 or later, select Help» Search the LabVIEW Help in LabVIEW. Alternately, to download...
One property of buffered I/O operations is sample mode. The sample mode can be either finite or continuous: • • Analog Output Triggering Analog output supports two different triggering actions: • • An analog or digital trigger can initiate these actions. Any C Series correlated digital module in slots 5 and/or 6 can supply a digital trigger, and some C Series analog modules can supply an analog trigger.
Page 32
LabVIEW Help in version 8.0 or later for more information. The NI-DAQmx Help is available after installation from Start» All Programs»National Instruments»NI-DAQ»NI-DAQmx Help. To view the LabVIEW Help, in version 8.0 or later, select Help» Search the LabVIEW Help in LabVIEW. Alternately, to download...
The NI-DAQmx Help is available after installation from Start» All Programs»National Instruments»NI-DAQ»NI-DAQmx Help. To view the LabVIEW Help, in version 8.0 or later, select Help»Search the LabVIEW Help in LabVIEW. Alternately, to download the LabVIEW Help, go to Using an Analog Source Some C Series I/O modules can generate a trigger based on an analog signal.
Table 4. Digital Module Slot Features (Continued) Slots Static DIO Requires the use of a correlated digital I/O module. 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 control digital signals on some C Series I/O modules.
8.0 or later for more information. The NI-DAQmx Help is available after installation from Start» All Programs»National Instruments»NI-DAQ»NI-DAQmx Help. To view the LabVIEW Help, in version 8.0 or later, select Help» Search the LabVIEW Help in LabVIEW. Alternately, to download...
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.
The filters allow the rejection of noise caused by noisy environments, bounces on switches, and so on. Refer to the NI-DAQmx Help for more information. The NI-DAQmx Help is available after installation from Start»All Programs»National Instruments» NI-DAQ»NI-DAQmx Help. Counters The NI cDAQ-9172 chassis has two general-purpose 32-bit counter/timers and one frequency generator, as shown in Figure 15.
Counter Input Applications Counting Edges In edge counting applications, the counter 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. You also can control the direction of counting (up or down).
Controlling the Direction of Counting In edge counting applications, the counter can count up or down. You can configure the counter to do the following: • • • For information on connecting counter signals, refer to the Counter/Timer Routing Pulse-Width Measurement In pulse-width measurements, the counter measures the width of a pulse on its Gate input signal.
If you are using an external signal as the Source, at least one Source pulse should Note occur between each active edge of the Gate signal. This condition ensures that correct values are returned by the counter. If this condition is not met, consider using duplicate count prevention, described in the For information on connecting counter signals, refer to the Counter/Timer Routing...
Semi-Period 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 Gate input. You can route an internal or external periodic clock signal (with a known period) to the Source input of the counter.
Page 50
Method 1b—Measure Low Frequency With One Counter (Averaged) This method is good for low to medium frequency signals. Use this method to measure several periods of your signal using a known timebase. Figure 25 illustrates this method. 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.
Page 52
You 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.
Table 6 summarizes some of the differences in methods of measuring frequency. Table 6. Frequency Measurement Method Comparison Number of Method Counters Used 1 or 2 For information on connecting counter signals, refer to the Counter/Timer Routing Position Measurement You can use the counters to perform position measurements with quadrature encoders or two-pulse encoders.
Page 56
Channel Z Behavior Some quadrature encoders have a third channel, channel Z, which is also referred to as the index channel. A high level on channel Z causes the counter to be reloaded with a specified value in a specified phase of the quadrature cycle.
Page 58
Figure 33 shows an example of a single two-signal edge-separation measurement. HW Save Register Buffered Two-Signal Edge-Separation Measurement Buffered and single two-signal edge-separation measurements are similar, but buffered measurement measures multiple intervals. The counter counts the number of rising (or falling) edges on the Source input occurring between an active edge of the Gate signal and an active edge of the AUX signal.
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 Source). GATE (Start Trigger) SOURCE Figure 36. Single Pulse Generation with Start Trigger Retriggerable Single Pulse Generation The counter can output a single pulse in response to each pulse on a hardware Start Trigger signal.
Frequency Generation You can generate a frequency by 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 wave at many different frequencies. The frequency generator is independent of the two general-purpose 32-bit counter/timer modules on the NI cDAQ-9172 chassis.
Counter n Source Signal The selected edge of the Counter n Source signal increments and decrements the counter value, depending upon the application the counter is performing. Table 7 lists how this terminal is used in various applications. Table 8 lists Counter n Source minimum pulse width. Pulse Generation One Counter Time Measurements Two Counter Time Measurements...
Routing a Signal to Counter n Aux Each counter has independent input selectors for the Counter n Aux signal. You can route the following signals to the Counter n Aux input: • • • • In addition, you can route Counter 1 Internal Output, Counter 1 Gate, Counter 1 Source, or Counter 0 Gate to Counter 0 Aux.
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 routing options for modules installed in your system, refer to the Device Routes tab in MAX. Counter Triggering Counters support three different triggering actions: •...
You can configure the filter setting for each input independently. On power up, the filters are disabled. Figure 41 shows an example of a low to high transition on an input with its filter set to 125 ns (N = 5). PFI Terminal Filter Clock (40 MHz)
Page 72
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. Gate Source Counter Value Buffer Example Application That Prevents Duplicate Count With duplicate count prevention enabled, the counter synchronizes both the Source and Gate signals to the 80 MHz Timebase.
Page 74
Otherwise, the mode depends on the signal that drives Counter n Source. Table 10 describes the conditions for each mode. Duplicate Count Prevention Enabled Position Measurement All Except Position Measurement All Except Position Measurement 80 MHz Source Mode In 80 MHz source mode, the NI cDAQ-9172 synchronizes signals on the rising edge of the source, and counts on the following rising edge of the source, as shown in Figure 46.
Clock Routing Figure 49 shows the clock routing circuitry of the NI cDAQ-9172 chassis. 80 MHz Timebase You can use the 80 MHz Timebase as the Source input to the 32-bit general-purpose counter/timers. The 80 MHz Timebase can be generated from the following sources: •...
AO waveform modes...Non-periodic waveform, Digital Waveform Characteristics (Slots 1 through 4 Only) Waveform acquisition (DI) FIFO...2,047 samples Waveform generation (DO) FIFO...2,047 samples Digital input sample clock frequency Digital output sample clock frequency Digital output or digital input sample clock source...Any PFI, analog sample or PFI Characteristics (Slots 5 and 6 Only) Functionality ...Static digital input, static digital Timing output sources ...Many analog input, analog...
Frequency Generator (Slots 5 and 6 Only) Number of channels...1 Base clocks ...10 MHz, 100 kHz Divisors...1 to 16 (integers) Base clock accuracy...50 ppm Output is available on any PFI terminal. External Digital Triggers (Slots 5 and 6 or with Some AI Modules) Source ...Any PFI terminal Polarity...Software-selectable for most Analog input function ...Start Trigger, Reference Trigger,...
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 (IEC-60068-2-1 and IEC-60068-2-2) ...–20 to 55 °C Storage temperature (IEC-60068-2-1 and IEC-60068-2-2) ...–40 to 85 °C Ingress protection ...IP 30 Operating humidity (IEC-60068-2-56) ...10 to 90% RH, noncondensing...
Waste Electrical and Electronic Equipment (WEEE) At the end of their life cycle, all products must be sent to a WEEE recycling EU Customers center. For more information about WEEE recycling centers and National Instruments WEEE initiatives, visit National Instruments...
Instruments trademarks. Other product and company names mentioned herein are trademarks or trade names of their respective companies. For patents covering National Instruments products, refer to the appropriate location: Help»Patents in your software, the patents.txt file on your media, or ni.com/patents.