Page 3 - Important Information; Warranty; Patents; WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS
Important Information Warranty NI 6124 and NI 6154 devices are warranted against defects in materials and workmanship for a period of one year from the date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment that proves...
Page 4 - Compliance; Determining FCC Class; Class A; Federal Communications Commission; Compliance with EU Directives
Compliance Compliance with FCC/Canada Radio Frequency Interference Regulations Determining FCC Class The Federal Communications Commission (FCC) has rules to protect wireless communications from interference. The FCC places digital electronics into two classes. These classes are known as Class A (fo...
Page 5 - Contents; About This Manual
© National Instruments Corporation v NI 6124/6154 User Manual Contents About This Manual Conventions ................................................................................................................... xiRelated Documentation...............................................................
Page 10 - Glossary
Contents NI 6124/6154 User Manual x ni.com Real-Time System Integration (RTSI) .......................................................................... 9-4 RTSI Connector Pinout ................................................................................... 9-4Using RTSI as Outputs ..............
Page 11 - Conventions; File»Page Setup»Options; bold
© National Instruments Corporation xi NI 6124/6154 User Manual About This Manual The NI 6124/6154 User Manual contains information about using the National Instruments S Series NI 6124 and NI 6154 data acquisition (DAQ) devices with NI-DAQmx 8.8 and later. Conventions The following conventions appea...
Page 12 - Related Documentation; LabVIEW
About This Manual NI 6124/6154 User Manual xii ni.com Related Documentation Each application software package and driver includes information about writing applications for taking measurements and controlling measurement devices. The following references to documents assume you have NI-DAQmx 8.8 or ...
Page 13 - Measurement Studio
About This Manual © National Instruments Corporation xiii NI 6124/6154 User Manual • VI and Function Reference»Measurement I/O VIs and Functions —Describes the LabVIEW NI-DAQmx VIs and properties. • Taking Measurements —Contains the conceptual and how-to information you need to acquire and analyze m...
Page 14 - ANSI C without NI Application Software; .NET Languages without NI Application Software
About This Manual NI 6124/6154 User Manual xiv ni.com To create an application in Visual C++, Visual C#, or Visual Basic .NET, follow these general steps: 1. In Visual Studio .NET, select File»New»Project to launch the New Project dialog box. 2. Find the Measurement Studio folder for the language yo...
Page 15 - Device Documentation and Specifications
About This Manual © National Instruments Corporation xv NI 6124/6154 User Manual Device Documentation and Specifications The NI 6124 Specifications and NI 6154 Specifications documents contain all specifications for the NI 6124 and NI 6154 S Series devices respectively. Documentation for supported d...
Page 16 - Getting Started; Installing Other Software
© National Instruments Corporation 1-1 NI 6124/6154 User Manual 1 Getting Started The NI 6124 and NI 6154 are simultaneous sampling multifunction I/O devices (S Series) that use the DAQ-STC2 ASIC. The NI 6124 S Series is a non-isolated device featuring PXI Express connectivity, four simultaneously s...
Page 17 - Installing the Hardware; Device Self-Calibration; My System»Devices and Interfaces»NI-DAQmx
Chapter 1 Getting Started NI 6124/6154 User Manual 1-2 ni.com Installing the Hardware The DAQ Getting Started Guide contains non-software-specific information about how to install PCI and PXI Express devices, as well as accessories and cables. Device Self-Calibration NI recommends that you self-cali...
Page 18 - Device Pinouts; Device Specifications
Chapter 1 Getting Started © National Instruments Corporation 1-3 NI 6124/6154 User Manual Device Pinouts Refer to Appendix A, Device-Specific Information , for NI 6124 and NI 6154 device pinouts. Device Specifications Refer to the specifications for your device, the NI 6124 Specifications or the NI ...
Page 19 - DAQ System Overview
© National Instruments Corporation 2-1 NI 6124/6154 User Manual 2 DAQ System Overview Figure 2-1 shows a typical DAQ system setup, which includes transducers, signal conditioning, cables that connect the various devices to the accessories, the S Series device, and the programming software. Refer to ...
Page 20 - DAQ Hardware
Chapter 2 DAQ System Overview NI 6124/6154 User Manual 2-2 ni.com DAQ Hardware DAQ hardware digitizes signals, performs D/A conversions to generate analog output signals, and measures and controls digital I/O signals. The following sections contain more information about specific components of the D...
Page 22 - Calibration Circuitry; Internal or Self-Calibration
Chapter 2 DAQ System Overview NI 6124/6154 User Manual 2-4 ni.com • Two flexible 32-bit counter/timer modules with hardware gating • Digital waveform acquisition and generation • Static DIO signals • True 5 V high current drive DO • PLL for clock synchronization • PCI/PXI interface • Independent sca...
Page 23 - External Calibration; Manual Calibration Procedures; Signal Conditioning; Help»Search the LabVIEW Help
Chapter 2 DAQ System Overview © National Instruments Corporation 2-5 NI 6124/6154 User Manual External Calibration External calibration is a process to adjust the device relative to a traceable, high precision calibration standard. The accuracy specifications of your device change depending on how l...
Page 24 - Programming Devices in Software; Help»Find Examples
Chapter 2 DAQ System Overview NI 6124/6154 User Manual 2-6 ni.com • If you are using other application software, refer to Common Sensors in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later. Programming Devices in Software National Instruments measurement devices are packaged with NI-DAQ...
Page 25 - NI 6124 I/O Connector Signal Descriptions
© National Instruments Corporation 3-1 NI 6124/6154 User Manual 3 I/O Connector This chapter contains information about the S Series I/O connector. Refer to one of the following sections, depending on your device: • NI 6124 I/O Connector Signal Descriptions • NI 6154 I/O Connector Signal Description...
Page 28 - Analog Input
© National Instruments Corporation 4-1 NI 6124/6154 User Manual 4 Analog Input Figure 4-1 shows the analog input circuitry of each channel of the non-isolated S Series (NI 6124) device. Figure 4-1. Non-Isolated S Series Analog Input Block Diagram Figure 4-2 shows the analog input circuitry of each c...
Page 29 - Analog Input Terminal Configuration
Chapter 4 Analog Input NI 6124/6154 User Manual 4-2 ni.com On S Series devices, each channel uses its own instrumentation amplifier, FIFO, multiplexer (mux), and A/D converter (ADC) to achieve simultaneous data acquisition. The main blocks featured in the S Series analog input circuitry are as follo...
Page 30 - Input Polarity and Range
Chapter 4 Analog Input © National Instruments Corporation 4-3 NI 6124/6154 User Manual Caution Exceeding the differential and common-mode input ranges distorts the input signals. Exceeding the maximum input voltage rating can damage the device and the computer. NI is not liable for any damage result...
Page 31 - Working Voltage Range; AI Data Acquisition Methods; Software-Timed Acquisitions
Chapter 4 Analog Input NI 6124/6154 User Manual 4-4 ni.com Working Voltage Range On most S Series devices, the PGIA operates normally by amplifying signals of interest while rejecting common-mode signals under the following three conditions: • The common-mode voltage (V cm ), which is equivalent to ...
Page 33 - Analog Input Triggering; Connecting Analog Input Signals; Input
Chapter 4 Analog Input NI 6124/6154 User Manual 4-6 ni.com Analog Input Triggering Analog input supports two different triggering actions: start and reference. An analog or digital hardware trigger can initiate these actions. All S Series devices support digital triggering, and some also support ana...
Page 34 - Types of Signal Sources; Floating Signal Sources; Ground-Referenced Signal Sources; Differential Connections for Ground-Referenced Signal Sources
Chapter 4 Analog Input © National Instruments Corporation 4-7 NI 6124/6154 User Manual Refer to the Analog Input Terminal Configuration section for descriptions of the input modes. Types of Signal Sources When configuring the input channels and making signal connections, first determine whether the ...
Page 36 - Common-Mode Signal Rejection Considerations
Chapter 4 Analog Input © National Instruments Corporation 4-9 NI 6124/6154 User Manual With these types of connections, the instrumentation amplifier rejects both the common-mode noise in the signal and the ground potential difference between the signal source and the device ground, shown as V cm in...
Page 37 - Low Source Impedance
Chapter 4 Analog Input NI 6124/6154 User Manual 4-10 ni.com Figure 4-5 shows a bias resistor connected between AI 0 – and the floating signal source ground. This resistor provides a return path for the bias current. A value of 10 k Ω to 100 k Ω is usually sufficient. If you do not use the resistor a...
Page 38 - High Source Impedance; Field Wiring Considerations
Chapter 4 Analog Input © National Instruments Corporation 4-11 NI 6124/6154 User Manual • High Source Impedance —For larger source impedances, this connection leaves the DIFF signal path significantly off balance. Noise that couples electrostatically onto the positive line does not couple onto the n...
Page 39 - Minimizing Drift in Differential Mode
Chapter 4 Analog Input NI 6124/6154 User Manual 4-12 ni.com Minimize noise pickup and maximize measurement accuracy by taking the following precautions. • Use differential AI connections to reject common-mode noise. • Use individually shielded, twisted-pair wires to connect AI signals to the device....
Page 40 - Analog Input Timing Signals
Chapter 4 Analog Input © National Instruments Corporation 4-13 NI 6124/6154 User Manual Analog Input Timing Signals An acquisition with posttrigger data allows you to view data that is acquired after a trigger event is received. A typical posttrigger DAQ sequence is shown in Figure 4-7. The sample c...
Page 41 - AI Sample Clock Signal
Chapter 4 Analog Input NI 6124/6154 User Manual 4-14 ni.com If an AI Reference Trigger (ai/ReferenceTrigger) pulse occurs before the specified number of pretrigger samples are acquired, the trigger pulse is ignored. Otherwise, when the AI Reference Trigger pulse occurs, the sample counter value decr...
Page 42 - Using an External Source; Other Timing Requirements
Chapter 4 Analog Input © National Instruments Corporation 4-15 NI 6124/6154 User Manual Several other internal signals can be routed to AI Sample Clock through RTSI. Refer to Device Routing in MAX in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later for more information. Using an Externa...
Page 43 - AI Sample Clock Timebase Signal; AI Convert Clock Signal
Chapter 4 Analog Input NI 6124/6154 User Manual 4-16 ni.com Figure 4-9 shows the relationship of AI Sample Clock to AI Start Trigger. Figure 4-9. AI Sample Clock and AI Start Trigger AI Sample Clock Timebase Signal You can route any of the following signals to be the AI Sample Clock Timebase (ai/Sam...
Page 44 - Using an Internal Source
Chapter 4 Analog Input © National Instruments Corporation 4-17 NI 6124/6154 User Manual Using an Internal Source One of the following internal signals can drive AI Convert Clock: • AI Convert Clock Timebase (divided down) • Counter n Internal Output A programmable internal counter divides down the A...
Page 45 - AI Hold Complete Event Signal
Chapter 4 Analog Input NI 6124/6154 User Manual 4-18 ni.com AI Hold Complete Event Signal The AI Hold Complete Event (ai/HoldCompleteEvent) signal generates a pulse after each A/D conversion begins. You can route ai/HoldCompleteEvent out to any PFI <0..15> or RTSI <0..7> terminal. The po...
Page 46 - Using an Analog Source; AI Reference Trigger Signal
Chapter 4 Analog Input © National Instruments Corporation 4-19 NI 6124/6154 User Manual Using an Analog Source When you use an analog trigger source, 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...
Page 47 - Using a Digital Source
Chapter 4 Analog Input NI 6124/6154 User Manual 4-20 ni.com When the reference trigger occurs, the DAQ device continues to write samples to the buffer until the buffer contains the number of posttrigger samples desired. Figure 4-10 shows the final buffer. Figure 4-10. Reference Trigger Final Buffer ...
Page 48 - Getting Started with AI Applications in Software
Chapter 4 Analog Input © National Instruments Corporation 4-21 NI 6124/6154 User Manual Getting Started with AI Applications in Software You can use the S Series device in the following analog input applications: • Simultaneous sampling • Single-point analog input • Finite analog input • Continuous ...
Page 49 - Analog Output
© National Instruments Corporation 5-1 NI 6124/6154 User Manual 5 Analog Output Figure 5-1 shows the analog output circuitry of a non-isolated S Series (NI 6124) device. Figure 5-1. Non-Isolated S Series Device Analog Output Block Diagram Figure 5-2 shows the analog output circuitry of an isolated S...
Page 50 - AO FIFO; AO Sample Clock; Isolation Barrier and Digital Isolators; DAC; Minimizing Glitches on the Output Signal; AO Data Generation Methods; Software-Timed Generations
Chapter 5 Analog Output NI 6124/6154 User Manual 5-2 ni.com The main blocks featured in the S Series analog output circuitry are as follows: • AO FIFO —The AO FIFO enables analog output waveform generation. It is a first-in-first-out (FIFO) memory buffer between the computer and the DACs that allows...
Page 51 - Hardware-Timed Generations
Chapter 5 Analog Output © National Instruments Corporation 5-3 NI 6124/6154 User Manual • Hardware-Timed Generations —With a hardware-timed generation, a digital hardware signal controls the rate of the generation. This signal can be generated internally on your device or provided externally. Hardwa...
Page 52 - Analog Output Triggering; Connecting Analog Output Signals
Chapter 5 Analog Output NI 6124/6154 User Manual 5-4 ni.com With FIFO regeneration, the entire buffer is downloaded to the FIFO and regenerated from there. After the data is downloaded, new data cannot be written to the FIFO. To use FIFO regeneration, the entire buffer must fit within the FIFO size....
Page 54 - Waveform Generation Timing Signals; AO Sample Clock Signal
Chapter 5 Analog Output NI 6124/6154 User Manual 5-6 ni.com Waveform Generation Timing Signals There is one AO Sample Clock that causes all AO channels to update simultaneously. Figure 5-5 summarizes the timing and routing options provided by the analog output timing engine. Figure 5-5. Analog Outpu...
Page 56 - AO Sample Clock Timebase Signal
Chapter 5 Analog Output NI 6124/6154 User Manual 5-8 ni.com Figure 5-7 shows the relationship of the AO Sample Clock signal to the AO Start Trigger signal. Figure 5-7. AO Sample Clock and AO Start Trigger AO Sample Clock Timebase Signal You can select any PFI or RTSI pin as well as many other intern...
Page 57 - AO Start Trigger Signal
Chapter 5 Analog Output © National Instruments Corporation 5-9 NI 6124/6154 User Manual Figure 5-8 shows the timing requirements for the AO Sample Clock Timebase signal. Figure 5-8. AO Sample Clock Timebase Timing Requirements The maximum allowed frequency is 20 MHz, with a minimum pulse width of 10...
Page 58 - AO Pause Trigger Signal
Chapter 5 Analog Output NI 6124/6154 User Manual 5-10 ni.com Figure 5-9 shows the timing requirements of the AO Start Trigger digital source. Figure 5-9. AO Start Trigger Timing Requirements Using an Analog Source When you use an analog trigger source, the waveform generation begins on the first ris...
Page 59 - Getting Started with AO Applications in Software
Chapter 5 Analog Output © National Instruments Corporation 5-11 NI 6124/6154 User Manual Using a Digital Source To use ao/Pause Trigger, specify a source and a polarity. The source can be an external signal connected to any PFI or RTSI <0..6> pin. The source can also be one of several other in...
Page 61 - Static DIO for Non-Isolated Devices
Chapter 6 Digital I/O NI 6124/6154 User Manual 6-2 ni.com Figure 6-1 shows the circuitry of one DIO line. Each DIO line is similar. The following sections provide information about the various parts of the DIO circuit. Figure 6-1. Non-Isolated S Series Digital I/O Circuitry The DIO terminals are nam...
Page 62 - Digital Waveform Triggering for Non-Isolated Devices; Digital Waveform Acquisition for Non-Isolated Devices
Chapter 6 Digital I/O © National Instruments Corporation 6-3 NI 6124/6154 User Manual Digital Waveform Triggering for Non-Isolated Devices (NI 6124 Only) NI 6124 devices do not have an independent DI or DO Start Trigger for digital waveform acquisition or generation. To trigger a DI or DO operation,...
Page 63 - DI Sample Clock Signal
Chapter 6 Digital I/O NI 6124/6154 User Manual 6-4 ni.com You can configure each DIO line to be an output, a static input, or a digital waveform acquisition input. DI Sample Clock Signal (NI 6124 Only) Use the DI Sample Clock (di/SampleClock) signal to sample the P0.<0..7> terminals and store ...
Page 64 - Routing DI Sample Clock to an Output Terminal; Digital Waveform Generation for Non-Isolated Devices; DO Sample Clock Signal
Chapter 6 Digital I/O © National Instruments Corporation 6-5 NI 6124/6154 User Manual • PXI_STAR • Analog Comparison Event (an analog trigger) You can sample data on the rising or falling edge of DI Sample Clock. Routing DI Sample Clock to an Output Terminal You can route DI Sample Clock out to any ...
Page 66 - Programmable Power-Up States for Non-Isolated Devices
Chapter 6 Digital I/O © National Instruments Corporation 6-7 NI 6124/6154 User Manual I/O Protection for Non-Isolated Devices (NI 6124 Only) Each DIO and PFI signal is protected against overvoltage, undervoltage, and overcurrent conditions as well as ESD events. However, you should avoid these fault...
Page 67 - DI Change Detection for Non-Isolated Devices
Chapter 6 Digital I/O NI 6124/6154 User Manual 6-8 ni.com DI Change Detection for Non-Isolated Devices (NI 6124 Only) You can configure the DAQ device to detect changes in the DIO signals. Figure 6-3 shows a block diagram of the DIO change detection circuitry. Figure 6-3. DI Change Detection You can...
Page 68 - Connecting Digital I/O Signals on Non-Isolated Devices
Chapter 6 Digital I/O © National Instruments Corporation 6-9 NI 6124/6154 User Manual The Change Detection Event signal also can be used to detect changes on digital output events. DI Change Detection Applications for Non-Isolated Devices (NI 6124 Only) The DIO change detection circuitry can interru...
Page 70 - Static DIO for Isolated Devices
Chapter 6 Digital I/O © National Instruments Corporation 6-11 NI 6124/6154 User Manual Digital I/O for Isolated Devices (NI 6154 Only) S Series isolated devices contain ten lines of unidirectional DIO signals. The digital I/O port is comprised of six digital inputs and four digital outputs, all bank...
Page 71 - I/O Protection for Isolated Devices; Connecting Digital I/O Signals on Isolated Devices
Chapter 6 Digital I/O NI 6124/6154 User Manual 6-12 ni.com I/O Protection for Isolated Devices (NI 6154 Only) Each DIO and PFI signal is protected against over-voltage, under-voltage, and over-current conditions as well as ESD events. However, you should avoid these fault conditions by following the...
Page 73 - Counters
© National Instruments Corporation 7-1 NI 6124/6154 User Manual 7 Counters S Series devices have two general-purpose 32-bit counter/timers and one frequency generator, as shown in Figure 7-1. The general-purpose counter/timers can be used for many measurement and pulse generation applications. Figur...
Page 74 - Counter Input Applications; Counting Edges
Chapter 7 Counters NI 6124/6154 User Manual 7-2 ni.com The counters have seven input signals, although in most applications only a few inputs are used. For information about connecting counter signals, refer to the Default Counter/Timer Pinouts section. Counter Input Applications Counting Edges In e...
Page 76 - Controlling the Direction of Counting; Pulse-Width Measurement
Chapter 7 Counters NI 6124/6154 User Manual 7-4 ni.com 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 ...
Page 78 - Period Measurement
Chapter 7 Counters NI 6124/6154 User Manual 7-6 ni.com condition is not met, consider using duplicate count prevention, described in the Duplicate Count Prevention section. For information about connecting counter signals, refer to the Default Counter/Timer Pinouts section. Period Measurement In per...
Page 79 - Semi-Period Measurement
Chapter 7 Counters © National Instruments Corporation 7-7 NI 6124/6154 User Manual Buffered Period Measurement Buffered period measurement is similar to single period measurement, but buffered period measurement measures multiple periods. The counter counts the number of rising (or falling) edges on...
Page 80 - Single Semi-Period Measurement
Chapter 7 Counters NI 6124/6154 User Manual 7-8 ni.com You can route an internal or external periodic clock signal (with a known period) to the Source input of the counter. The counter counts the number of rising (or falling) edges occurring on the Source input between two edges of the Gate signal. ...
Page 81 - Frequency Measurement; Method 1: Measure Low Frequency with One Counter
Chapter 7 Counters © National Instruments Corporation 7-9 NI 6124/6154 User Manual For information about connecting counter signals, refer to the Default Counter/Timer Pinouts section. Frequency Measurement You can use the counters to measure frequency in several different ways. You can choose one o...
Page 82 - Method 2: Measure High Frequency with Two Counters
Chapter 7 Counters NI 6124/6154 User Manual 7-10 ni.com You can configure the counter to make K + 1 buffered period measurements. Recall that the first period measurement in the buffer should be discarded. Average the remaining K period measurements to determine the average period of F1. The frequen...
Page 84 - Choosing a Method for Measuring Frequency
Chapter 7 Counters NI 6124/6154 User Manual 7-12 ni.com You can route the signal to measure to the Source input of Counter 0, as shown in Figure 7-13. 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 sig...
Page 85 - Task
Chapter 7 Counters © National Instruments Corporation 7-13 NI 6124/6154 User Manual • Method 1 uses only one counter. It is a good method for many applications. However, the accuracy of the measurement decreases as the frequency increases. Consider a frequency measurement on a 50 kHz signal using an...
Page 86 - Position Measurement
Chapter 7 Counters NI 6124/6154 User Manual 7-14 ni.com Table 7-2 summarizes some of the differences in methods of measuring frequency. For information about connecting counter signals, refer to the Default Counter/Timer Pinouts section. Position Measurement You can use the counters to perform posit...
Page 87 - X4 Encoding; Channel Z Behavior
Chapter 7 Counters © National Instruments Corporation 7-15 NI 6124/6154 User Manual Figure 7-14 shows a quadrature cycle 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, ...
Page 89 - Buffered (Sample Clock) Position Measurement
Chapter 7 Counters © National Instruments Corporation 7-17 NI 6124/6154 User Manual For information about connecting counter signals, refer to the Default Counter/Timer Pinouts section. Buffered (Sample Clock) Position Measurement With buffered position measurement (position measurement using a samp...
Page 90 - Buffered Two-Signal Edge-Separation Measurement
Chapter 7 Counters NI 6124/6154 User Manual 7-18 ni.com You can configure the rising or falling edge of the Aux input to be the active edge. You can configure the rising or falling edge of the Gate input to be the active edge. Use this type of measurement to count events or measure the time that occ...
Page 91 - Counter Output Applications; Simple Pulse Generation
Chapter 7 Counters © National Instruments Corporation 7-19 NI 6124/6154 User Manual Figure 7-21 shows an example of a buffered two-signal edge-separation measurement. Figure 7-21. Buffered Two-Signal Edge-Separation Measurement For information about connecting counter signals, refer to the Default C...
Page 92 - Retriggerable Single Pulse Generation
Chapter 7 Counters NI 6124/6154 User Manual 7-20 ni.com Figure 7-22 shows a generation of a pulse with a pulse delay of four and a pulse width of three (using the rising edge of Source). Figure 7-22. Single Pulse Generation Single Pulse Generation with Start Trigger The counter can output a single p...
Page 93 - Pulse Train Generation
Chapter 7 Counters © National Instruments Corporation 7-21 NI 6124/6154 User Manual You can route the Start Trigger signal to the Gate input of the counter. You can specify a delay from the Start Trigger to the beginning of each pulse. You also can specify the pulse width. The delay and pulse width ...
Page 94 - Finite Pulse Train Generation
Chapter 7 Counters NI 6124/6154 User Manual 7-22 ni.com You also can use the Gate input of the counter as a Pause Trigger (if it is not used as a Start Trigger). The counter pauses pulse generation when the Pause Trigger is active. Figure 7-25 shows a continuous pulse train generation (using the ris...
Page 95 - Frequency Generation
Chapter 7 Counters © National Instruments Corporation 7-23 NI 6124/6154 User Manual 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 squa...
Page 96 - Frequency Division; Pulse Generation for ETS
Chapter 7 Counters NI 6124/6154 User Manual 7-24 ni.com Frequency Output can be routed out to any PFI <0..15> or RTSI <0..7> terminal. All PFI terminals are set to high-impedance at startup. The FREQ OUT signal also can be routed to DO Sample Clock and DI Sample Clock. In software, progr...
Page 97 - Counter Timing Signals
Chapter 7 Counters © National Instruments Corporation 7-25 NI 6124/6154 User Manual The waveform thus produced at the counter’s output can be used to provide timing for undersampling applications where a digitizing system can sample repetitive waveforms that are higher in frequency than the Nyquist ...
Page 98 - Counter; Application
Chapter 7 Counters NI 6124/6154 User Manual 7-26 ni.com Counter n Source Signal The selected edge of the Counter n Source signal increments and decrements the counter value depending on the application the counter is performing. Table 7-3 lists how this terminal is used in various applications. Rout...
Page 102 - Routing Counter; Default Counter/Timer Pinouts
Chapter 7 Counters NI 6124/6154 User Manual 7-30 ni.com With pulse or pulse train generation tasks, the counter drives the pulse(s) on the Counter n Internal Output signal. The Counter n Internal Output signal can be internally routed to be a counter/timer input or an “external” source for AI, AO, D...
Page 103 - Counter Triggering; Arm Start Trigger
Chapter 7 Counters © National Instruments Corporation 7-31 NI 6124/6154 User Manual Counter Triggering Counters support three different triggering actions: • Arm Start Trigger —To begin any counter input or output function, you must first enable, or arm, the counter. Software can arm a counter or co...
Page 104 - Other Counter Features; Cascading Counters; Counter Filters
Chapter 7 Counters NI 6124/6154 User Manual 7-32 ni.com 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 inputs of the other counter. By cascading two counters together, you can effectively create a ...
Page 105 - Prescaling
Chapter 7 Counters © National Instruments Corporation 7-33 NI 6124/6154 User Manual The filter setting for each input can be configured independently. On power up, the filters are disabled. Figure 7-30 shows an example of a low to high transition on an input that has its filter set to 125 ns (N = 5)...
Page 108 - Example Application That Prevents Duplicate Count
Chapter 7 Counters NI 6124/6154 User Manual 7-36 ni.com Example Application That Works Incorrectly (Duplicate Counting) In Figure 7-33, after the first rising edge of Gate, no Source pulses occur, so the counter does not write the correct data to the buffer. Figure 7-33. Duplicate Count Example Exam...
Page 109 - When To Use Duplicate Count Prevention; Enabling Duplicate Count Prevention in NI-DAQmx; Enable Duplicate Count Prevention
Chapter 7 Counters © National Instruments Corporation 7-37 NI 6124/6154 User Manual 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 ...
Page 111 - External Source Mode
Chapter 7 Counters © National Instruments Corporation 7-39 NI 6124/6154 User Manual Other Internal Source Mode In other internal source mode, the device synchronizes signals on the falling edge of the source, and counts on the following rising edge of the source, as shown in Figure 7-36. Figure 7-36...
Page 112 - PFI for Non-Isolated Devices
© National Instruments Corporation 8-1 NI 6124/6154 User Manual 8 Programmable Function Interfaces (PFI) Refer to one of the following sections, depending on your device: • PFI for Non-Isolated Devices —NI 6124 devices have 16 PFI pins in addition to eight lines of bidirectional DIO signals. • PFI f...
Page 113 - PFI for Isolated Devices
Chapter 8 Programmable Function Interfaces (PFI) NI 6124/6154 User Manual 8-2 ni.com Each PFI input also has a programmable debouncing filter. Figure 8-1 shows the circuitry of one PFI line. Each PFI line is similar. Figure 8-1. PFI Circuitry on Non-Isolated S Series Devices When a terminal is used ...
Page 115 - Using PFI Terminals as Timing Input Signals; Exporting Timing Output Signals Using PFI Terminals
Chapter 8 Programmable Function Interfaces (PFI) NI 6124/6154 User Manual 8-4 ni.com Using PFI Terminals as Timing Input Signals Use PFI terminals to route external timing signals to many different S Series functions. 1 Each PFI terminal (or input PFI terminal) can be routed to any of the following ...
Page 116 - Using PFI Terminals as Static Digital Inputs and Outputs
Chapter 8 Programmable Function Interfaces (PFI) © National Instruments Corporation 8-5 NI 6124/6154 User Manual • AO Start Trigger (ao/StartTrigger) • Counter n Source • Counter n Gate • Counter n Internal Output • Frequency Output • PXI_STAR • RTSI <0..7> • (NI 6124 Only) Analog Comparison E...
Page 117 - Connecting PFI Input Signals; PFI Filters
Chapter 8 Programmable Function Interfaces (PFI) NI 6124/6154 User Manual 8-6 ni.com Connecting PFI Input Signals All PFI input connections are referenced to D GND. Figure 8-4 shows this reference, and how to connect an external PFI 0 source and an external PFI 2 source to two PFI terminals. Figure ...
Page 119 - Programmable Power-Up States
Chapter 8 Programmable Function Interfaces (PFI) NI 6124/6154 User Manual 8-8 ni.com I/O Protection Each DIO and PFI signal is protected against overvoltage, undervoltage, and overcurrent conditions as well as ESD events. However, you should avoid these fault conditions by following these guidelines...
Page 121 - Clock Routing
© National Instruments Corporation 9-1 NI 6124/6154 User Manual 9 Digital Routing and Clock Generation The digital routing circuitry has the following main functions: • Manages the flow of data between the bus interface and the acquisition/generation sub-systems (analog input, analog output, digital...
Page 122 - 0 MHz Timebase
Chapter 9 Digital Routing and Clock Generation NI 6124/6154 User Manual 9-2 ni.com 80 MHz Timebase The 80 MHz Timebase can be used as the Source input to the 32-bit general-purpose counter/timers. The 80 MHz Timebase is generated from the following sources: • Onboard oscillator • External signal (by...
Page 123 - 0 MHz Reference Clock; Synchronizing Multiple Devices
Chapter 9 Digital Routing and Clock Generation © National Instruments Corporation 9-3 NI 6124/6154 User Manual 10 MHz Reference Clock The 10 MHz reference clock can be used to synchronize other devices to your S Series device. The 10 MHz reference clock can be routed to the RTSI <0..7> termina...
Page 124 - RTSI Connector Pinout; Terminal
Chapter 9 Digital Routing and Clock Generation NI 6124/6154 User Manual 9-4 ni.com Real-Time System Integration (RTSI) Real-Time System Integration (RTSI) is a set of bused signals among devices that allows you to do the following: • Use a common clock (or timebase) to drive the timing engine on mul...
Page 125 - Using RTSI as Outputs
Chapter 9 Digital Routing and Clock Generation © National Instruments Corporation 9-5 NI 6124/6154 User Manual Figure 9-2. S Series PCI Device RTSI Pinout Using RTSI as Outputs RTSI <0..7> are bidirectional terminals. As an output, you can drive any of the following signals to any RTSI termina...
Page 126 - Using RTSI Terminals as Timing Input Signals
Chapter 9 Digital Routing and Clock Generation NI 6124/6154 User Manual 9-6 ni.com • Counter n Source, Gate, Z, Internal Output • Change Detection Event • Analog Comparison Event • FREQ OUT • PFI <0..5> Note Signals with a * are inverted before being driven on the RTSI terminals. Using RTSI Te...
Page 128 - PXI Clock and Trigger Signals; PXI Triggers
Chapter 9 Digital Routing and Clock Generation NI 6124/6154 User Manual 9-8 ni.com Refer to the KnowledgeBase document, Digital Filtering with M Series and CompactDAQ , for more information about digital filters and counters. To access this KnowledgeBase, go to ni.com/info and enter the info code rd...
Page 130 - Routing Signals in Software; Language
Chapter 9 Digital Routing and Clock Generation NI 6124/6154 User Manual 9-10 ni.com The filter setting for each input can be configured independently. On power up, the filters are disabled. Figure 9-4 shows an example of a low to high transition on an input that has its filter set to 125 ns (N = 5)....
Page 131 - Bus Interface; PXI Considerations; PXI Express
© National Instruments Corporation 10-1 NI 6124/6154 User Manual 10 Bus Interface Each S Series device is designed on a complete hardware architecture that is deployed on the following platforms: • PCI • PXI Express Using NI-DAQmx driver software, you have the flexibility to change hardware platform...
Page 132 - Data Transfer Methods; Changing Data Transfer Methods between DMA and IRQ; Data Transfer Mechanism
Chapter 10 Bus Interface NI 6124/6154 User Manual 10-2 ni.com Data Transfer Methods There are three primary ways to transfer data across the PCI bus are as follows: • Direct Memory Access (DMA) —DMA is a method to transfer data between the device and computer memory without the involvement of the CP...
Page 133 - Triggering; Triggering with a Digital Source
© National Instruments Corporation 11-1 NI 6124/6154 User Manual 11 Triggering A trigger is a signal that causes a device to perform an action, such as starting an acquisition. You can program your DAQ device to generate triggers on any of the following: • A software command • A condition on an exte...
Page 135 - Analog Input Channel; Analog Trigger Actions; Analog Trigger Types; Analog Edge Triggering
Chapter 11 Triggering © National Instruments Corporation 11-3 NI 6124/6154 User Manual Analog Input Channel (NI 6124 Only) You can select any analog input channel to drive the instrumentation amplifier. The instrumentation amplifier amplifies the signal as determined by the input mode and the input ...
Page 136 - Analog Edge Triggering with Hysteresis
Chapter 11 Triggering NI 6124/6154 User Manual 11-4 ni.com In below-level analog triggering mode, shown in Figure 11-3, the trigger is generated when the signal value is less than Level. Figure 11-3. Below-Level Analog Triggering Mode In above-level analog triggering mode, shown in Figure 11-4, the ...
Page 138 - Analog Window Triggering
Chapter 11 Triggering NI 6124/6154 User Manual 11-6 ni.com • Analog Window Triggering —An analog window trigger occurs when an analog signal either passes into (enters) or passes out of (leaves) a window defined by two voltage levels. Specify the levels by setting the window Top value and the window...
Page 140 - NI 6124 I/O Connector Pinout
Appendix A Device-Specific Information NI 6124/6154 User Manual A-2 ni.com Note The AO channels do not have analog or digital filtering hardware and do produce images in the frequency domain related to the update rate. NI 6124 I/O Connector Pinout Figure A-1 shows the pin assignments for the 68-pin ...
Page 142 - NI 6124 Cables and Accessories
Appendix A Device-Specific Information NI 6124/6154 User Manual A-4 ni.com NI 6124 Block Diagram Figure A-2 shows the NI 6124 block diagram. Figure A-2. NI 6124 Block Diagram NI 6124 Cables and Accessories This section describes some of the cable and accessory options for the NI 6124. For more speci...
Page 143 - Using BNCs
Appendix A Device-Specific Information © National Instruments Corporation A-5 NI 6124/6154 User Manual Using BNCs You can connect BNC cables to your DAQ device using BNC accessories such as the BNC-2110, BNC-2120, and BNC-2090A. To connect your DAQ device to a BNC accessory, use one of the following...
Page 146 - NI 6154 I/O Connector Pinout; Port
Appendix A Device-Specific Information NI 6124/6154 User Manual A-8 ni.com NI 6154 I/O Connector Pinout Figure A-3 shows the pin assignments for the 37-pin I/O connector on the NI 6154. Figure A-3. NI 6154 Pinout Table A-2. NI 6154 Device Default NI-DAQmx Counter/Timer Pins Counter/Timer Signal Defa...
Page 148 - NI 6154 Cables and Accessories
Appendix A Device-Specific Information NI 6124/6154 User Manual A-10 ni.com NI 6154 Block Diagram Figure A-4 shows the NI 6154 block diagram. Figure A-4. NI 6154 Block Diagram NI 6154 Cables and Accessories This section describes some of the cable and accessory options for the NI 6154. For more spec...
Page 149 - NI 6154 Isolation and Digital Isolators; Ground
Appendix A Device-Specific Information © National Instruments Corporation A-11 NI 6124/6154 User Manual • CB-37FH —37-pin screw terminal block, horizontal, DIN rail mount • CB-37FV —37-pin screw terminal block, vertical, DIN rail mount • TB-37F-37CP —37-pin crimp & poke terminals, shell with str...
Page 150 - Digital Isolation; Benefits of an Isolated DAQ Device; Improved rejection
Appendix A Device-Specific Information NI 6124/6154 User Manual A-12 ni.com The non-isolated ground is connected to the chassis ground of the PC or chassis where the device is installed. The isolated ground is not connected to the chassis ground of the PC or chassis. The isolated ground can be at a ...
Page 151 - Improved accuracy; Improved safety
Appendix A Device-Specific Information © National Instruments Corporation A-13 NI 6124/6154 User Manual • Improved accuracy —Isolation improves measurement accuracy by physically preventing ground loops. Ground loops, a common source of error and noise, are the result of a measurement system having ...
Page 153 - Calibration Certificate
Appendix B Technical Support and Professional Services NI 6124/6154 User Manual B-2 ni.com • Declaration of Conformity (DoC) —A DoC is our claim of compliance with the Council of the European Communities using the manufacturer’s declaration of conformity. This system affords the user protection for ...
Page 154 - Symbol; Symbols
© National Instruments Corporation G-1 NI 6124/6154 User Manual Glossary Symbol Prefix Value p pico 10 –12 n nano 10 –9 μ micro 10 – 6 m milli 10 –3 k kilo 10 3 M mega 10 6 Symbols ° Degree. > Greater than. < Less than. – Negative of, or minus. Ω Ohms. / Per. % Percent. ± Plus or minus. + Posi...
Page 165 - Index; Numerics
© National Instruments Corporation I-1 NI 6124/6154 User Manual Index Numerics 10 MHz reference clock, 9-3100 kHz Timebase, 9-220 MHz Timebase, 9-280 MHz source mode, 7-3880 MHz Timebase, 9-2 A A/D converter, 4-2AC coupling connections, 4-9accessories field wiring considerations, 4-11I/O connector, ...