Summary of Contents for National Instruments NI 6711
Page 1
DAQ Analog Output Series Analog Output Series User Manual NI 6711/6713/DAQCard-6715, NI 6722/6723, and NI 6731/6733 Devices Analog Output Series User Manual June 2007 370735E-01...
Instruments Corporation. National Instruments respects the intellectual property of others, and we ask our users to do the same. NI software is protected by copyright and other intellectual property laws. Where NI software may be used to reproduce software or other materials belonging to others, you may use NI software only to reproduce materials that you may reproduce in accordance with the terms of any applicable license or other legal restriction.
Page 4
These classes are known as Class A (for use in industrial-commercial locations only) or Class B (for use in residential or commercial locations). All National Instruments (NI) products are FCC Class A products. Depending on where it is operated, this Class A product could be subject to restrictions in the FCC rules. (In Canada, the Department of Communications (DOC), of Industry Canada, regulates wireless interference in much the same way.) Digital...
Page 6
Contents Minimizing Glitches on the Output Signal ............. 3-3 AO Data Generation Methods................. 3-3 Software-Timed Generations............3-4 Hardware-Timed Generations ............3-4 Analog Output Triggering ..................... 3-5 Connecting Analog Output Signals ................3-6 Waveform Generation Timing Signals................3-6 Waveform Generation Timing Summary ............3-6 AO Start Trigger Signal ..................
Page 8
Contents Chapter 9 Bus Interface MITE and DAQ-PnP ..................... 9-1 Using PXI with CompactPCI ..................9-1 Data Transfer Methods ....................9-2 Direct Memory Access (DMA)............... 9-2 Interrupt Request (IRQ) .................. 9-2 Programmed I/O....................9-2 Changing Data Transfer Methods between DMA and IRQ......9-2 Chapter 10 Triggering Triggering with a Digital Source...................
About This Manual This manual contains information about using the National Instruments Analog Output (AO) Series devices with NI-DAQ 7.x or later. If you have not already installed your device, refer to the DAQ Getting Started Guide. Conventions The following conventions appear in this manual: <>...
Start»All 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.
Page 11
NI-DAQmx Base VI Reference Help. The NI-DAQmx Base C Reference Help contains C reference and general information about measurement concepts. Select Start»All Programs» National Instruments»NI-DAQmx Base»Documentation»C Function Reference Help. All NI-DAQmx Base documentation for Mac OS X is installed at...
Page 12
About This Manual LabVIEW If you are a new user, use the Getting Started with LabVIEW manual to familiarize yourself with the LabVIEW graphical programming environment and the basic LabVIEW features you use to build data acquisition and instrument control applications. Open the Getting Started with LabVIEW manual by selecting Start»All Programs»National Instruments»LabVIEW»LabVIEW Manuals or by navigating to the directory and opening...
Page 13
The Traditional NI-DAQ (Legacy) Function Reference Help and the NI-DAQmx C Reference Help describe the C functions and attributes. Select Start»All Programs» National Instruments»NI-DAQ and the document title for the NI-DAQ API you are using. .NET Languages without NI Application Software With the Microsoft .NET Framework version 1.1 or later, you can use...
Page 14
Device Documentation and Specifications The NI 6711/6713/DAQCard-6715 Specifications contains all specifications for the NI 6711, NI 6713, and NI DAQCard-6715 AO Series devices. The NI 6722/6723 Specifications contains all specifications for the NI 6722 and NI 6723 AO Series devices.
Counters RTSI Figure 1-2. Analog Output Block Diagram DAQ-STC Analog output devices use the National Instruments DAQ system timing controller (DAQ-STC) for time-related functions. The DAQ-STC consists of the following three timing groups: • AI—two 24-bit, two 16-bit counters (not used on AO Series devices) •...
The accuracy specifications of your device change depending on how long it has been since your last external calibration. National Instruments recommends that you calibrate your device at least as often as the intervals listed in the accuracy specifications.
The following sections contain information on how to select accessories for your AO Series device. Using Accessories with Devices Table 1-1. Accessories and Cables for Analog Output Devices Accessories Device Cables Terminal Blocks NI 6711/6713 SH68-68-EP BNC-2110 CB-68LP CB-68LPR SCB-68 TB-68 NI DAQCard-6715...
Table 1-3 shows the recommended connectors to use with the I/O connector on your AO device. Table 1-3. Recommended AO Connectors Device Connector NI 6711/6713 Honda 68-position, solder cup, female connector Honda backshell NI DAQCard-6715 AMP 68-position, VHDCI AMP backshell...
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...
Page 23
Chapter 1 DAQ System Overview • Traditional NI-DAQ (Legacy) examples for Visual Basic are in the following two directories: – NI-DAQ\Examples\Visual Basic with Measurement directory contains a link to the ActiveX control examples Studio for use with Measurement Studio – directory contains the examples not NI-DAQ\Examples\VBasic associated with Measurement Studio...
Page 25
D GND PFI 7 PFI 9/CTR 0 GATE PFI 8/CTR 0 SOURCE CTR 0 OUT D GND FREQ OUT D GND NC = No Connect Figure 2-1. NI 6711/6731 68-Pin AO I/O Connector Pinout Analog Output Series User Manual ni.com...
Page 27
Chapter 2 I/O Connector 34 68 AO GND 33 67 AO GND 32 66 AO GND AO GND 31 65 AO GND AO 7 30 64 AO 6 AO GND 29 63 AO GND AO GND 28 62 AO 5 27 61 AO GND AO GND...
Page 29
Chapter 2 I/O Connector AO 0–7 & DIGITAL Connector AO 8–31 Connector 34 68 34 68 AO GND AO GND AO 8 AO 9 33 67 33 67 AO GND AO GND AO 10 32 66 32 66 AO GND AO GND AO GND AO GND...
I/O Connector Signal Descriptions. Terminal Name Equivalents With NI-DAQmx, National Instruments has revised its terminal names so they are easier to understand and more consistent among National Instruments hardware and software products. The revised terminal names used in this document are usually similar to the names they replace. Refer to Table 2-1 for a list of Traditional NI-DAQ (Legacy) terminal names and their NI-DAQmx equivalents.
Page 31
Chapter 2 I/O Connector Table 2-1. Terminal Name Equivalents. (Continued) Traditional NI-DAQ (Legacy) NI-DAQmx GPCTR0_GATE CTR 0 GATE GPCTR0_OUT CTR 0 OUT GPCTR0_SOURCE CTR 0 SOURCE or CTR 0 SRC GPCTR1_GATE CTR 1 GATE GPCTR1_OUT CTR 1 OUT GPCTR1_SOURCE CTR 1 SOURCE or CTR 1 SRC PA#, PB#, PC#...
Page 33
Chapter 2 I/O Connector Table 2-2. I/O Connector Signal Descriptions (Continued) I/O Connector Pin Reference Direction Signal Description PFI 3/CTR 1 D GND Input PFI 3—As an input, this pin is a general-purpose SOURCE input terminal. This is the default input for the Ctr1Source signal.
Chapter 2 I/O Connector Connections that exceed any of the maximum ratings of input or output Caution signals on the AO Series device can damage the device and the computer. Refer to the specifications document for your device for more information on maximum input ratings for each signal.
AO Sample Clock signal, refer to the Waveform Generation Timing Signals section. Reference Selection (NI 6711/6713/DAQCard-6715 and NI 6731/6733 Only) Reference selection allows you to set the AO range. Refer to Table 3-1 to set the range for your device.
Chapter 3 Analog Output Reference Selection (NI 6711/6713/DAQCard-6715 and NI 6731/6733 Only) You can connect each DAC to the device internal reference of 10 V or to the external reference signal connected to the external reference (AO EXT REF) pin on the I/O connector. This signal applied to AO EXT REF should be within ±11 V of AO GND.
Chapter 3 Analog Output Software-Timed Generations With a software-timed generation, software 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 Demand timing. Software-timed generations are also referred to as immediate or static operations.
Chapter 3 Analog Output Connecting Analog Output Signals Figure 3-2 shows how to connect loads to AO 0 and AO 1. AO EXT REF AO 0 External Channel 0 Reference Signal V OUT (Optional) Load – AO GND Load V OUT AO 1 Channel 1 Analog Output Channels...
Chapter 3 Analog Output t w = 50 –100 ns Figure 3-5. PFI 6/AO START TRIG Timing Behavior The PFI 6/AO START TRIG pin is configured as an input by default. AO Pause Trigger Signal You can use the AO Pause trigger signal (ao/PauseTrigger) to mask off samples in a DAQ sequence.
Chapter 3 Analog Output The output is an active high pulse. Figure 3-7 shows the timing behavior of the PFI 5/AO SAMP CLK pin when the pin is an output. = 50–75 ns Figure 3-7. PFI 5/AO SAMP CLK as an Output The PFI 5/AO SAMP CLK is configured as an input by default.
Chapter 3 Analog Output The maximum allowed frequency for the MasterTimebase is 20 MHz, with a minimum pulse width of 23 ns high or low. There is no minimum frequency limitation. The two possible sources for the MasterTimebase signal are the internal 20MHzTimebase signal or an external signal through RTSI 7.
Chapter 4 Digital I/O Static DIO Each DIO line can be used as a static DI or DO line. You can use static DIO lines to monitor or control digital signals. Each DIO can be individually configured as a digital input (DI) or digital output (DO). All samples of static DI lines and updates of DO lines are software-timed.
Chapter 4 Digital I/O DI Sample Clock Signal (NI 6731/6733 Only) Use the DI Sample Clock (di/SampleClock) signal to sample the P0.<0..7> terminals and store the result in the DI waveform acquisition FIFO. Because there is no dedicated internal clock for timed digital operations, you can use an external signal or one of several internal signals as the DI Sample Clock.
Chapter 4 Digital I/O Connecting Digital I/O Signals The DIO signals, P0.<0..7>, are referenced to D GND. You can individually program each line as an input or output. Figure 4-2 shows P0.<0..3> configured for digital input and P0.<4..7> configured for digital output.
Chapter 5 Counters Pause Trigger You can use pause triggers in edge counting and continuous pulse generation applications. For edge counting acquisitions, the counter stops counting edges while the external trigger signal is low and resumes when the signal goes high or vice versa. For continuous pulse generations, the counter stops generating pulses while the external trigger signal is low and resumes when the signal goes high or vice versa.
Chapter 5 Counters Figure 5-3 shows the timing requirements for the Ctr0Source signal. t p = 50 ns minimum t w = 10 ns minimum Figure 5-3. Ctr0Source Timing Requirements The maximum allowed frequency is 20 MHz, with a minimum pulse width of 10 ns high or low.
Chapter 5 Counters • Ctr0InternalOutput can drive any of the RTSI <0..6> signals to control the behavior of other devices in the system. • Ctr0InternalOutput drives the CTR 0 OUT pin to trigger or control external devices. • Ctr0InternalOutput can drive other internal signals. Refer to Device Routing in MAX in the NI-DAQmx Help or the LabVIEW Help in version 8.0 for more information.
Chapter 5 Counters Figure 5-8 shows the timing requirements for the Ctr1Gate signal. Rising-Edge Polarity Falling-Edge Polarity = 10 ns minimum Figure 5-8. Ctr1Gate Timing Requirements Counter 1 Internal Output Signal The Counter 1 Internal Output (Ctr0InternalOutput) signal is the output of Counter 1.
Chapter 5 Counters Figure 5-10 shows the timing requirements for MasterTimebase. = 50 ns minimum = 23 ns minimum Figure 5-10. MasterTimebase Timing Requirements Getting Started with Counter Applications in Software You can use the AO Series device in the following counter-based applications.
Chapter 6 Programmable Function Interfaces (PFI) Outputs You can also individually enable each PFI pin to output a specific internal timing signal. For example, if you need the Counter 0 Source signal as an output on the I/O connector, software can turn on the output driver for the PFI 8/CTR 0 SRC pin.
Page 68
Chapter 7 Digital Routing • Counter 0 Gate Signal • Counter 0 Up/Down Signal • Counter 1 Source Signal • Counter 1 Gate Signal • Counter 1 Up/Down Signal • Master Timebase Signal You also can control these timing signals with signals generated internally to the DAQ-STC, and these selections are fully software-configurable.
Chapter 7 Digital Routing PFI 0 PFI 2 PFI 0 PFI 2 Source Source D GND I/O Connector AO Series Device Figure 7-2. Connecting PFI 0 and PFI 2 to Two PFI Pins Routing Signals in Software Table 7-1 lists the basic functions you can use to route signals. Table 7-1.
Chapter 8 Real-Time System Integration Bus (RTSI) source. If you configure the device to use the internal timebase, you also can program the device to drive its internal timebase over the RTSI bus to another device that is programmed to receive this timebase signal. The default configuration is to use the internal 20MHzTimebase signal without driving the timebase onto the RTSI bus.
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.
Page 78
Chapter 10 Triggering You can also program your DAQ device to perform an action in response to a trigger from a digital source. The action can affect: • analog output generation • counter behavior For more information, refer to the Analog Output Triggering section of Chapter 3,...
Page 79
The following sections contain more information on the NI 6711/6713. Features (NI 6711/6713) The NI 6711/6713 are Plug-and-Play, analog output (AO), digital I/O (DIO), and timing I/O (TIO) devices for PCI bus computers. The NI 6711 features: • four AO channels with 12-bit resolution •...
Page 80
Device-Specific Information Analog Output (NI 6711/6713) The NI 6711 has four channels of voltage output at the I/O connector, and the NI 6713 has eight channels of voltage output at the I/O connector. The reference for the AO circuitry is software-selectable per channel. The reference can be either internal or external, but the range is always bipolar.
Page 81
Appendix A Device-Specific Information Block Diagram (NI 6711/6713) Figure A-1 shows a block diagram of the NI 6711/6713. AO 0 AO 0 AO 0 Latch 12-Bit DAC AO 1 AO 1 AO 1 Latch 12-Bit DAC AO 2 AO 2...
Page 82
Appendix A Device-Specific Information NI DAQCard-6715 The following sections contain more information on the NI DAQCard-6715. Features (NI DAQCard-6715) The NI DAQCard-6715 is a Plug-and-Play, analog output (AO), digital I/O (DIO), and timing I/O (TIO) device for PCMCIA bus computers. The NI DAQCard-6715 features: •...
Page 84
Appendix A Device-Specific Information NI 6722/6723 The following sections contain more information on the NI 6722/6723. Features (NI 6722/6723) The NI 6722/6723 are Plug-and-Play, analog output (AO), digital I/O (DIO), and timing I/O (TIO) devices for PCI bus computers. The NI 6722 features: •...
Page 86
Appendix A Device-Specific Information NI 6731/6733 The following sections contain more information on the NI 6731/6733. Features (NI 6731/6733) The NI 6731/6733 are Plug-and-Play, analog output (AO), digital I/O (DIO), and timing I/O (TIO) devices for PCI bus computers. The NI 6731 features: •...
Troubleshooting This section contains some common questions about AO Series devices. If your questions are not answered here, refer to the National Instruments KnowledgeBase at . It contains thousands of documents that ni.com/kb answer frequently asked questions about NI products.
Page 89
Appendix B Troubleshooting In this case, f equals 1.99 kHz, according to the following equation: 99.50 kHz 1.99 kHz ------------------------ - The smallest frequency change that you can generate in this case is approximately 10 Hz. Power-On States of the Analog Output Lines I have some motors connected directly into the outputs of my NI 6713, and when I power on my computer they start running very slowly.
Page 90
Technical Support and Professional Services Visit the following sections of the National Instruments Web site at for technical support and professional services: ni.com • Support—Online technical support resources at ni.com/support include the following: – Self-Help Resources—For answers and solutions, visit the...
Page 91
Appendix C Technical Support and Professional Services • Calibration Certificate—If your product supports calibration, you can obtain the calibration certificate for your product at ni.com/calibration If you searched and could not find the answers you need, contact ni.com your local office or NI corporate headquarters. Phone numbers for our worldwide offices are listed at the front of this manual.
Page 93
Glossary Analog output. AO 0 Analog channel 0 output signal. AO 1 Analog channel 1 output signal. AO GND Analog output ground signal. ASIC Application-Specific Integrated Circuit—a proprietary semiconductor component designed and manufactured to perform a set of specific functions. bipolar A signal range that includes both positive and negative values (for example, –5 to +5 V)
Page 95
Glossary Direct memory access—a method by which data can be transferred to/from computer memory from/to a device or memory on the bus while the processor does something else. DMA is the fastest method of transferring data to/from computer memory. Differential nonlinearity—a measure in least significant bit of the worst-case deviation of code widths from their ideal value of 1 LSB.
Page 97
Glossary NI-DAQmx The latest NI-DAQ driver with new VIs, functions, and development tools for controlling measurement devices. The advantages of NI-DAQmx over earlier versions of NI-DAQ include the DAQ Assistant for configuring channels and measurement tasks for your device for use in LabVIEW, LabWindows/CVI, and Measurement Studio;...
Page 98
Also called a grounded measurement system. RTSI Real-Time System Integration—the National Instruments timing bus that connects DAQ devices directly, by means of connectors on top of the devices, for precise synchronization of functions.
Page 99
Glossary task NI-DAQmx—a collection of one or more channels, timing, and triggering and other properties that apply to the task itself. Conceptually, a task represents a measurement or generation you want to perform. terminal count The highest value of a counter. Gate hold time.