Analog Output Series User Manual PDF
Analog Output Series User Manual PDF
Series
Analog Output Series User Manual
NI 6711/6713/DAQCard-6715, NI 6722/6723, and NI 6731/6733
Devices
January 2017
370735F-01
Support
Worldwide Offices
Visit ni.com/niglobal to access the branch office websites, which provide up-to-date
contact information, support phone numbers, email addresses, and current events.
1 The Declaration of Conformity (DoC) contains important EMC compliance information and instructions
for the user or installer. To obtain the DoC for this product, visit ni.com/certification, search by
model number or product line, and click the appropriate link in the Certification column.
Contents
Chapter 1
DAQ System Overview
Safety Guidelines.............................................................................................................. 1-2
Electromagnetic Compatibility Guidelines ...................................................................... 1-2
DAQ Hardware................................................................................................................. 1-3
DAQ-STC................................................................................................................. 1-3
Calibration Circuitry................................................................................................. 1-4
Internal or Self-Calibration............................................................................... 1-4
External Calibration.......................................................................................... 1-4
Cables and Accessories .................................................................................................... 1-4
Using Accessories with Devices............................................................................... 1-5
Custom Cabling ........................................................................................................ 1-7
Field Wiring Considerations..................................................................................... 1-7
Programming Devices in Software................................................................................... 1-8
Chapter 2
I/O Connector
68-Pin AO I/O Connector Pinouts.................................................................................... 2-1
68-68-Pin Extended AO I/O Connector Pinout ................................................................ 2-5
Terminal Name Equivalents ............................................................................................. 2-5
I/O Connector Signal Descriptions................................................................................... 2-7
+5 V Power Source........................................................................................................... 2-10
Chapter 3
Analog Output
Analog Output Fundamentals........................................................................................... 3-1
Analog Output Circuitry........................................................................................... 3-1
DACs ................................................................................................................ 3-1
DAC FIFO ........................................................................................................ 3-1
AO Sample Clock............................................................................................. 3-1
Reference Selection .......................................................................................... 3-1
Analog Output Resolution ........................................................................................ 3-2
Reference Selection (NI 6711/6713/DAQCard-6715 and NI 6731/6733 Only) ...... 3-2
Reglitch Selection (NI 6711/6713 Only).................................................................. 3-2
Minimizing Glitches on the Output Signal............................................................... 3-3
AO Data Generation Methods .................................................................................. 3-3
Software-Timed Generations............................................................................ 3-3
Hardware-Timed Generations .......................................................................... 3-3
Analog Output Triggering ................................................................................................ 3-4
Connecting Analog Output Signals .................................................................................. 3-5
Chapter 4
Digital I/O
Static DIO ......................................................................................................................... 4-2
Digital Waveform Generation
(NI 6731/6733 Only) ..................................................................................................... 4-2
DO Sample Clock Signal (NI 6731/6733 Only) ....................................................... 4-2
Using an Internal Source................................................................................... 4-3
Using an External Source ................................................................................. 4-3
Digital Waveform Acquisition
(NI 6731/6733 Only) ..................................................................................................... 4-3
DI Sample Clock Signal (NI 6731/6733 Only) ........................................................ 4-4
Using an Internal Source................................................................................... 4-4
Using an External Source ................................................................................. 4-4
I/O Protection.................................................................................................................... 4-4
Power-On States ............................................................................................................... 4-5
Connecting Digital I/O Signals......................................................................................... 4-5
Getting Started with DIO Applications in Software ......................................................... 4-6
Chapter 5
Counters
Counter Triggering ........................................................................................................... 5-1
Start Trigger .............................................................................................................. 5-1
Pause Trigger ............................................................................................................ 5-1
Counter Timing Signals .................................................................................................... 5-2
Counter Timing Summary ........................................................................................ 5-2
Counter 0 Source Signal ...........................................................................................5-3
Counter 0 Gate Signal............................................................................................... 5-3
viii | ni.com
Analog Output Series User Manual
Chapter 6
Programmable Function Interfaces (PFI)
Inputs ................................................................................................................................ 6-1
Outputs.............................................................................................................................. 6-1
Chapter 7
Digital Routing
Timing Signal Routing ..................................................................................................... 7-1
Connecting Timing Signals .............................................................................................. 7-3
Routing Signals in Software ............................................................................................. 7-4
Chapter 8
Real-Time System Integration Bus (RTSI)
RTSI Triggers ................................................................................................................... 8-1
Device and RTSI Clocks .................................................................................................. 8-3
Synchronizing Multiple Devices ...................................................................................... 8-3
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 ...................................................................................... 10-1
© National Instruments | ix
Contents
Appendix A
Device-Specific Information
Appendix B
Troubleshooting
Appendix C
NI Services
Glossary
Index
x | ni.com
DAQ System Overview
1
Figure 1-1 shows a typical DAQ system setup, which includes transducers, signal conditioning,
cables that connect the various devices to the accessories, the analog output device, and the
programming software. Refer to the Using Accessories with Devices section for a list of devices
and their compatible accessories.
Figure 1-1. DAQ System Setup
+
V
–
+
HV
– 5
+ +
mV
– –
Safety Guidelines
Operate the device only as described in this document.
Caution This icon denotes a caution, which advises you of precautions to take to
avoid injury, data loss, or a system crash.
Caution Do not substitute parts or modify the device except as described in this
document. Use the device only with the chassis, modules, accessories, and cables
specified in the installation instructions.
Caution You must have all covers and filler panels installed during operation of the
device. Do not operate the device without verifying that the cover is correctly
attached and the device is completely closed.
This product is intended for use in industrial locations. However, harmful interference may
occur in some installations, when the product is connected to a peripheral device or test object,
or if the product is used in residential or commercial areas. To minimize interference with radio
and television reception and prevent unacceptable performance degradation, install and use this
product in strict accordance with the instructions in the product documentation.
Furthermore, any modifications to the product not expressly approved by National Instruments
could void your authority to operate it under your local regulatory rules.
Caution To ensure the specified EMC performance, operate this product only with
shielded cables and accessories. Do not use unshielded cables or accessories unless
they are installed in a shielded enclosure with properly designed and shielded
input/output ports and connected to the product using a shielded cable. If unshielded
cables or accessories are not properly installed and shielded, the EMC specifications
for the product are no longer guaranteed.
1-2 | ni.com
Analog Output Series User Manual
DAQ Hardware
DAQ hardware digitizes signals, performs D/A conversions to generate analog output signals,
and measures and controls digital I/O signals. Figure 1-2 shows the components common to all
AO Series devices. The following sections contain more information about specific components
of the DAQ hardware.
Figure 1-2. Analog Output Block Diagram
Analog Output
I/O Connector
Counters
RTSI
PFI
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)
• AO—three 24-bit, one 16-bit counter
• General-purpose counter/timer functions—two 24-bit counters
You can independently configure the groups for timing resolutions of 50 ns or 10 µs. With the
DAQ-STC, you can interconnect a wide variety of internal timing signals to other internal
blocks. The interconnection scheme is flexible and completely software-configurable.
The DAQ-STC offers PFI lines to import external timing and trigger signals or to export
internally generated clocks and triggers. The DAQ-STC also supports buffered operations, such
as buffered waveform acquisition, buffered waveform generation, and buffered period
measurement. It also supports numerous non-buffered operations, such as single pulse or pulse
train generation, digital input, and digital output.
Calibration Circuitry
Calibration is the process of making adjustments to a measurement device to reduce errors
associated with measurements. Without calibration, the measurement results of your device will
drift over time and temperature. Calibration adjusts for these changes to improve measurement
accuracy and ensure that your product meets its required specifications.
DAQ devices have high precision analog circuits that must be adjusted to obtain optimum
accuracy in your measurements. Calibration determines what adjustments these analog circuits
should make to the device measurements. During calibration, the value of a known, high
precision measurement source is compared to the value your device acquires or generates. The
adjustment values needed to minimize the difference between the known and measured values
are stored in the EEPROM of the device as calibration constants. Before performing a
measurement, these constants are read out of the EEPROM and are used to adjust the calibration
hardware on the device. NI-DAQ determines when this is necessary and does it automatically.
If you are not using NI-DAQ, you must load these values yourself.
Internal or Self-Calibration
Self-calibration is a process to adjust the device relative to a highly accurate and stable internal
reference on the device. Self-calibration is similar to the autocalibration or autozero found on
some instruments. You should perform a self-calibration whenever environmental conditions,
such as ambient temperature, change significantly. To perform self-calibration, use the
self-calibrate function or VI that is included with your driver software. Self-calibration requires
no external connections.
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 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.
For a detailed calibration procedure for AO Series devices, refer to the AO Waveform
Calibration Procedure for NI-DAQmx document by selecting Manual Calibration Procedures
at ni.com/calibration.
1-4 | ni.com
Analog Output Series User Manual
The following sections contain information on how to select accessories for your AO Series
device.
Accessories
Table 1-1. Accessories and Cables for Analog Output Devices (Continued)
Accessories
Accessory Description
SCB-68A, SCB-68 68-pin, shielded screw terminal block with breadboard areas.
The SCB-68A is a newer design recommended for all new
applications over the SCB-68.
TBX-68 68-pin, DIN rail-mountable screw terminal block
1-6 | ni.com
Analog Output Series User Manual
Custom Cabling
Follow these guidelines if you want to develop your own cable.
• Route the analog lines separately from the digital lines.
• When using a cable shield, use separate shields for the analog and digital halves of the
cable. Failure to do so results in noise coupling into the analog signals from transient digital
signals.
Table 1-3 shows the recommended connectors to use with the I/O connector on your AO device.
Device Connector
Note When the NI DAQCard-6715 is in the upper PCMCIA slot, you can maintain
access to the adjacent slot by using an inverted VHDCI connector.
For more information on the connectors used for DAQ devices, refer to the KnowledgeBase
document, Specifications and Manufacturers for Board Mating Connectors. To access this
document, go to ni.com/info and enter the info code rdsmbm.
Refer to the NI Developer Zone document, Field Wiring and Noise Considerations for Analog
Signals, for more information. To access this document, go to ni.com/info and enter the Info
Code rdfwin.
NI-DAQmx includes a collection of programming examples to help you get started developing
an application. You can modify example code and save it in an application. You can use
examples to develop a new application or add example code to an existing application.
To locate LabVIEW and LabWindows/CVI examples, open the National Instruments Example
Finder:
• In LabVIEW, select Help»Find Examples.
• In LabWindows/CVI, select Help»NI Example Finder.
Measurement Studio, Visual Basic, and ANSI C examples are in the following directories:
• NI-DAQmx examples for Measurement Studio-supported languages are in the following
directories:
– NI-DAQ\Examples\MStudioVCxxxx
• Traditional NI-DAQ (Legacy) examples for Visual Basic are in the following two
directories:
– NI-DAQ\Examples\DotNETx.x
• NI-DAQmx examples for ANSI C are in the NI-DAQ\Examples\DAQmx ANSI C
directory
1-8 | ni.com
I/O Connector
2
This chapter contains information about the AO Series I/O connectors.
Note Some hardware accessories may not yet reflect the NI-DAQmx terminal
names. If you are using an AO Series device in Traditional NI-DAQ (Legacy), refer
to Table 2-1 for the Traditional NI-DAQ (Legacy) signal names.
AO GND 34 68 NC
NC 33 67 AO GND
AO GND 32 66 AO GND
AO GND 31 65 NC
NC 30 64 AO GND
AO GND 29 63 AO GND
NC 28 62 NC
AO GND 27 61 AO GND
AO GND 26 60 NC
AO 3 25 59 AO GND
AO GND 24 58 AO GND
AO GND 23 57 AO 2
AO 0 22 56 AO GND
AO 1 21 55 AO GND
AO EXT REF 20 54 AO GND
P0.4 19 53 D GND
D GND 18 52 P0.0
P0.1 17 51 P0.5
P0.6 16 50 D GND
D GND 15 49 P0.2
+5 V 14 48 P0.7
D GND 13 47 P0.3
D GND 12 46 NC
PFI 0 11 45 EXT STROBE
PFI 1 10 44 D GND
D GND 9 43 PFI 2
+5 V 8 42 PFI 3/CTR 1 SOURCE
D GND 7 41 PFI 4/CTR 1 GATE
PFI 5/AO SAMP CLK 6 40 CTR 1 OUT
PFI 6/AO START TRIG 5 39 D GND
D GND 4 38 PFI 7
PFI 9/CTR 0 GATE 3 37 PFI 8/CTR 0 SOURCE
CTR 0 OUT 2 36 D GND
FREQ OUT 1 35 D GND
NC = No Connect
2-2 | ni.com
TitleShort-Hidden (cross reference text)
AO GND 34 68 NC
NC 33 67 AO GND
AO GND 32 66 AO GND
AO GND 31 65 AO 7
AO 6 30 64 AO GND
AO GND 29 63 AO GND
AO 5 28 62 NC
AO GND 27 61 AO GND
AO GND 26 60 AO 4
AO 3 25 59 AO GND
AO GND 24 58 AO GND
AO GND 23 57 AO 2
AO 0 22 56 AO GND
AO 1 21 55 AO GND
AO EXT REF 20 54 AO GND
P0.4 19 53 D GND
D GND 18 52 P0.0
P0.1 17 51 P0.5
P0.6 16 50 D GND
D GND 15 49 P0.2
+5 V 14 48 P0.7
D GND 13 47 P0.3
D GND 12 46 NC
PFI 0 11 45 EXT STROBE
PFI 1 10 44 D GND
D GND 9 43 PFI 2
+5 V 8 42 PFI 3/CTR 1 SOURCE
D GND 7 41 PFI 4/CTR 1 GATE
PFI 5/AO SAMP CLK 6 40 CTR 1 OUT
PFI 6/AO START TRIG 5 39 D GND
D GND 4 38 PFI 7
PFI 9/CTR 0 GATE 3 37 PFI 8/CTR 0 SOURCE
CTR 0 OUT 2 36 D GND
FREQ OUT 1 35 D GND
NC = No Connect
NC 68 34 AO GND
AO GND 67 33 NC
AO GND 66 32 AO GND
AO 7 65 31 AO GND
AO GND 64 30 AO 6
AO GND 63 29 AO GND
NC 62 28 AO 5
AO GND 61 27 AO GND
AO 4 60 26 AO GND
AO GND 59 25 AO 3
AO GND 58 24 AO GND
AO 2 57 23 AO GND
AO GND 56 22 AO 0 TERMINAL 68 TERMINAL 34
AO GND 55 21 AO 1
AO GND 54 20 CAL
D GND 53 19 P0.4
P0.0 52 18 D GND
P0.5 51 17 P0.1
D GND 50 16 P0.6
P0.2 49 15 D GND
P0.7 48 14 +5 V
P0.3 47 13 D GND TERMINAL 35 TERMINAL 1
NC 46 12 D GND
EXT STROBE 45 11 PFI 0
D GND 44 10 PFI 1
PFI 2 43 9 D GND
PFI 3/CTR 1 SOURCE 42 8 +5 V
PFI 4/CTR 1 GATE 41 7 D GND
CTR 1 OUT 40 6 PFI 5/AO SAMP CLK
D GND 39 5 PFI 6/AO START TRIG
PFI 7 38 4 D GND
PFI 8/CTR 0 SOURCE 37 3 PFI 9/CTR 0 GATE
D GND 36 2 CTR 0 OUT
D GND 35 1 FREQ OUT
NC = No Connect
For a detailed description of each signal, refer to I/O Connector Signal Descriptions.
2-4 | ni.com
TitleShort-Hidden (cross reference text)
NC 68 34 AO GND AO 8 68 34 AO GND
AO GND 67 33 NC AO GND 67 33 AO 9
AO GND 66 32 AO GND AO GND 66 32 AO 10
AO 7 65 31 AO GND AO 11 65 31 AO GND
AO GND 64 30 AO 6 AO GND 64 30 AO 12
AO GND 63 29 AO GND AO GND 63 29 AO 13
NC 62 28 AO 5 AO 14 62 28 AO GND
AO GND 61 27 AO GND AO GND 61 27 AO 15
AO 4 60 26 AO GND AO GND 60 26 AO 16
AO GND 59 25 AO 3 AO 17 59 25 AO GND
AO GND 58 24 AO GND AO GND 58 24 AO 18
AO 2 57 23 AO GND AO GND 57 23 AO 19
TERMINAL 68 TERMINAL 34
AO GND 56 22 AO 0 NC 56 22 NC
AO GND 55 21 AO 1 AO 20 55 21 AO GND
AO GND 54 20 CAL AO GND 54 20 AO 21
D GND 53 19 P0.4 AO GND 53 19 AO 22
P0.0 52 18 D GND AO 23 52 18 AO GND
P0.5 51 17 P0.1 AO GND 51 17 AO 24
D GND 50 16 P0.6 AO GND 50 16 AO 25
P0.2 49 15 D GND AO 26 49 15 AO GND
P0.7 48 14 +5 V AO GND 48 14 AO 27
P0.3 47 13 D GND AO GND 47 13 AO 28
TERMINAL 35 TERMINAL 1
NC 46 12 D GND AO 29 46 12 AO GND
EXT STROBE 45 11 PFI 0 AO GND 45 11 AO 30
D GND 44 10 PFI 1 AO GND 44 10 AO 31
PFI 2 43 9 D GND NC 43 9 NC
PFI 3/CTR 1 SOURCE 42 8 +5 V NC 42 8 NC
PFI 4/CTR 1 GATE 41 7 D GND NC 41 7 NC
CTR 1 OUT 40 6 PFI 5/AO SAMP CLK NC 40 6 NC
D GND 39 5 PFI 6/AO START TRIG NC 39 5 NC
PFI 7 38 4 D GND NC 38 4 NC
PFI 8/CTR 0 SOURCE 37 3 PFI 9/CTR 0 GATE NC 37 3 NC
D GND 36 2 CTR 0 OUT NC 36 2 NC
D GND 35 1 FREQ OUT NC 35 1 NC
NC = No Connect
For a detailed description of each signal, refer to I/O Connector Signal Descriptions.
ACH# AI #
ACH# + AI # +
ACH# - AI # -
ACHGND AI GND
AIGND AI GND
AISENSE AI SENSE
AISENSE2 AI SENSE 2
AOGND AO GND
DAC0OUT AO 0
DAC1OUT AO 1
DGND D GND
DIO_# P0.#
DIO# P0.#
2-6 | ni.com
TitleShort-Hidden (cross reference text)
PFI# PFI #
PFI_# PFI #
I/O Connector
Pin Reference Direction Signal Description
I/O Connector
Pin Reference Direction Signal Description
2-8 | ni.com
TitleShort-Hidden (cross reference text)
I/O Connector
Pin Reference Direction Signal Description
I/O Connector
Pin Reference Direction Signal Description
Caution Connections that exceed any of the maximum ratings of input or output
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. NI is not liable for any damage resulting from signal
connections that exceed the maximum ratings.
+5 V Power Source
The +5 V pins on the I/O connector supply +5 V power. You can use these pins, referenced to
D GND, to power external circuitry. A self-resetting fuse protects the supply from overcurrent
2-10 | ni.com
TitleShort-Hidden (cross reference text)
conditions. The fuse resets automatically within a few seconds after the overcurrent condition is
removed.
The +5 V line on the connector of the DAQCard-6715 is fused at 0.75 A. However, the actual
current available can be limited below this value by the host computer. NI recommends limiting
current from this line to 250 mA.
Caution Never connect these +5 V power pins to analog or digital ground or to any
other voltage source on the AO Series device or any other device. Doing so can
damage the device and the computer. NI is not liable for damage resulting from such
a connection.
AO 0 DAC0
AO FIFO AO Data
AO 1 DAC1
AO Sample Clock
Polarity Select
Reference Select
DAC FIFO
The DAC FIFO enables analog output waveform generation. It is a first-in-first-out (FIFO)
memory buffer between the computer and the DACs that allows you to download all the points
of a waveform to your board without host computer interaction.
AO Sample Clock
The DAC reads a sample from the FIFO with every cycle of the AO Sample Clock signal and
generates the AO voltage. For more information on the 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.
where the output range is determined by your reference selection. Using AO EXT REF, you can
reduce the output voltage range and lower the LSB, the minimum allowed voltage change. For
more information on using the AO External Reference signal, refer to the Reference Selection
(NI 6711/6713/DAQCard-6715 and NI 6731/6733 Only) section.
20 V
---------------- = 305 μV
65,536
The denominator in the equation is derived from 216 = 65,536, since the NI 6731/6733 devices
use 16-bit DACs.
3-2 | ni.com
TitleShort-Hidden (cross reference text)
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. They are typically used for writing a single
value out, such as a constant DC voltage.
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.
Buffered
In a buffered generation, data is moved from a PC buffer to the DAQ device’s onboard FIFO
using DMA or interrupts before it is written to the DACs one sample at a time. Buffered
generations typically allow for much faster transfer rates than non-buffered generations because
data is moved in large blocks, rather than one point at a time. For more information on DMA and
interrupt requests, refer to the Data Transfer Methods section of Chapter 9, Bus Interface.
One property of buffered I/O operations is the sample mode. The sample mode can be either
finite or continuous.
Finite sample mode generation refers to the generation of a specific, predetermined number of
data samples. After the specified number of samples has been written out, the generation stops.
Regeneration is the repetition of the data that is already in the buffer. Standard regeneration is
when data from the PC buffer is continually downloaded to the FIFO to be written out. New data
can be written to the PC buffer at any time without disrupting the output.
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. The advantage of using FIFO regeneration is that
it does not require communication with the main host memory when the operation is started,
thereby preventing any problems that may occur due to excessive bus traffic.
With non-regeneration, old data will not be repeated. New data must be continually written to
the buffer. If the program does not write new data to the buffer at a fast enough rate to keep up
with the generation, the buffer will underflow and cause an error.
Non-Buffered
In hardware-timed non-buffered generations, data is written directly to the FIFO on the device.
Typically, hardware-timed non-buffered operations are used to write single samples with known
time increments between them and good latency.
The AO Start Trigger Signal section and AO Pause Trigger Signal section contain information
about the analog output trigger signals.
3-4 | ni.com
TitleShort-Hidden (cross reference text)
AO EXT REF
+
External AO 0
Reference + Channel 0
Vref
Signal
(Optional) – V OUT
Load
AO GND
–
Load V OUT
AO 1
Channel 1
÷200 ÷
20 MHz Divisor
Timebase
Figure 3-4 shows the timing requirements of the ao/StartTrigger digital source.
Figure 3-4. ao/StartTrigger Timing Requirements
tw
Rising-Edge
Polarity
Falling-Edge
Polarity
tw = 10 ns minimum
The output is an active high pulse. Figure 3-5 shows the timing behavior of the PFI 6/AO START
TRIG pin when the pin is an output.
Figure 3-5. PFI 6/AO START TRIG Timing Behavior
tw
tw = 50 –100 ns
The ao/PauseTrigger does not stop a sample that is in progress. The pause does not take effect
until the beginning of the next sample. This signal is not available as an output.
3-6 | ni.com
TitleShort-Hidden (cross reference text)
Also, specify whether the samples are paused when ao/PauseTrigger is at a logic high or low
level.
The source of the ao/SampleClock signal can be internal or external. You can specify whether
the DAC update begins on the rising edge or falling edge of the ao/SampleClock signal.
Several other internal signals can be routed to the sample clock. Refer to Device Routing in MAX
in the NI-DAQmx Help or the LabVIEW Help for more information.
tw
Rising-Edge
Polarity
Falling-Edge
Polarity
tw = 10 ns minimum
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.
Figure 3-7. PFI 5/AO SAMP CLK as an Output
tw
tw = 50–75 ns
Figure 3-8 shows the relationship of the ao/SampleClock signal to the ao/StartTrigger signal.
Figure 3-8. ao/SampleClock and ao/StartTrigger
ao/SampleClockTimebase
ao/StartTrigger
ao/SampleClock
Delay
from
Start
Trigger
3-8 | ni.com
TitleShort-Hidden (cross reference text)
You might use the ao/SampleClockTimebase signal if you want to use an external sample clock
signal, but need to divide the signal down. If you want to use an external sample clock signal,
but do not need to divide the signal, then you should use the ao/SampleClock signal rather than
the ao/SampleClockTimebase. If you do not specify an external sample clock timebase, NI-DAQ
uses the Onboard Clock.
Figure 3-9 shows the timing requirements for the ao/SampleClockTimebase signal.
Figure 3-9. ao/SampleClockTimebase Timing Requirements
tp
tw tw
tp = 50 ns minimum
tw = 23 ns minimum
The maximum allowed frequency is 20 MHz, with a minimum pulse width of 10 ns high or low.
There is no minimum frequency.
Unless you select an external source, either the 20MHzTimebase or 100kHzTimebase generates
the ao/SampleClockTimebase signal.
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. Typically the 20MHzTimebase signal is used as the
MasterTimebase unless you wish to synchronize multiple devices, in which case, you should use
RTSI 7. Refer to Chapter 8, Real-Time System Integration Bus (RTSI), for more information on
which signals are available through RTSI.
tw tw
tp = 50 ns minimum
tw = 23 ns minimum
You can perform these generations through programmed I/O, interrupt, or 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.
3-10 | ni.com
Digital I/O
4
AO Series devices contain eight lines of bidirectional DIO signals that support the following
features:
• Direction and function of each terminal, individually controllable
• High-speed digital waveform generation (NI 6731/6733 only)
• High-speed digital waveform acquisition (NI 6731/6733 only)
DO Waveform
Generation FIFO
DO Sample Clock
Weak Pull-Up
Static DO
Buffer
I/O Protection P0.x
DO.x Direction Control
Static DI
DI Waveform
Measurement
FIFO
DI Sample Clock
The voltage input and output levels and the current drive levels of the DIO lines are listed in the
specifications of your device.
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.
P0.6 and P0.7 also can control the up/down input of general-purpose Counters 0 and 1,
respectively. The up/down control signals, Counter 0 Up/Down and Counter 1 Up/Down, are
input-only and do not affect the operation of the DIO lines. For more information, refer to
Chapter 5, Counters.
The DO waveform generation FIFO stores the digital samples. The NI 6731/6733 can use DMA
transfers to move data from the system memory to the DO waveform generation FIFO. The
DAQ device moves samples from the FIFO to the DIO terminals on each rising or falling edge
of a clock signal, do/SampleClock. For more information on DMA transfers, refer to the Direct
Memory Access (DMA) section of Chapter 9, Bus Interface.
You can configure each DIO line to be an input, a static output, or a digital waveform generation
output.
If the DAQ device receives a do/SampleClock when the FIFO is empty, the DAQ device reports
an underflow error to the host software.
4-2 | ni.com
TitleShort-Hidden (cross reference text)
Program the DAQ device to update the DIO pins on the rising edge or falling edge of
do/SampleClock.
Any PFI line that can be routed to RTSI can also be used as the clock source. Refer to
Device Routing in MAX in the NI-DAQmx Help or the LabVIEW Help for more information.
You must ensure that the time between two active edges of the do/SampleClock is not too short.
If the time is too short, the DO waveform generation FIFO is not able to read the next sample
fast enough.
The DI waveform acquisition FIFO stores the digital samples. The NI 6731/6733 can use DMA
transfers to move data from the DI waveform acquisition FIFO to system memory. The DAQ
device samples the DIO lines on each rising or falling edge of a clock signal, di/SampleClock.
For more information on DMA transfers, refer to the Direct Memory Access (DMA) section of
Chapter 9, Bus Interface.
You can configure each DIO line to be an output, a static input, or a digital waveform acquisition
input.
If the DAQ device receives a di/SampleClock when the FIFO is full, the DAQ device reports an
overflow error to the host software.
Program the DAQ device to sample the DIO terminals on the rising edge or falling edge of
di/SampleClock.
Any PFI line that can be routed to RTSI can also be used as the clock source. Refer to
Device Routing in MAX in the NI-DAQmx Help or the LabVIEW Help for more information.
You must ensure that the time between two active edges of the di/SampleClock is not too short.
If the time is too short, the DI waveform generation FIFO is not able to store the sample fast
enough.
I/O Protection
To minimize the risk of damaging the DIO and PFI terminals of your device, follow these
guidelines.
• If you configure a PFI or DIO line as an output, do not connect it to any external signal
source, ground signal, or power supply.
• If you configure a PFI or DIO line as an output, understand the current requirements of the
load connected to these signals. Do not exceed the specified current output limits of the
DAQ device. NI has several signal conditioning solutions for digital applications requiring
high current drive.
4-4 | ni.com
TitleShort-Hidden (cross reference text)
• If you configure a PFI or DIO line as an input, do not drive the line with voltages outside
of its normal operating range. The PFI or DIO lines have a smaller operating range than the
AI signals.
• Treat the DAQ device as you would treat any static sensitive device. Always properly
ground yourself and the equipment when handling the DAQ device or connecting to it.
Power-On States
At system startup and reset, the hardware sets all PFI and DIO lines to high-impedance inputs.
The DAQ device does not drive the signal high or low. Each line has a weak pull-up resistor
connected to it, as described in the specifications of your device.
LED
P0.<4..7>
TTL Signal
P0.<0..3>
+5 V
Switch
D GND
I/O Connector
AO Series Device
Caution Exceeding the maximum input voltage ratings, which are listed in the
specifications of each AO Series device, can damage the DAQ device and the
computer. NI is not liable for any damage resulting from such signal connections.
(NI 6731/6733 only) For correlated DIO examples in Traditional NI-DAQ (Legacy), refer to the
KnowledgeBase document, What Devices Other Than M Series Can Perform Correlated
Digital I/O?. To access this document, go to ni.com/info and enter the Info Code rdwd7m.
Note For more information about programming digital I/O applications and
triggers in software, refer to the NI-DAQmx Help.
4-6 | ni.com
Counters
5
Figure 5-1 shows a counter on the AO Series device.
Figure 5-1. Counter Block Diagram
Source
Out
Gate
Software Registers
Counters 0 and 1 each have two inputs (source and gate), one output, and two software registers,
which are used to perform different operations. Counter functionality is built into the DAQ-STC.
For more information on the DAQ-STC, refer to the DAQ-STC section of Chapter 1, DAQ
System Overview.
Counter Triggering
Counters support two different triggering actions: start and pause. Only digital triggers can
initiate these actions. For more information on digital triggers, refer to the Triggering with a
Digital Source section of Chapter 10, Triggering.
Start Trigger
A start trigger begins a finite or continuous pulse generation. When a continuous generation is
initiated, the pulses continue to generate until you stop the operation in software. The specified
number of pulses are generated for finite generations unless the retriggerable attribute is used.
The retriggerable attribute causes the generation to restart on a subsequent start trigger.
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.
tgsu tgh
VIH
GATE
VIL
tgw
tout
VOH
OUT
VOL
The gate and out signal transitions shown in Figure 5-2 are referenced to the rising edge of the
source signal. This timing diagram assumes that the counters are programmed to count rising
edges. The same timing diagram, but with the source signal inverted and referenced to the falling
edge of the source signal, applies when you program the counter to count falling edges.
The gate input timing parameters are referenced to the signal at the source input or to one of the
internally generated signals on your device. Figure 5-2 shows the gate signal referenced to the
rising edge of a source signal. The gate must be valid (either high or low) for at least 10 ns before
the rising or falling edge of a source signal so the gate can take effect at that source edge, as
shown by tgsu and tgh. The gate signal is not required after the active edge of the source signal.
If you use an internal timebase clock, you cannot synchronize the gate signal with the clock. In
this case, gates applied close to a source edge take effect either on that source edge or on the next
one. This arrangement results in an uncertainty of one source clock period with respect to
unsynchronized gating sources.
The output timing parameters are referenced to the signal at the source input or to one of the
internally generated clock signals on your device. Figure 5-2 shows the out signal referenced to
5-2 | ni.com
TitleShort-Hidden (cross reference text)
the rising edge of a source signal. Any out signal state changes occur within 80 ns after the rising
or falling edge of the source signal.
For information on the internal routing available on the DAQ-STC counter/timers, refer to
Counter Parts in NI-DAQmx in the NI-DAQmx Help or the LabVIEW Help for more information.
You can export the Ctr0Source signal to the PFI 8/CTR 0 SOURCE pin, even if another PFI is
inputting the Ctr0Source signal. This output is set to high-impedance at startup.
Figure 5-3 shows the timing requirements for the Ctr0Source signal.
Figure 5-3. Ctr0Source Timing Requirements
tp
tw tw
tp = 50 ns minimum
tw = 10 ns minimum
The maximum allowed frequency is 20 MHz, with a minimum pulse width of 10 ns high or low.
There is no minimum frequency.
For most applications, unless you select an external source, the 20MHzTimebase signal or the
100kHzTimebase signal generates the Ctr0Source signal.
You can export the gate signal connected to Counter 0 to the PFI 9/CTR 0 GATE pin, even if
another PFI is inputting the Ctr0Gate signal. This output is set to high-impedance at startup.
Figure 5-4 shows the timing requirements for the Ctr0Gate signal.
Figure 5-4. Ctr0Gate Timing Requirements
tw
Rising-Edge
Polarity
Falling-Edge
Polarity
tw = 10 ns minimum
Ctr0Source
Ctr0InternalOutput
(Pulse on TC)
Ctr0InternalOutput
(Toggle Output on TC)
Refer to Device Routing in MAX in the NI-DAQmx Help or the LabVIEW Help for more
information.
5-4 | ni.com
TitleShort-Hidden (cross reference text)
Ctr0Gate
Ctr0InternalOutput
Counter 0 CTR 0 OUT
Ctr0Source
Ctr0Up/Down
Ctr0Out
You can export the Counter 1 signal to the PFI 3/CTR 1 SOURCE pin, even if another PFI is
inputting the Ctr1Source signal. This output is set to high-impedance at startup.
Figure 5-7 shows the timing requirements for the Ctr1Source signal.
Figure 5-7. Ctr1Source Timing Requirements
tp
tw tw
tp = 50 ns minimum
tw = 10 ns minimum
The maximum allowed frequency is 20 MHz, with a minimum pulse width of 10 ns high or low.
There is no minimum frequency.
For most applications, unless you select an external source, the 20MHzTimebase signal or the
100kHzTimebase signal generates the Ctr1Source signal.
You can export the gate signal connected to Counter 1 to the PFI 4/CTR 1 GATE pin, even if
another PFI is inputting the Ctr1Gate signal. This output is set to high-impedance at startup.
Figure 5-8 shows the timing requirements for the Ctr1Gate signal.
Figure 5-8. Ctr1Gate Timing Requirements
tw
Rising-Edge
Polarity
Falling-Edge
Polarity
tw = 10 ns minimum
5-6 | ni.com
TitleShort-Hidden (cross reference text)
Ctr1InternalOutput
(Pulse on TC)
Ctr1InternalOutput
(Toggle Output on TC)
Refer to Device Routing in MAX in the NI-DAQmx Help or the LabVIEW Help for more
information.
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. Typically the 20MHzTimebase signal is used as the
MasterTimebase unless you wish to synchronize multiple devices, in which case, you should use
RTSI 7. Refer to Chapter 8, Real-Time System Integration Bus (RTSI), for more information on
which signals are available through RTSI.
tw tw
tp = 50 ns minimum
tw = 23 ns minimum
You can perform these measurements through programmed I/O, interrupt, or DMA data transfer
mechanisms. The measurements can be finite or continuous in duration. Some of the
applications also use start triggers and pause triggers.
Note For more information about programming counter applications and triggers
in software, refer to the NI-DAQmx Help.
5-8 | ni.com
Programmable Function
6
Interfaces (PFI)
The 10 Programmable Function Interface (PFI) pins allow timing signals to be routed to and
from the I/O connector of a device.
Inputs
An external timing signal can be input on any PFI pin and multiple timing signals can
simultaneously use the same PFI pin. This flexible routing scheme reduces the need to change
the physical connections to the I/O connector for different applications. For more information,
refer to the Timing Signal Routing section of Chapter 7, Digital Routing.
When using the PFI pin as an input, you can individually configure each PFI for edge or level
detection and for polarity selection. You can use the polarity selection for any of the timing
signals, but the edge or level detection depends upon the particular timing signal being
controlled. The detection requirements for each timing signal are listed within the section that
discusses that signal.
In edge-detection mode, the minimum pulse width required is 10 ns. This applies for both
rising-edge and falling-edge polarity settings. There is no maximum pulse width requirement in
edge-detect mode.
In level-detection mode, there are no minimum or maximum pulse width requirements imposed
by the PFI signals, but there can be limits imposed by the particular timing signal being
controlled.
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. This signal, however, cannot be
output on any other PFI pin.
Not all timing signals can be output. PFI pins are labeled with the timing signal that can be output
on it. For example, PFI 8 is labeled PFI 8/CTR 0 Source. The following timing signals can be
output on PFI pins.
• AO Start Trigger Signal
• AO Sample Clock Signal
• Counter 0 Source Signal
• Counter 0 Gate Signal
• Counter 1 Source Signal
• Counter 1 Gate Signal
For more information about PFI lines, refer to the Power-On States section of Chapter 4, Digital
I/O. For a list of the PFI pins and the signals they can output, refer to the I/O Connector Signal
Descriptions section in Chapter 2, I/O Connector.
6-2 | ni.com
Digital Routing
7
The digital routing circuitry manages the flow of data between the bus interface and the
acquisition subsystems (AO circuitry, digital I/O, and the counters). The digital routing circuitry
uses FIFOs (if present) in each subsystem to ensure efficient data movement.
The digital routing circuitry also routes timing and control signals. The acquisition subsystems
use these signals to manage acquisitions. These signals can come from:
• your AO Series device
• other devices in your system by way of RTSI
• user input by way of the PFI pins
For a detailed description of which routes are possible on your device, click the Device Routes
tab in Measurement & Automation Explorer.
You can control the following timing signals internal to the DAQ-STC by an external source.
• AO Start Trigger Signal
• AO Pause Trigger Signal
• AO Sample Clock Signal
• AO Sample Clock Timebase Signal
• DI Sample Clock Signal
• DO Sample Clock Signal
• Counter 0 Source Signal
• Counter 0 Gate Signal
• Counter 0 Up/Down Signal
• Counter 1 Source Signal
You also can control these timing signals with signals generated internally to the DAQ-STC, and
these selections are fully software-configurable. For example, the signal routing multiplexer for
controlling the ao/SampleClock signal is shown in Figure 7-1.
Figure 7-1. Signal Routing Multiplexer on Analog Output Devices
ao/Sample Clock
PFI <0..9>
Onboard Clock
Ctr1InternalOutput
Figure 7-1 shows that you can generate the ao/SampleClock signal from a number of sources,
including the external signals RTSI <0..6>, PFI <0..9>, and the internal signals, Onboard Clock,
and Ctr1InternalOutput. Here, the Onboard Clock is derived by dividing down the
ao/SampleClockTimebase signal.
Many of these timing signals are also available as outputs on the PFI pins.
Note The Master Timebase signal can only be accepted as an external signal over
RTSI. For more information on the Master Timebase signal, refer to the Master
Timebase Signal section of Chapter 5, Counters. Refer to the Device and RTSI Clocks
section of Chapter 8, Real-Time System Integration Bus (RTSI), for information on
routing this signal.
7-2 | ni.com
TitleShort-Hidden (cross reference text)
The 10 programmable function interface (PFI) pins labeled PFI <0..9> route all external control
over the timing of the device. These lines serve as connections to virtually all internal timing
signals. These PFIs are bidirectional. As outputs they are not programmable and reflect the state
of many waveform generation and counter timing signals. There are five other dedicated outputs
for the remainder of the timing signals. As inputs, the PFI signals are programmable and can
control all timing signals.
All digital timing connections are referenced to D GND. Figure 7-2 shows this reference, and
how to connect an external PFI 0 source and an external PFI 2 source to two PFI pins.
Figure 7-2. Connecting PFI 0 and PFI 2 to Two PFI Pins
PFI 0
PFI 2
PFI 0 PFI 2
Source Source
D GND
I/O Connector
AO Series Device
Language Function
Note For more information about routing signals in software, refer to the
NI-DAQmx Help.
7-4 | ni.com
Real-Time System
8
Integration Bus (RTSI)
NI-DAQ devices use the Real-Time System Integration (RTSI) bus to easily synchronize several
measurement functions to a common trigger or timing event. 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 devices in the computer. In a PXI
system, the RTSI bus consists of the RTSI bus interface and the PXI trigger signals on the PXI
backplane. This bus can route timing and trigger signals between several functions on as many
as seven DAQ devices in the system. Refer to the KnowledgeBase document, RTSI Connector
Pinout, for more information. To access this document, go to ni.com/info and enter the Info
Code rdrtcp.
RTSI Triggers
The seven RTSI trigger lines on the RTSI bus provide a flexible interconnection scheme for
devices sharing the RTSI bus. These bidirectional lines can drive or receive any of the timing
and triggering signals shown below directly to or from the trigger bus.
The RTSI trigger lines on PXI devices connect to other devices through the PXI bus on the PXI
backplane. RTSI <0..5> connect to PXI Trigger <0..5>, respectively. The RTSI Clock is
connected to PXI Trigger 7. In PXI, RTSI 6 connects to the PXI star trigger line, allowing the
device to receive triggers from any star trigger controller plugged into Slot 2 of the chassis. AO
Series devices can accept timing signals from the PXI star trigger line, but they cannot drive
signals onto it. For more information on the star trigger, refer to the PXI Hardware Specification
Revision 2.1.
DAQ-STC
ao/SampleClock
ao/StartTrigger
ao/PauseTrigger
Ctr0 Source
RTSI Bus Connector
RTSI Switch
Trigger <0..6> Ctr0Gate
Ctr0InternalOutput
Ctr0Out
ao/SampleClockTimebase
Ctr1Source
Ctr1Gate
RTSI Trigger 7
20MHzTimebase
Switch
MasterTimebase
DAQ-STC
ao/SampleClock
PXI Star 6 ao/StartTrigger
ao/PauseTrigger
Ctr0 Source
PXI Bus Connector
PXI Trigger
RTSI Switch
<0..5> Ctr0Gate
Ctr0InternalOutput
6
Ctr0Out
ao/SampleClockTimebase
Ctr1Source
Ctr1Gate
PXI Trigger 7
20MHzTimebase
Switch
MasterTimebase
Refer to the Timing Signal Routing section of Chapter 7, Digital Routing, for a description of the
signals shown in Figure 8-1 and Figure 8-2.
8-2 | ni.com
TitleShort-Hidden (cross reference text)
Note In NI-DAQmx, some additional timing signals not shown in the figures can
be routed to RTSI indirectly. Click the Device Routes tab in Measurement &
Automation Explorer for more information.
The AO Series device can use either its internal 20MHzTimebase signal or a timebase received
over the RTSI bus. The timebase can only be routed to or received from RTSI 7, or the RTSI
clock. The device uses this clock source, whether local or from the RTSI bus, as the primary
frequency 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.
(NI DAQCard-6715 only) The NI DAQCard-6715 does not interface to the RTSI bus. It can
only directly use its own internal 20 MHz timebase as the primary frequency source.
The 20MHzTimebase on the master device is the MasterTimebase signal for all devices. The
slave devices pull this signal from the master device across the RTSI trigger 7 line. Slave devices
also pull any shared triggers across an available RTSI trigger line from the master device. When
you start all of the slave devices before starting the master device, you have successfully
synchronized your application across multiple devices.
The CompactPCI specification permits vendors to develop sub-buses that coexist with the basic
PCI interface on the CompactPCI bus. Compatible operation is not guaranteed between
CompactPCI devices with different sub-buses nor between CompactPCI devices with sub-buses
and PXI. The standard implementation for CompactPCI does not include these sub-buses. The
PXI AO Series device works in any standard CompactPCI chassis adhering to the PICMG
CompactPCI 2.0 R3.0 core specification.
PXI-specific features are implemented on the J2 connector of the CompactPCI bus. The PXI
device is compatible with any CompactPCI chassis with a sub-bus that does not drive the lines
used by that device. Even if the sub-bus is capable of driving these lines, the PXI device is still
compatible as long as those pins on the sub-bus are disabled by default and never enabled.
Caution Damage can result if these lines are driven by the sub-bus. NI is not liable
for any damage resulting from improper signal connections.
Programmed I/O
Programmed I/O is a data transfer mechanism where the user’s program is responsible for
transferring data. Each read or write call in the program initiates the transfer of data.
Programmed I/O is typically used in software-timed (on demand) operations.
9-2 | ni.com
Triggering
10
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:
• a software command
• a condition on an external digital signal
You can also program your DAQ device to perform an action in response to a trigger. The action
can affect:
• analog output generation
• counter behavior
For more information, refer to the Analog Output Triggering section of Chapter 3, Analog
Output, and the Counter Triggering section of Chapter 5, Counters.
The edge can be either the rising edge or falling edge of the digital signal. A rising edge is a
transition from a low logic level to a high logic level. A falling edge is a high to low transition.
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, Analog
Output, and the Counter Triggering section of Chapter 5, Counters.
NI 6711/6713
The following sections contain more information on the NI 6711/6713.
Because the NI 6711/6713 have no DIP switches, jumpers, or potentiometers, they are easily
software-configured and calibrated.
always bipolar. This means that you can generate signals up to ±10 V with internal reference
selected or ±EXT REF voltage with external reference selected.
12 AO 0
AO 0 AO 0
Amp 12-Bit DAC Latch
12 AO 1
AO 1 AO 1
Amp 12-Bit DAC Latch
Data
12 AO 2
AO 2 AO 2
Amp 12-Bit DAC Latch
12 AO 3
AO 3 AO 3
Amp 12-Bit DAC Latch
12 AO 4
AO 4 AO 4
Amp 12-Bit DAC Latch
Control
Generic PCI PCI
12 AO 5
Bus Bus
AO 5 AO 5 Interface MITE Interface
Amp 12-Bit DAC Latch
Data Address/Data
I/O Connector
Data
DAC
FIFO
Address
12 EEPROM IRQ
AO 6 AO 6 AO 6
Amp 12-Bit DAC Latch
EEPROM Register
12 AO 7 Control Decode
PCI/PXI Bus
AO 7 AO 7
Amp 12-Bit DAC Latch
AO DMA/
Control FPGA IRQ
DMA
AO Control DAQ-STC
Calibration
Bus
Control
Interface
Calibration Data
24 DACs
Calibration Calibration
8 Mux ADC
PFI / Trigger Analog Output Bus
Trigger Timing/Control Interface
+5 V
1A
RTSI Bus
A-2 | ni.com
Analog Output Series User Manual
NI DAQCard-6715
The following sections contain more information on the NI DAQCard-6715.
Because the NI DAQCard-6715 have no DIP switches, jumpers, or potentiometers, they are
easily software-configured and calibrated.
AO 0 AO 0
Amp 12-Bit DAC
AO 1 AO 1
Amp 12-Bit DAC
AO 2 AO 2
Amp 12-Bit DAC
AO 3 AO 3 CIS
Amp 12-Bit DAC CONFIG
EEPROM EEPROM
AO 4 AO 4
Amp 12-Bit DAC Control/Data DAC Bus
Address/Control
Control Interface
AO Bus
Control
FPGA
Interface Data
AO 5 AO 5
Amp 12-Bit DAC FIFO DAQ-STC Calibration EEPROM
I/O Connector
PCMCIA Bus
Data In Interface Control
Data
AO 6 AO 6
Amp 12-Bit DAC
Digital
Thermometer
Control
Data/Control
AO 7 AO 7 DAC
Amp 12-Bit DAC FIFO
Calibration
24 DACs
Calibration Calibration
8 Mux ADC
Analog Output Bus Analog Input
Timing/Control Interface Timing/Control
+5 V
0.75 A
A-4 | ni.com
Analog Output Series User Manual
NI 6722/6723
The following sections contain more information on the NI 6722/6723.
Because the NI 6722/6723 have no DIP switches, jumpers, or potentiometers, they are easily
software-configured and calibrated.
13-Bit DAC
13-Bit DAC
13-Bit DAC
13-Bit DAC
AO Data Bus
13-Bit DAC
EEPROM
I/O Connector
13-Bit DAC
PCI/PXI Bus
13-Bit DAC PCI Control
Power On Misc MITE PCI
Reset Bus
Analog Generic Interface
Output Mite Bus
FPGA Address/Data
13-Bit DAC Interface Interface
Analog FIFO
Input
x4* x4*
Update, Clear
16-Bit ADC Busy
Analog Output
PFI/Trigger Trigger
Timing/Control
DMA/IRQ
DMA/IRQ
Bus
Timing Timing I/O DAQ - STC
Interface
RTSI Bus
Digital I/O (8) Digital I/O
Interface
A-6 | ni.com
Analog Output Series User Manual
NI 6731/6733
The following sections contain more information on the NI 6731/6733.
Because the NI 6731/6733 have no DIP switches, jumpers, or potentiometers, they are easily
software-configured and calibrated.
AO 0 AO 0 16 AO 0
Amp 16-Bit DAC Latch
AO 1 AO 1 16 AO 1
Amp 16-Bit DAC Latch
Data
AO 2 AO 2 16 AO 2
Amp 16-Bit DAC Latch
AO 3 AO 3 16 AO 3
Amp 16-Bit DAC Latch
AO 4 AO 4 16 AO 4
Amp 16-Bit DAC Latch
Control
Generic PCI
Bus PCI
Bus
AO 5 AO 5 16 AO 5 Interface MITE Interface
Amp 16-Bit DAC Latch Data Address/Data
I/O Connector
Data
DAC
PCI/PXI
FIFO IRQ
Address
AO 6 AO 6 16 AO 6
Amp 16-Bit DAC Latch
Calibration Data
32 DACs
Calibration Calibration
8 Mux ADC
PFI / Trigger Analog Output Bus
Trigger
Timing/Control Interface
Timing Counter/
DAQ - STC DMA/IRQ
Timing I/O
Analog Input RTSI Bus
Digital I/O (8) Digital I/O
Timing/Control Interface
+5 V
1A
RTSI Bus
Note: AO 4 through AO 7 appear only on the NI 6733.
A-8 | ni.com
Troubleshooting
B
This section contains some common questions about AO Series devices. If your questions are
not answered here, visit the ni.com/support and search for your model number.
fu
f a = -----
Sc
The onboard 20 MHz clock that generates fu can only be divided by an integer. For example,
suppose you want to generate a sine wave at 2 kHz with 50 samples per cycle. Substitute 2 kHz
and 50 samples into the previous equation to get:
fu
2 kHz = ------
50
So fu equals 100 kHz. The 20 MHz clock must be divided by 200 as shown by:
20 MHz
------------------- = 100 kHz
200
Suppose now you want to slightly increase or decrease the frequency of the sine wave. The
closest available update clock you can generate occurs using a divisor of 199 or 201. If you
choose 201, fu equals 99.5 kHz, as the following equation shows:
20 MHz
------------------- = 99.50 kHz
201
99.50 kHz
f a = ------------------------- = 1.99 kHz
50
The smallest frequency change that you can generate in this case is approximately 10 Hz.
Update Rate
What is update rate?
Update rate is the fastest rate that you can output data from the device and still achieve accurate
results. For example, the NI 6723 has an update rate of 800 kS/s on one channel, and 204 kS/s
when using all channels. The fastest rate that the output voltage can change is also limited by the
device’s slew rate.
B-2 | ni.com
NI Services
C
NI provides global services and support as part of our commitment to your success. Take
advantage of product services in addition to training and certification programs that meet your
needs during each phase of the application life cycle; from planning and development through
deployment and ongoing maintenance.
Log in to your MyNI user profile to get personalized access to your services.
For information about other technical support options in your area, visit ni.com/services,
or contact your local office at ni.com/contact.
You also can visit the Worldwide Offices section of ni.com/niglobal to access the branch
office websites, which provide up-to-date contact information, support phone numbers, email
addresses, and current events.
C-2 | ni.com
Glossary
Symbol Prefix Value
n nano 10-9
µ micro 10-6
m milli 10-3
k kilo 103
M mega 106
Symbols
- Negative of, or minus.
Ω Ohms.
% Percent.
± Plus or minus.
A
A Amperes—the unit of electric current.
A/D Analog-to-digital.
AC Alternating current.
AI 1. Analog input
2. Analog input channel signal.
AO Analog output.
B
bipolar A signal range that includes both positive and negative values (for
example, -5 to +5 V)
C
C Celsius
cm Centimeter.
G-2 | ni.com
Analog Output Series User Manual
correlated DIO A feature that allows you to clock digital I/O on the same clock as
analog I/O.
D
D/A Digital-to-analog.
DAQ device A device that acquires or generates data and can contain multiple
channels and conversion devices. DAQ devices include plug-in
devices, PCMCIA cards, and DAQPad devices, which connect to a
computer USB or 1394 (FireWire®) port. SCXI modules are
considered DAQ devices.
data acquisition 1. Acquiring and measuring analog or digital electrical signals from
(DAQ) sensors, transducers, and test probes or fixtures.
2. Generating analog or digital electrical signals.
driver Software unique to the device or type of device, and includes the set
of commands the device accepts.
E
EEPROM Electrically erasable programmable read-only memory—ROM that
can be erased with an electrical signal and reprogrammed.
F
FPGA Field-programmable gate array.
H
Hz Hertz.
I
I/O Input/output—the transfer of data to/from a computer system
involving communications channels, operator interface devices,
and/or data acquisition and control interfaces.
G-4 | ni.com
Analog Output Series User Manual
L
LED Light-emitting diode—a semiconductor light source.
M
m Meter.
measurement device DAQ devices such as the E Series multifunction I/O (MIO) devices,
SCXI signal conditioning modules, and switch modules.
module A board assembly and its associated mechanical parts, front panel,
optional shields, and so on. A module contains everything required to
occupy one or more slots in a mainframe. SCXI and PXI devices are
modules.
N
NC Normally closed, or not connected.
NI National Instruments.
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; increased performance such as faster single-point analog I/O;
and a simpler API for creating DAQ applications using fewer
functions and VIs than earlier versions of NI-DAQ.
P
PCI Peripheral Component Interconnect—a high-performance expansion
bus architecture originally developed by Intel to replace ISA and
EISA. It offers a theoretical maximum transfer rate of 132 Mbytes/s.
pd Pull-down.
pu Pull-up.
G-6 | ni.com
Analog Output Series User Manual
R
rms Root mean square.
S
s Seconds.
S Samples.
scan interval Controls how often a scan is initialized; is regulated by the AI SAMP
signal.
settling time The amount of time required for a voltage to reach its final value
within specified limits.
T
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.
V
V Volts.
G-8 | ni.com
Analog Output Series User Manual
M R
minimizing glitches, 3-3 reference selection, 3-1, 3-2
reglitch selection, 3-2
RTSI, 8-1
N
NI 6711/6713
analog output, A-1 S
block diagram, A-2 signal descriptions, 2-7
features, A-1 synchronizing multiple devices, 8-3
NI 6722/6723
analog output, A-5 T
block diagram, A-6 terminal name equivalents, 2-5
features, A-5 timing signal routing, 7-1
NI 6731/6733 device and RTSI clocks, 8-3
analog output, A-7 RTSI, 8-1
block diagram, A-8 RTSI triggers, 8-1
features, A-7 timing signals
NI DAQCard-6715 connecting, 7-3
analog output, A-3 counter, 5-2
block diagram, A-4 power-on state, 4-5
features, A-3 routing, 7-1
waveform generation, 3-5
P triggering
PFI, 6-1 about, 10-1
pinouts AO Pause Trigger, 3-6
68-68-pin extended AO, 2-5 AO Start Trigger, 3-5
68-pin AO, 2-1 digital source, 10-1
I-2 | ni.com
Analog Output Series User Manual
troubleshooting
calculating frequency resolution, B-1
power-on states of the analog output
lines, B-2
update rate, B-2
U
update rate, B-2
W
waveform generation timing signals
AO Pause Trigger, 3-6
AO Sample Clock, 3-7
AO Sample Clock Timebase, 3-9
AO Start Trigger, 3-5
Master Timebase, 3-9
waveform generation timing
summary, 3-5