USER GUIDE AND SPECIFICATIONS NI cDAQ-9172 Français Deutsch ni.com/manuals Contents Introduction ..................... 4 Safety Guidelines ..................5 Safety Guidelines for Hazardous Voltages ........5 Related Documentation................6 Device Documentation and Specifications ........9 Training Courses................9 Technical Support on the Web............9 Installing the Software ................
Page 3
Analog Input ....................20 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 Analog Output ..................28 Analog Output Data Generation Methods........28 Software-Timed Generations ............29...
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 and enter ni.com/info daqinstall The NI cDAQ-9172 is an eight-slot USB chassis designed for use with C Series I/O modules.
Software Document/Description Location/Topic NI-DAQmx for Windows Start»Programs» DAQ Getting Started Guide—describes how to National Instruments» NI-DAQ»DAQ Getting Started install and use the NI-DAQmx driver software Guide for Windows and your data acquisition (DAQ) device, how to confirm the device is...
Page 9
Library or NI-DAQmx Visual C++ NI-DAQmx methods and Class Library properties. ANSI C without NI-DAQmx Help Start»All Programs» NI Application Software National Instruments» NI-DAQ»NI-DAQmx Help NI-DAQmx C Reference Start»All Programs» Help—describes the National Instruments» NI-DAQmx Library NI-DAQ»NI-DAQmx C Reference functions.
Installing the Software Installing NI-DAQmx The DAQ Getting Started Guide, which you can download at ni.com/ , offers NI-DAQmx users step-by-step instructions for installing 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 ni.com 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 15
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. 330.2 mm (13.00 in.) NATIONAL...
. The DAQ Getting Started Guide is available ni.com/support after installation from Start»All Programs»National Instruments»NI-DAQ»DAQ Getting Started Guide. Other NI documentation is available from ni.com/manuals If you are not using any mounting accessories, attach the provided rubber standoffs to the back of the NI cDAQ-9172 chassis.
Page 17
Squeeze both C Series I/O module latches, insert the I/O module into the module slot, and press until both latches lock the module in place. Connect the NI cDAQ-9172 chassis with the supplied USB cable to any available USB port on your computer. Connect the power source to the NI cDAQ-9172 chassis.
I/O Module Figure 8. NI cDAQ-9172 Block Diagram 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 the LabVIEW Help, go to ni.com/manuals...
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 24
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 the LabVIEW Help, go to ni.com/manuals...
Page 27
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 the LabVIEW Help, go to ni.com/manuals...
One property of buffered I/O operations is sample mode. The sample mode can be either finite or continuous: • Finite—Finite sample mode generation refers to the generation of a specific, predetermined number of data samples. After the specified number of samples is written out, the generation stops. •...
Page 33
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...
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 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) Digital Waveform/Change Slots Static DIO Counter/Timer Detection — — — — — — — — 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 the LabVIEW Help, go to ni.com/manuals...
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: • Always count up • Always count down • Count up when the Counter n B input is high; count down when it is low For information on connecting counter signals, refer to the Default...
Note If you are using an external signal as the Source, at least one Source pulse should 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 Duplicate Count Prevention section.
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 51
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. Intervals Measured … Gate 1 2 ...
Page 53
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 Measures High Measures Low Number of Frequency Frequency Number of Measurements Signals Signals Method Counters Used Returned Accurately Accurately Poor Good Many Fair Good 1 or 2...
Page 57
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 59
Figure 33 shows an example of a single two-signal edge-separation measurement. Counter Armed Measured Interval GATE SOURCE Counter Value HW Save Register Figure 33. Single Two-Signal Edge-Separation Measurement Buffered Two-Signal Edge-Separation Measurement Buffered and single two-signal edge-separation measurements are similar, but buffered measurement measures multiple intervals.
Page 61
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. Table 7.
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: • Any PFI terminal • ai/ReferenceTrigger • ai/StartTrigger • Analog Comparison Event 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 Filtered input goes high when terminal is sampled...
Page 73
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. No Source edge, so no value written to buffer.
Page 75
Otherwise, the mode depends on the signal that drives Counter n Source. Table 10 describes the conditions for each mode. Table 10. Synchronization Mode Conditions Duplicate Count Type of Signal Driving Synchronization Prevention Enabled Measurement Counter n Source Mode 80 MHz Source Position Measurement 80 MHz Source 80 MHz Timebase...
Clock Routing Figure 49 shows the clock routing circuitry of the NI cDAQ-9172 chassis. 80 MHz Timebase Onboard 80 MHz 20 MHz Timebase Oscillator ÷ 100 kHz Timebase ÷ Figure 49. NI cDAQ-9172 Clock Routing Circuitry 80 MHz Timebase You can use the 80 MHz Timebase as the Source input to the 32-bit general-purpose counter/timers.
AO waveform modes......Non-periodic waveform, periodic waveform regeneration mode from onboard memory, periodic waveform regeneration from host buffer including dynamic update 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 Streaming to application memory..........0 to 8 MHz, system dependent Finite..........0 to 10 MHz...
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 signals...
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) EU Customers At the end of their life cycle, all products must be sent to a WEEE recycling center. For more information about WEEE recycling centers and National Instruments WEEE initiatives, visit ni.com/environment/weee.htm RoHS...
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.
Need help?
Do you have a question about the NI-9203 and is the answer not in the manual?
Questions and answers