Warranty The NI 6238/6239 is warranted against defects in materials and workmanship for a period of three years from the date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment that proves to be defective during the warranty period.
Page 4
NATIONAL INSTRUMENTS PRODUCTS ARE INCORPORATED IN A SYSTEM OR APPLICATION, INCLUDING, WITHOUT LIMITATION, THE APPROPRIATE DESIGN, PROCESS AND SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION.
Page 6
Using a Digital Source... 4-22 Routing AI Start Trigger to an Output Terminal ... 4-22 AI Reference Trigger Signal ... 4-23 Using a Digital Source... 4-24 Routing AI Reference Trigger Signal to an Output Terminal ... 4-24 NI 6238/6239 User Manual ni.com...
Page 8
Retriggerable Single Pulse Generation... 7-22 Pulse Train Generation... 7-23 Continuous Pulse Train Generation... 7-23 Frequency Generation ... 7-24 Using the Frequency Generator ... 7-24 Frequency Division ... 7-25 Pulse Generation for ETS ... 7-25 NI 6238/6239 User Manual viii ni.com...
About This Manual The NI 6238/6239 User Manual contains information about using the NI 6238 and NI 6239 M Series data acquisition (DAQ) devices with NI-DAQmx 8.1 and later. National Instruments 6238/6239 devices feature up to eight differential analog input (AI) channels, two analog output (AO) channels, two counters, six lines of digital input (DI), and four lines of digital output (DO).
Programs»National Instruments»NI-DAQ»DAQ Getting Started Guide. The NI-DAQ Readme lists which devices are supported by this version of NI-DAQ. Select Start»All Programs»National Instruments»NI-DAQ» NI-DAQ Readme. The NI-DAQmx Help contains general information about measurement concepts, key NI-DAQmx concepts, and common applications that are applicable to all programming environments.
The NI-DAQmx Help contains API overviews and general information about measurement concepts. Select Start»All Programs»National Instruments»NI-DAQmx Help. NI 6238/6239 User Manual Getting Started»Getting Started with DAQ—Includes overview information and a tutorial to learn how to take an NI-DAQmx measurement in LabVIEW using the DAQ Assistant.
Note You must have Visual Studio .NET installed to view the NI Measurement Studio Help. Device Documentation and Specifications The NI 6238/6239 Specifications contains all specifications for NI 6238 and NI 6239 M Series devices. NI-DAQ 7.0 and later includes the Device Document Browser, which...
(DI), and four lines of digital output (DO). If you have not already installed your device, refer to the DAQ Getting Started Guide. For NI 6238 and NI 6239 device specifications, refer to the NI 6238/6239 Specifications on Before installing your DAQ device, you must install the software you plan to use with the device.
Chapter 1 Getting Started Device Specifications Refer to the NI 6238/6239 Specifications, available on the NI-DAQ Device Document Browser or on NI 6238/6239 devices. Device Accessories and Cables NI offers a variety of accessories and cables to use with your DAQ device.
DAQ System Overview Analog Input Analog Output Counters PFI/Static DI PFI/Static DO DAQ-STC2 The DAQ-STC2 implements a high-performance digital engine for NI 6238/6239 data acquisition hardware. Some key features of this engine include the following: • • • • • •...
Taking Measurements book on the Contents tab. If you are using other application software, refer to Common Sensors in the NI-DAQmx Help, which can be accessed from Start»All Programs»National Instruments»NI-DAQ»NI-DAQmx Help. Chapter 2 DAQ System Overview ni.com/sensors NI 6238/6239 User Manual...
Chapter 2 DAQ System Overview Cables and Accessories NI offers a variety of products to use with NI 6238/6239 devices, including cables, connector blocks, and other accessories, as follows: • • • For more specific information about these products, refer to...
Programming Devices in Software National Instruments measurement devices are packaged with NI-DAQ driver software, an extensive library of functions and VIs you can call from your application software, such as LabVIEW or LabWindows/CVI, to program all the features of your NI measurement devices. Driver software...
Output Analog Output Channels 0 to 1—These terminals supply the current output of AO channels 0 to 1. Note: AO <0..1> are isolated from earth ground and chassis ground. RTSI Connector Pinout Description Analog Input. NI 6238/6239 User Manual...
Page 25
P1.GND — P1.VCC — AO POWER SUPPLY — NI 6238/6239 User Manual Table 3-1. I/O Connector Signals (Continued) Direction — Analog Output Ground—AO GND is the reference for AO <0..1>. AI GND and AO GND are connected on the device.
External Calibration Negative Reference—CAL– supplies the negative reference during external calibration of the NI 6238/6239. RTSI Connector Pinout Generation, for information on the RTSI connector. Chapter 3 Connector Information Description section of Chapter 10, Digital Routing NI 6238/6239 User Manual...
Analog Input Figure 4-1 shows the analog input circuitry of NI 6238 and NI 6239 devices. AI <0..7>+ AI Terminal Configuration AI <0..7>– Selection AI GND Analog Input Circuitry I/O Connector You can connect analog input signals to the M Series device through the I/O connector.
So, for an input range of ±20 mA, the current of each code of a 16-bit ADC is: NI 6238/6239 User Manual ) codes—that is, one of 65,536 possible digital values. These...
For more information on programming these settings, refer to the NI-DAQmx Help or the LabVIEW 8.x Help. Table 4-1 shows the input ranges and resolutions supported by the NI 6238 and NI 6239 devices. Connecting Analog Current Input Signals When making signal connections, caution must be taken with the voltage level of the signal going into the device.
Method 2, shown in Figure 4-3, ties the AI – input to AI GND. When measuring current up to 20 mA, this type of connection ensures that the voltage level on both the positive and negative side are within the common-mode input range for NI 6238/6239 devices. AI + AI –...
Note that AI GND must always be connected to some voltage level. AI GND is the reference that NI 6238/6239 devices measure against. The NI 6238 and NI 6239 are isolated devices with isolation ratings up to 60 VDC/30 Vrms. This allows for current measurement at high voltage levels provided that the common-mode input range requirement is satisfied.
Page 32
NI 6238/6239 User Manual Current Sense PGIA Resistor in– AI GND Figure 4-5. NI 6238/6239 PGIA Connecting Analog Current Input Signals Table 4-2. Signals Routed to the NI-PGIA Signals Routed to the Positive Input of the NI-PGIA (V AI <0..7>+ Internal Channels...
Caution The maximum input voltages rating of AI signals with respect to AI GND (and for differential signals with respect to each other) and earth/chassis ground are listed in the Maximum Working Voltage section of the NI 6238/6239 Specifications. Exceeding the maximum input voltage or maximum working voltage of AI signals distorts the measurement results.
Settling time refers to the time it takes the NI-PGIA to amplify the input signal to the desired accuracy before it is sampled by the ADC. The NI 6238/6239 Specifications shows the device settling time. M Series devices are designed to have fast settling times. However, several factors can increase the settling time which decreases the accuracy of your measurements.
Finite sample mode acquisition refers to the acquisition of a specific, predetermined number of data samples. After the specified number of NI 6238/6239 User Manual The time between samples can be much shorter. The timing between samples is deterministic.
• • Refer to the Pause Trigger Signal A digital trigger can initiate these actions. NI 6238/6239 devices support digital triggering, but do not support analog triggering. Field Wiring Considerations Environmental noise can seriously affect the measurement accuracy of the device if you do not take proper care when running signal wires between signal sources and the device.
Analog Input Timing Signals In order to provide all of the timing functionality described throughout this section, NI 6238/6239 devices have a flexible timing engine. Figure 4-7 summarizes all of the timing options provided by the analog input timing engine. Also refer to the...
Page 40
When the ai/StartTrigger pulse occurs, the sample counter is loaded with the number of pretriggered samples, in this NI 6238/6239 User Manual ai/StartTrigger Figure 4-9. Posttriggered Data Acquisition Example 4-14 ni.com...
Otherwise, when the ai/ReferenceTrigger pulse occurs, the sample counter value decrements until the specified number of posttrigger samples have been acquired. NI 6238/6239 devices feature the following analog input timing signals. • • •...
Use one of the following external signals as the source of ai/SampleClock: • • • Note Refer to the NI 6238/6239 Specifications for the minimum allowable pulse width and the propagation delay of PFI <0..5>. Routing AI Sample Clock Signal to an Output Terminal You can route ai/SampleClock out to any output PFI <6..9>...
Timebase to generate ai/ConvertClock. The counter is started by ai/SampleClock and continues to count down to zero, produces an ai/ConvertClock, reloads itself, and repeats the process until the sample is NI 6238/6239 User Manual RTSI <0..7> Input PFI <0..5> PXI_STAR...
Use one of the following external signals as the source of ai/ConvertClock: • • • Note Refer to the NI 6238/6239 Specifications for the minimum allowable pulse width and the propagation delay of PFI <0..5>. Routing AI Convert Clock Signal to an Output Terminal You can route ai/ConvertClock (as an active low signal) out to any output PFI <6..9>...
It is also possible to use a single external signal to drive both ai/SampleClock and ai/ConvertClock at the same time. In this mode, each tick of the external clock will cause a conversion on the ADC. Figure 4-13 shows this timing relationship. NI 6238/6239 User Manual Delay Convert From...
• • • Note Refer to the NI 6238/6239 Specifications for the minimum allowable pulse width and the propagation delay of PFI <0..5>. The source also can be one of several other internal signals on your DAQ device. Refer to Device Routing in MAX in the NI-DAQmx Help or the LabVIEW 8.x Help for more information.
• • • Note Refer to the NI 6238/6239 Specifications for the minimum allowable pulse width and the propagation delay of PFI <0..5>. The source also can be one of several other internal signals on your DAQ device. Refer to Device Routing in MAX in the NI-DAQmx Help or the LabVIEW 8.x Help for more information.
Analog Output NI 6238/6239 devices have two AO channels controlled by a single clock and capable of waveform generation. Figure 5-1 shows the analog current output circuitry of NI 6238 and NI 6239 devices. AO POWER SUPPLY AO 0 AO 1...
• Hardware-timed operations can be buffered or non-buffered. A buffer is a temporary storage in computer memory for to-be-generated samples. NI 6238/6239 User Manual The time between samples can be much shorter. The timing between samples can be deterministic. Hardware-timed acquisitions can use hardware triggering.
Figure 5-2 shows how to make analog current output connections to the device. Tip Internal voltage drop for the NI 6238/6239 devices is a maximum of 3 V relative to the externally supplied voltage. Caution The maximum output voltages rating of AO signals and input voltage ratings for...
Maximum Working Voltage section of the NI 6238/6239 Specifications. Exceeding the maximum input supply voltage or maximum working voltage of AO signals distorts the measurement results. Exceeding the maximum input supply voltage or maximum working voltage rating also can damage the device and the computer. Exceeding the maximum output voltage can cause injury and harm the user.
• • • Note Refer to the NI 6238/6239 Specifications for the minimum allowable pulse width and the propagation delay of PFI <0..5>. The source also can be one of several internal signals on your DAQ device. Refer to Device Routing in MAX in the NI-DAQmx Help or the LabVIEW 8.x Help for more information.
• • • Note Refer to the NI 6238/6239 Specifications for the minimum allowable pulse width and the propagation delay of PFI <0..5>. The source also can be one of several other internal signals on your DAQ device. Refer to Device Routing in MAX in the NI-DAQmx Help or the LabVIEW 8.x Help for more information.
Use one of the following external signals as the source of ao/SampleClock: • • • Note Refer to the NI 6238/6239 Specifications for the minimum allowable pulse width and the propagation delay of PFI <0..5>. Routing AO Sample Clock Signal to an Output Terminal You can route ao/SampleClock (as an active low signal) out to any output PFI <6..9>...
DMA data transfer mechanisms. Some of the applications also use start triggers and pause triggers. Note For more information about programming analog output applications and triggers in software, refer to the NI-DAQmx Help or the LabVIEW 8.x Help. NI 6238/6239 User Manual Single-point (on-demand) generation Finite generation Continuous generation...
P1.<0..3>. These lines also can be used as PFI output. The voltage input and output levels and the current drive level of the DI and DO lines are listed in the NI 6238/6239 Specifications. Refer to Chapter 8, PFI, for more information on PFI inputs and outputs.
The DI signals P0.<0..5> are referenced to P0.GND and DO signals P1.<0..3> are referenced to P1.GND. Figures 6-1 and 6-2 show P0.<0..5> and P1.<0..3> on the NI 6238 and the NI 6239 device, respectively. Digital input and output signals can range from 0 to 30 V.
P0.GND Caution Exceeding the maximum input voltage or maximum working voltage ratings, which are listed in the NI 6238/6239 Specifications, can damage the DAQ device and the computer. NI is not liable for any damage resulting from such signal connections.
Digital Input and Output NI 6238 (Source) NI 6239 (Sink) Getting Started with DIO Applications in Software You can use NI 6238/6239 devices in the following digital I/O applications: • • Note For more information about programming digital I/O applications and triggers in software, refer to the NI-DAQmx Help or the LabVIEW 8.x Help.
Page 67
The counters have seven input signals, although in most applications only a few inputs are used. For information on connecting counter signals, refer to the Terminals NI 6238/6239 User Manual Counter 0 Counter 0 Source (Counter 0 Timebase) Counter 0 Gate...
Figure 7-4 shows an example of buffered edge counting. Notice that counting begins when the counter is armed, which occurs before the first active edge on Gate. NI 6238/6239 User Manual Counter Armed Pause Trigger (Pause When Low)
Counter Armed Buffer Figure 7-5. Non-Cumulative Buffered Edge Counting Always count up Always count down Count up when the Counter n B input is high; count down when it is section. Chapter 7 Counters Default Counter NI 6238/6239 User Manual...
Figure 7-6 shows an example of a single pulse-width measurement. HW Save Register Buffered Pulse-Width Measurement Buffered pulse-width measurement is similar to single pulse-width measurement, but buffered pulse-width measurement takes measurements over multiple pulses. NI 6238/6239 User Manual GATE SOURCE Counter Value Figure 7-6. Single Pulse-Width Measurement ni.com...
Gate input. So the first value stored in the hardware save register does not reflect a full period of the Gate input. In most applications, this first point should be discarded. Figure 7-9 shows an example of a buffered period measurement. NI 6238/6239 User Manual GATE SOURCE Counter Value Figure 7-8.
Method 1—Measure Low Frequency with One Counter In this method, you measure one period of your signal using a known timebase. This method is good for low frequency signals. NI 6238/6239 User Manual Counter Armed GATE SOURCE Counter Value Buffer Figure 7-10.
T to be N periods of F1. Then the frequency of F1 is N/T. Figure 7-13 illustrates this method. Another option would be to measure the width of a known period instead of a known pulse. NI 6238/6239 User Manual Gate 1 2 ... N...
The best method to measure frequency depends on several factors including the expected frequency of the signal to measure, the desired accuracy, how many counters are available, and how long the measurement can take. • NI 6238/6239 User Manual Signal to SOURCE Measure (F1)
Page 80
Method 3 measures high and low frequency signals accurately. However, it requires two counters. 7-15 Chapter 7 Counters Example 1 Example 2 50 kHz 5 MHz 80 MHz 80 MHz 1600 1599 50.125 kHz 5.33 MHz 125 kHz 333 kHz 0.06% 6.67% NI 6238/6239 User Manual...
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 falling edge of channel A. NI 6238/6239 User Manual Measures High Number of...
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 7-19. Counter Value 2 NI 6238/6239 User Manual Ch A Ch B Ch Z...
A DMA controller transfers the stored values to host memory. Figure 7-21 shows an example of a buffered two-signal edge-separation measurement. For information on connecting counter signals, refer to the Terminals NI 6238/6239 User Manual Counter Armed GATE SOURCE Counter Value Figure 7-20.
Figure 7-24 shows a generation of two pulses with a pulse delay of five and a pulse width of three (using the rising edge of Source). For information on connecting counter signals, refer to the Terminals NI 6238/6239 User Manual GATE (Start Trigger) SOURCE Figure 7-23.
Figure 7-27 shows the output waveform of the frequency generator when the divider is set to 5. Frequency Output Timebase Freq Out (Divisor = 5) NI 6238/6239 User Manual Frequency Output Timebase Figure 7-26. Frequency Generator Block Diagram Figure 7-27. Frequency Generator Output Waveform 7-24...
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 NI 6238/6239 User Manual GATE D2 = D1 + ΔD Figure 7-28. Pulse Generation for ETS section.
Each counter has independent input selectors for the Counter n Aux signal. Any of the following signals can be routed to the Counter n Aux input. • • • NI 6238/6239 User Manual RTSI <0..7> Input PFI <0..5> ai/ReferenceTrigger ai/StartTrigger...
RTSI <0..7> terminal. All output PFIs are set to high-impedance at startup. Frequency Output Signal The Frequency Output (FREQ OUT) signal is the output of the frequency output generator. NI 6238/6239 User Manual RTSI <0..7> Input PFI <0..5> ai/ReferenceTrigger ai/StartTrigger...
When using a pause trigger, the pause trigger source is routed to the Counter n Gate signal input of the counter. NI 6238/6239 User Manual 7-32 ni.com...
2.55 ms ~101,800 Disabled — 7-33 Chapter 7 Counters Pulse Width Pulse Width Guaranteed to Guaranteed to Pass Filter Not Pass Filter 125 ns 100 ns 6.425 µs 6.400 µs 2.55 ms 2.54 ms — — NI 6238/6239 User Manual...
Thus, the prescaler acts as a frequency divider on the Source and puts out a frequency that is one-eighth (or one-half) of what it is accepting. NI 6238/6239 User Manual Figure 7-29. Filter Example ni.com/info...
(Duplicate Counting) In Figure 7-32, after the first rising edge of Gate, no Source pulses occur. So the counter does not write the correct data to the buffer. NI 6238/6239 User Manual Rising Edge of Gate Figure 7-31. Duplicate Count Prevention Example section.
Figure 7-32. Duplicate Count Example Counter detects rising Gate edge. Figure 7-33. Duplicate Count Prevention Example 7-37 Chapter 7 Counters No Source edge, so no value written to buffer. Counter value increments only one time for each Source pulse. NI 6238/6239 User Manual...
In DAQmx, the device uses 80 MHz source mode if the user performs the following: • • NI 6238/6239 User Manual You are making a counter measurement You are using an external signal (such as PFI <0..5>) as the counter Source...
Mode 80 MHz Source 80 MHz Source 80 MHz 80 MHz Source Timebase 20 MHz Other Internal Timebase, 100 Source kHz Timebase, or PXI_CLK10 Any Other External Source Signal (such as PFI or RTSI) Count NI 6238/6239 User Manual Counters...
Source signal by several nanoseconds. The device synchronizes signals on the rising edge of the delayed Source signal, and counts on the following rising edge of the source, as shown in Figure 7-36. NI 6238/6239 User Manual Source Figure 7-35. Other Internal Source Mode...
NI 6238/6239 devices have 10 Programmable Function Interface (PFI) signals—six input signals and four output signals. Each PFI <0..5>/P0.<0..5> can be configured as a timing input signal for AI or counter/timer functions or a static digital input. Each PFI input also has a programmable debouncing filter.
P0.x or P1.x. The voltage input and output levels and the current drive levels of the PFI signals are listed in the NI 6238/6239 Specifications. Using PFI Terminals as Timing Input Signals Use PFI <0..5> terminals to route external timing signals to many different M Series functions.
• Note Short pulses on the signal might not be observable by the user or another instrument. Refer to the Digital Output (Port 1) section of the NI 6238/6239 Specifications for more information. Using PFI Terminals as Static Digital Inputs and Outputs When a terminal is used as a static digital input or output, it is called P0.x...
N consecutive edges, the low-to-high transition is propagated to the rest of the circuit. The value of N depends on the filter setting; refer to Table 8-1. NI 6238/6239 User Manual I/O Connector PFI 2...
The DI signals P0.<0..5> are referenced to P0.GND and DO signals P1.<0..3> are referenced to P1.GND. Figures 8-5 and 8-6 show P0.<0..5> and P1.<0..3> on the NI 6238 and the NI 6239 device, respectively. Digital input and output signals can range from 0 to 30 V.
Page 113
P0.GND Caution Exceeding the maximum input voltage or maximum working voltage ratings, which are listed in the NI 6238/6239 Specifications, can damage the DAQ device and the computer. NI is not liable for any damage resulting from such signal connections.
All analog measurements are made relative to its isolated ground signal. Each isolated ground is an input to the NI 6238/6239 device. The user must connect this ground to the ground of system being measured or controlled.
Switching voltages through the transformer causes charging and discharging of the parasitic capacitances and inductances in the switching power supplies that occur on every switch cycle, resulting in high-speed currents flowing through the isolated side and returning to the non-isolated side, which is earth ground.
Routes and generates the main clock signals for the M Series device. 10 MHz RefClk ÷ 8 ÷ Figure 10-1. M Series Clock Routing Circuitry 10-1 (To RTSI <0..7> Output Selectors) 80 MHz Timebase 20 MHz Timebase ÷ 100 kHz Timebase NI 6238/6239 User Manual...
The following signals can be routed to drive the external reference clock. • • • The external reference clock is an input to a Phase-Lock Loop (PLL). The PLL generates the internal timebases. NI 6238/6239 User Manual Onboard oscillator External signal (by using the external reference clock) RTSI <0..7> PXI_CLK10 PXI_STAR 10-2 ni.com...
Chapter 10 Digital Routing and Clock Generation • Many National Instruments DAQ, motion, vision, and CAN devices support RTSI. In a PCI system, the RTSI bus consists of the RTSI bus interface and a ribbon cable. The bus can route timing and trigger signals between several functions on as many as five DAQ, vision, motion, or CAN devices in the computer.
N consecutive edges, the low-to-high transition is propagated to the rest of the circuit. The value of N depends on the filter setting; refer to Table 10-2. NI 6238/6239 User Manual AI Convert Clock AI Sample Clock...
Not Pass Filter 125 ns 100 ns 6.425 µs 6.400 µs 2.55 ms 2.54 ms — — Filtered input goes high when terminal is sampled high on five consecutive filter clocks. and enter the info ni.com/info NI 6238/6239 User Manual...
Star Trigger feature. PXI_STAR Filters You can enable a programmable debouncing filter on each PFI, RTSI, or PXI_STAR signal. When the filters are enabled, your device samples the NI 6238/6239 User Manual 10-8 ni.com...
Page 125
Guaranteed to Guaranteed to Pass Filter Not Pass Filter 125 ns 100 ns 6.425 µs 6.400 µs 2.55 ms 2.54 ms — — Filtered input goes high when terminal is sampled high on five consecutive filter clocks. NI 6238/6239 User Manual...
Page 126
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 code NI 6238/6239 User Manual rddfms 10-10 and enter the info ni.com/info...
Bus Interface The bus interface circuitry of NI 6238/6239 devices efficiently moves data between host memory and the measurement and acquisition circuits. NI 6238/6239 devices are available for the following platforms. • • NI 6238/6239 devices are jumperless for complete plug-and-play operation.
PXI-1 devices use PCI signaling to communicate to the host controller (as opposed to PCI Express signaling). Peripheral devices are installed in peripheral slots and are not system controllers. NI 6238/6239 User Manual Triggers, sections of Chapter 10, ). Using the terminology of the PXI specifications, PXI chassis—PXI-6238/6239 devices can be installed in any...
DMA is a method to transfer data between the device and computer memory without the involvement of the CPU. This method makes DMA the fastest available data transfer method. National Instruments uses DMA hardware and software technology to achieve high throughput rates and to increase system utilization.
However, NI-DAQmx allows you to disable DMA and use interrupts. To change your data transfer mechanism between DMA and interrupts in NI-DAQmx, use the Data Transfer Mechanism property node. NI 6238/6239 User Manual section of Chapter 5, Analog Output, for more information.
When you configure a trigger, you must decide how you want to produce the trigger and the action you want the trigger to cause. NI 6238/6239 devices support internal software triggering, as well as external digital triggering. For information about the different actions...
Page 132
You also can program your DAQ device to perform an action in response to a trigger from a digital source. The action can affect the following. • • • NI 6238/6239 User Manual Analog input acquisition Analog output generation Counter behavior 12-2...
Device-Specific Information This appendix contains device pinouts, specifications, cable and accessory choices, and other information for the NI 6238 and isolated devices. To obtain documentation for devices not listed here, refer to ni.com/manuals NI 6238 NI 6238 Pinout Figure A-1 shows the pinout of the NI 6238.
Page 134
P1.VCC PFI 7/P1.1 (Output) PFI 9/P1.3 (Output) NC = No Connect Figure A-1. NI 6238 Pinout Table A-1. NI 6238 Device Default NI-DAQmx Counter/Timer Pins Counter/Timer Signal Default Pin Number (Name) 13 (PFI 0) 32 (PFI 1) 33 (PFI 2)
This section describes some cable and accessory options for the NI 6238 device. Refer to Screw Terminal National Instruments offers several styles of screw terminal connector blocks. Use an SH37F-37M cable to connect an NI 6238 device to a connector block, such as the following: • •...
Figure A-2 shows the pinout of the NI 6239. For a detailed description of each signal, refer to the Descriptions NI 6238/6239 User Manual SH37F-37M-x—37-pin female-to-male shielded I/O cable, UL Listed derated to 30 Vrms, 42.4 V , or 60 VDC R37F-37M-1—37-pin female-to-male ribbon I/O cable...
Page 137
AI 5– CAL– AI 6– AI 7– AO 1 PFI 0/P0.0 (Input) P0.GND PFI 3/P0.3 (Input) PFI 5/P0.5 (Input) PFI 6/P1.0 (Output) PFI 8/P1.2 (Output) P1.VCC Port P0.0 P0.1 P0.2 P1.0 P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 NI 6238/6239 User Manual...
Page 138
This section describes some cable and accessory options for the NI 6239 device. Refer to Screw Terminal National Instruments offers several styles of screw terminal connector blocks. Use an SH37F-37M cable to connect an NI 6239 device to a connector block, such as the following: •...
Page 139
SH37F-37M-x—37-pin female-to-male shielded I/O cable, UL Listed derated to 30 Vrms, 42.4 V , or 60 VDC R37F-37M-1—37-pin female-to-male ribbon I/O cable SH37F-P-4—37-pin female-to-pigtails shielded I/O cable Custom Cabling section of Chapter 2, Appendix A Device-Specific Information DAQ System Overview, NI 6238/6239 User Manual...
Check to make sure that the AI GND terminal is tied to a certain voltage level and verify that your input current signals are at voltage levels within the common-mode input range for this device. Refer to the NI 6238/6239 Specifications for more information about common-mode input range.
DAC code changes. You can build a lowpass deglitching filter to remove some of these glitches, depending on the frequency and nature of the output signal. Visit ni.com/support NI 6238/6239 User Manual Channel 0 Channel 1 Convert Period Sample Period Figure B-1.
Page 144
Worldwide Offices section of office Web sites, which provide up-to-date contact information, support phone numbers, email addresses, and current events. NI 6238/6239 User Manual Calibration Certificate—If your product supports calibration, you can obtain the calibration certificate for your product at ni.com/calibration...
Page 146
The process of getting an instrument ready to perform a function. For example, the trigger circuitry of a digitizer is armed, meaning that it is ready to start acquiring data when an appropriate trigger condition is met. NI 6238/6239 User Manual ni.com...
Page 148
A symbol that connects points on a flowchart. convert rate Reciprocal of the interchannel delay. count The number of events, such as zero crossings, pulses, or cycles. NI 6238/6239 User Manual ni.com...
Page 150
Static digital I/O refers to signals where the values are set and held, or rarely change. Dynamic digital I/O refers to digital systems where the signals are continuously changing, often at multi-MHz clock rates. digital isolator Provides voltage isolation between its input and output. NI 6238/6239 User Manual ni.com...
Page 152
Also called non-referenced signal sources. Some common examples of floating signal sources are batteries, transformers, and thermocouples. FREQ OUT Frequency Output signal. frequency The number of alternating signals that occur per unit time. NI 6238/6239 User Manual ni.com...
Page 154
An electrical break between any two signals or planes up to a given voltage. isolation barrier An electrical break between two electrical planes providing a given or set amount of electrical isolation. Current does not flow or transfer between the two sides of the isolation barrier. NI 6238/6239 User Manual G-10 ni.com...
Page 156
National Instruments. NI-DAQ The driver software needed to use National Instruments DAQ devices and SCXI components. Some devices use Traditional NI-DAQ (Legacy); others use NI-DAQmx. NI-DAQmx The latest NI-DAQ driver with new VIs, functions, and development tools for controlling measurement devices.
Page 158
The time from the rising to the falling slope of a pulse (at 50% amplitude). A rugged, open system for modular instrumentation based on CompactPCI, with special mechanical, electrical, and software features. The PXIbus standard was originally developed by National Instruments in 1997, and is now managed by the PXIbus Systems Alliance. PXI Express PCI Express eXtensions for Instrumentation—The PXI implementation of...
Page 159
RTSI Real-Time System Integration. RTSI bus Real-Time System Integration bus—The National Instruments timing bus that connects DAQ devices directly, by means of connectors on top of the devices, for precise synchronization of functions. Seconds. Samples.
Page 160
(file system), handling of multiple programs at the same time (multi-tasking), network interconnection, printing, and keyboard/user interface interaction. software triggering A method of triggering in which you simulate an analog trigger using software. Also called conditional retrieval. NI 6238/6239 User Manual differential input. G-16 ni.com...
Page 169
NI-DAQmx, enabling duplicate count prevention, 7-38 non-buffered hardware-timed acquisitions, 4-11 generations, 5-3 non-cumulative buffered edge counting, 7-5 NI 6238/6239 User Manual other internal source mode, 7-39 other software, 1-1 output signals, glitches (troubleshooting), B-2 outputs, using RTSI as, 10-5 overview, 2-1...
Page 170
Counter n A, 7-29 Counter n Aux, 7-28 Counter n B, 7-29 Counter n Gate, 7-28 Counter n HW Arm, 7-29 Counter n Internal Output, 7-30 Counter n Source, 7-26 Counter n TC, 7-30 Counter n Up_Down, 7-29 Index NI 6238/6239 User Manual...
Need help?
Do you have a question about the NI 6238 and is the answer not in the manual?
Questions and answers