National Instruments NI cDAQ-9172 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of National Instruments NI cDAQ-9172, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of National Instruments NI cDAQ-9172 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of National Instruments NI cDAQ-9172. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of National Instruments NI cDAQ-9172 should contain:
- informations concerning technical data of National Instruments NI cDAQ-9172
- name of the manufacturer and a year of construction of the National Instruments NI cDAQ-9172 item
- rules of operation, control and maintenance of the National Instruments NI cDAQ-9172 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of National Instruments NI cDAQ-9172 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of National Instruments NI cDAQ-9172, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the National Instruments service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of National Instruments NI cDAQ-9172.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the National Instruments NI cDAQ-9172 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    USER GUIDE AND SPECIFICATIONS NI cDAQ-9172 Contents Introduction ............ .............. .............. .............. ............... .............. .......... 4 Safety Guidelines .............. .............. ............... .............. .............. ............. 5 Safety Guidelines for Hazardous Vo ltages ........ ......................[...]

  • Page 2

    NI cDAQ-9172 User Guide and Specifications 2 ni.com Analog Input .................... .............. .............. .............. .............. .............. ..20 Analog Input Triggering ............ ................. .............. .............. ..........20 AI Start Trigger Signal ........................ .............. ................. ....[...]

  • Page 3

    © National Instruments Corporation 3 NI cDAQ-9172 User Guide and Specifications Counter Timi ng Signals ... .............. .............. .............. .............. ........ 63 Counter n Source Signal ............ .............. .............. .............. ..... 64 Counter n Gate Signal................... .............. .............. .......[...]

  • Page 4

    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 . The NI cD A Q-9172 is an eight-sl ot USB chassis designed for use [...]

  • Page 5

    © 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. Note Because some C Series I/O modules may ha v e more stringent certif ication standards than the NI cD A Q-9172 chassi s, the combined system may be limited by individual compone[...]

  • Page 6

    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. Check ni.com/manual s for the most recent hardware documentation, and refer to Table 1 for a list of locations for drive[...]

  • Page 7

    © 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. Start»All Programs» National Instruments» LabVIEW»LabVIEW Manuals or[...]

  • Page 8

    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. Help»Contents , then select Usin g LabWindows/CV I» Data Acquisition» Taking an NI-DAQmx Meas[...]

  • Page 9

    © 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. T raining Courses If [...]

  • Page 10

    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. Installi[...]

  • Page 11

    © 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.0 mm (1.81 in.) 23.7 mm (0.94 in.) 20.3 mm (0.80 in.) 25.0 mm (0.98 in.) 44.1 mm (1.74 in.) 24.[...]

  • Page 12

    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.4 mm (1 in.) of clearance abov[...]

  • Page 13

    © 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. The s[...]

  • Page 14

    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. Figure 5. Panel Mount Dimensions and In stallation [...]

  • Page 15

    © 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. Refer to the DAQ Getting Started Guide for more informat ion about software installation. Note T[...]

  • Page 16

    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 . 8. Connect the power source to the NI cD[...]

  • Page 17

    © 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.com/ s upport/in s tall for troubleshooting info rmation. 14. Right-clic[...]

  • Page 18

    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. These componen ts digitize signals, perform D/A conversions to generate analog output signals, measure and control digital I/O signal s, and provide signal condition[...]

  • Page 19

    © 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 . Static digital I/[...]

  • Page 20

    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. Refer to the PFI section for mor e information. The PFI pins hav e a digital filt[...]

  • Page 21

    © 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. For more information about using digital mod ules for triggering, re fer to the Digital I/O section[...]

  • Page 22

    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. In NI-DAQmx, this is ca lled the Analog Comparison Event. When you use an analog tr igger source for ai/Start Trigger, the acquisition begins on the first rising edge of the Analog Com parison Eve[...]

  • Page 23

    © 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 . Figure 9. Reference T rigger Final Buffer Using a Digital Sourc[...]

  • Page 24

    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. You can program the active level of th e pau[...]

  • Page 25

    © 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. AI Sample Clock T imebase The AI Sample Clock Timebase (ai/SampleClockTimebase) signal is divided dow n to provide a source [...]

  • Page 26

    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. Simultaneous Sample-and-Hold Simultaneous sampl e-and-hold (SSH) C Series analog input modules contain multiple A/D converters or ci rcuitry that allows all the input channels to be sampl ed at the [...]

  • Page 27

    © 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. Because of their slow rate, it is not appropriate for these modules to con strain the AI Sample Clock to operate at or [...]

  • Page 28

    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-Point •F i n i t e • Continuous For more information about programming analog inp ut applications and triggers in software, Refer to the N I-DAQmx H[...]

  • Page 29

    © 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. In NI-DAQmx, software-timed generations are referred to as on-dem[...]

  • Page 30

    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. After the specified number of samples is written out, the genera[...]

  • Page 31

    © 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: • A O Sample Clock •A O S t a r t T r i g g e r • A O Pause T rigger AO Sample Clock The AO sample clock (ao/ SampleClock) signals when all the[...]

  • Page 32

    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. The source can be one of the [...]

  • Page 33

    © 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. The pause does not take effect until t[...]

  • Page 34

    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 . Alternately , to do wnload the LabVIEW Help, go to ni.com/manu[...]

  • Page 35

    © 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. [...]

  • Page 36

    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. Each D IO line can b e individually confi gured as a digital input (DI) or digital ou tput (DO), dependi ng on th e C Series I/[...]

  • Page 37

    © 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. Use the following signals as the source: • AI Sample Clock • AI Con vert Clock • A O Sample Clock • Counter n Internal Output •[...]

  • Page 38

    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. Buffered generation s typically allow for mu[...]

  • Page 39

    © 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. Routing Change Detectio n Event to an Output Te r m i n a l You can route ChangeDet ectionEvent to an[...]

  • Page 40

    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. Y ou can configure each PFI indi vidually as the following: • Static digital input • Static digital output • T iming input signal for AI, A O, DI, DO, or coun[...]

  • Page 41

    © 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. The following sections describe v[...]

  • Page 42

    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. You also can control the direction of counting (up or down). The counte[...]

  • Page 43

    © 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 . Figure 17 shows an e xample of on-demand edge counting with a pause trigger . Figure 17. Single[...]

  • Page 44

    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. You can configure the counter to do the follo wing: • Always count up • Always count do wn • Count up when the Counter n B input is hig h; count down when it is low For information on con[...]

  • Page 45

    © 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. Single Pulse-Wid th Measurement Buffered Pulse-Width Measurement Buffered pulse-width measurement is simil ar to single pulse-width measurement, but buffered pulse-width measurement takes meas[...]

  • Page 46

    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 . If this condition is not met, consider using duplicate count prev ention, describe[...]

  • Page 47

    © 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. The counter counts the number of rising (or falling) edges on the Source input between each pair of acti ve e[...]

  • Page 48

    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. Y ou can route an internal or exte rna l periodic cloc k signal (with a kn[...]

  • Page 49

    © 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 . If this condition is not met, consider using duplicat[...]

  • Page 50

    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. Figure 25 illustrates this meth od. Figure 25. Frequency Measurement—Method 1b Y ou can rou[...]

  • Page 51

    © 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. Figure 26 illustrates this meth od[...]

  • Page 52

    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. Figure 27. Frequency Measurement—Method 3 The[...]

  • Page 53

    © 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. • Met[...]

  • Page 54

    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. Position Measurement You can use the count ers to perf orm position measurements with quadratur e encoders or t w[...]

  • Page 55

    © 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. When channel B leads channel A, the decrement occurs on the f alling edge of channel[...]

  • Page 56

    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. You can program this reload to occur i[...]

  • Page 57

    © 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. The counter decrements on each rising edge of channel B, as shown in Figure 32. Figure 3[...]

  • Page 58

    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 Buffered T wo-Signal Edge- Separation Measurement Buffered and single two-signal edge-sep aration measurements are similar, but buffered measurement m easure[...]

  • Page 59

    © 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. The delay is m[...]

  • Page 60

    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). Figure 36. Single Pulse Generation with Start T rigger Retriggerable Single Pulse Generation The counter can output a single pulse in response to each pulse on a hardw[...]

  • Page 61

    © 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. Y ou can specify a delay from when the counter is[...]

  • Page 62

    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. The frequency genera tor is independen t [...]

  • Page 63

    © 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. For informati[...]

  • Page 64

    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. Table 8 lists Co unter n Source minimum pulse width. R[...]

  • Page 65

    © 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. Counter n Gate Signal The Counter n Gate signal can perform many differen t operations depending on the application includi ng starting and stopping the counter,[...]

  • Page 66

    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. You can route the foll owing signals to the Counter n Aux input: • Any PFI termin al • ai/ReferenceT rigger • ai/StartTrigger • Analog Comparison Event In addition, you can route [...]

  • Page 67

    © 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. Software calls this ha rdware signal the Arm Start T ri[...]

  • Page 68

    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. Counter T riggering Counters support three differ[...]

  • Page 69

    © 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. By cascading two counters together, you can effectively create a 64-bit counter. By casc[...]

  • Page 70

    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). Figure 41. Filter Example Enabling filters introduces jitter on the input si[...]

  • Page 71

    © 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. Duplicate count pr evention applie s only to buffered counter applicat[...]

  • Page 72

    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. Figure 44. Duplicate Count Example Example Application That Prevents Duplicate Cou[...]

  • Page 73

    © 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. With duplicate count prev ention, the counter value and Counter n [...]

  • Page 74

    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. 80 MHz Source Mode In 80 MHz source mode, the NI cDAQ-9172 synchron izes signals on the rising edge of the source, and counts on the follo wing rising edge of the source, as s[...]

  • Page 75

    © 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. The NI cDAQ-9172 chassis synchronizes signals on the rising edg e of the delayed Source signal and counts on the follow[...]

  • Page 76

    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. The 80 MHz T imebase can be generated from th[...]

  • Page 77

    © 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. Analog Inp[...]

  • Page 78

    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 regeneratio n from host buff er includin g dynamic update Digital W aveform Characteris tics (Slots 1 th rough 4 Only) 1 Waveform acquisition (DI) FI[...]

  • Page 79

    © 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 ...................... .... 0 to 20 MHz Timing output frequency .................... .... 0 to 20 MHz Genera[...]

  • Page 80

    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 ...................... .............. .............. .1 to 16 (integers) Base clock accuracy ......... ........... .[...]

  • Page 81

    © 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.8 in. (2 mm) center pin Power input mating connector ..[...]

  • Page 82

    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) .....–2 0 to 55 °C Storage temperature (IEC-60068-2-1 and IEC-600 68-2-2) .....– 40 to 85 °C Ing[...]

  • Page 83

    © 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 el ectrical equipment for m easurement, control, and laboratory use: • EN 61326 EMC requirements; Min imum Immunity • EN 55011 Emissions; Group 1[...]

  • Page 84

    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 . For patents covering Nati[...]