DAQ DAQe PXI-220x 50M-12258-1000 10
DAQ DAQe PXI-220x 50M-12258-1000 10
2204/2205/2206/2208
64-/96-ch High Performance
Multi-Function Data Acquisition Card
User’s Manual
ii
DAQ/DAQe/PXI-220x Series
Preface
Copyright © 2023 ADLINK Technology Inc.
This document contains proprietary information protected by copy-
right. All rights are reserved. No part of this manual may be repro-
duced by any mechanical, electronic, or other means in any form
without prior written permission of the manufacturer.
Disclaimer
The information in this document is subject to change without prior
notice in order to improve reliability, design, and function and does
not represent a commitment on the part of the manufacturer.
In no event will the manufacturer be liable for direct, indirect,
special, incidental, or consequential damages arising out of the
use or inability to use the product or documentation, even if
advised of the possibility of such damages.
ADLINK is committed to fulfill its social responsi-
bility to global environmental preservation
through compliance with the European Union's
Restriction of Hazardous Substances (RoHS)
directive and Waste Electrical and Electronic
Equipment (WEEE) directive. Environmental
protection is a top priority for ADLINK. We have
enforced measures to ensure that our products,
manufacturing processes, components, and raw
materials have as little impact on the environment as possible.
When products are at their end of life, our customers are encour-
aged to dispose of them in accordance with the product disposal
and/or recovery programs prescribed by their nation or company.
ᘄ㟁ụㄳᅇᨲ
Preface iii
California Proposition 65 Warning
WARNING: This product can expose you to chemicals
including acrylamide, arsenic, benzene, cadmium,
Tris(1,3-dichloro-2-propyl)phosphate (TDCPP), 1,4-Diox-
ane, formaldehyde, lead, DEHP, styrene, DINP, BBP, PVC, and
vinyl materials, which are known to the State of California to cause
cancer, and acrylamide, benzene, cadmium, lead, mercury,
phthalates, toluene, DEHP, DIDP, DnHP, DBP, BBP, PVC, and
vinyl materials, which are known to the State of California to cause
birth defects or other reproductive harm. For more information go
to www.P65Warnings.ca.gov.
Trademarks
Product names mentioned herein are used for identification pur-
poses only and may be trademarks and/or registered trademarks
of their respective companies.
Conventions
Take note of the following conventions used throughout this
manual to make sure that users perform certain tasks and
instructions properly.
iv Preface
DAQ/DAQe/PXI-220x Series
Table of Contents
Preface .................................................................................... iii
1 Introduction ........................................................................ 1
1.1 Features............................................................................... 2
1.2 Applications ......................................................................... 3
1.3 Specifications....................................................................... 4
1.4 Software Support ............................................................... 14
2 Installation ........................................................................ 19
2.1 Contents of Package ......................................................... 19
2.2 Unpacking .......................................................................... 20
2.3 Card Layout ....................................................................... 21
2.4 Switch and Jumper Settings .............................................. 23
2.5 PCI Configuration .............................................................. 27
3 Signal Connections.......................................................... 29
3.1 Connectors Pin Assignment .............................................. 29
3.2 Analog Input Signal Connection ........................................ 37
v
5 Calibration ......................................................................... 95
5.1 Loading Calibration Constants........................................... 95
5.2 Auto-calibration .................................................................. 96
5.3 Saving Calibration Constants............................................. 96
vi
DAQ/DAQe/PXI-220x Series
List of Tables
Table 1-1: Programmabel Input Range............................................. 5
Table 1-2: Bandwidth ........................................................................ 6
Table 1-3: System Noise................................................................... 7
Table 1-4: CMRR (DC to 60 Hz) ....................................................... 7
Table 1-5: Settling Time to Full Scale Step....................................... 8
Table 2-1: Board ID SW1 DIP Switch Pin Definitions ..................... 24
Table 3-1: CN1 Pin Assignment for
DAQ/DAQe/PXI-2204/2205/2206 .................................. 30
Table 3-2: CN1 Pin Assignment for DAQ/DAQe/PXI-2208............. 31
Table 3-3: CN2 Pin Assignment for
DAQ/DAQe/PXI-2204/2205/2206 .................................. 32
Table 3-4: CN2 Pin Assignment for DAQ/DAQe/PXI-2208............. 33
Table 3-5: CN1/CN2 Signal Description ......................................... 34
Table 3-6: SSI Connector Pin Assignment ..................................... 35
Table 3-7: SSI Connector Pin Assignment on PXI J2..................... 36
Table 3-8: SSI Connector Legend .................................................. 36
Table 4-1: Bipolar Analog Input Range and Output Digital Code
on DAQ/DAQe/PXI-2204/2208 ...................................... 43
Table 4-2: Unipolar Analog Input Range and Output Digital Code
on DAQ/DAQe/PXI-2204/2208 ...................................... 43
Table 4-3: Bipolar Analog Input Range and Output Digital Code
for DAQ/DAQe/PXI-2205/2206 ...................................... 44
Table 4-4: Unipolar Analog Input Range and Output Digital Code
for DAQ/DAQe/PXI-2205/2206 ...................................... 44
Table 4-5: Bipolar Output Code Table ............................................ 61
Table 4-6: Unipolar Output Code Table .......................................... 62
Table 4-7: Analog Trigger SRC1 (EXTATRIG) Ideal Transfer
Characteristic................................................................. 80
Table 4-8: User-controllable Timing Signals and Functionalities .... 87
Table 4-9: Auxiliary Function Input Signals and Functionalities...... 89
Table 4-10: SSI Timing Signal and Functions................................... 91
List of Figures
Figure 2-1: DAQe-2204/2205/2206/2208 Card Layout ............... 21
Figure 2-2: DAQ-2204/2205/2206/2208 Card Layout ................. 22
Figure 2-3: PXI-2204/2205/2206/2208 Card Layout ................... 22
Figure 2-4: Board ID SW1 DIP Switch ........................................ 23
Figure 2-5: Enable Board ID Configuration ................................. 25
Figure 2-6: DIO Initial Status (JP4) ............................................. 26
Figure 3-1: Floating Source and RSE Input Connections ........... 38
Figure 3-2: Ground-referenced Sources and NRSE Input
Connections.............................................................. 39
Figure 3-3: Ground-referenced Source and Differential Input..... 39
Figure 3-4: Floating Source and Differential Input ...................... 40
Figure 4-1: Synchronous Digital Inputs Block Diagram .............. 42
Figure 4-2: Synchronous Digital Inputs Timing ........................... 42
Figure 4-3: Scan Timing.............................................................. 47
Figure 4-4: Pre-trigger (Trigger occurs after M scans)................ 50
Figure 4-5: Pre-trigger (Trigger with scan in progress) ............... 51
Figure 4-6: Pre-trigger with M_enable=0
(Trigger occurs before M scans)............................... 52
Figure 4-7: Pre-trigger with M_enable=1 .................................... 53
Figure 4-8: Middle-Trigger with M_enable = 1 ............................ 54
Figure 4-9: Middle-Trigger
(Trigger occurs when a scan is in progress)............. 55
Figure 4-10: Post-trigger ............................................................... 56
Figure 4-11: Delay trigger ............................................................. 57
Figure 4-12: Post trigger with Re-trigger....................................... 58
Figure 4-13: Linked List of PCI Address DMA Descriptors ........... 60
Figure 4-14: Typical D/A Timing of Waveform Generation ........... 64
Figure 4-15: Post Trigger Waveform Generation .......................... 65
Figure 4-16: Delay Trigger Waveform Generation ........................ 66
Figure 4-17: Re-triggered Waveform Generation with
Post-Trigger (DLY2_Counter=0)............................... 66
Figure 4-18: Finite Iterative Waveform Generation with
Post-trigger (DLY2_Counter = 0).............................. 67
Figure 4-19: Infinite Iterative Waveform Generation with
Post-trigger (DLY2_Counter = 0).............................. 68
Figure 4-20: Stop Mode I .............................................................. 69
Figure 4-21: Stop Mode II ............................................................. 70
Figure 4-22: Stop Mode III ............................................................ 70
List of Figures ix
Figure 4-23: Mode1 Operation ...................................................... 73
Figure 4-24: Mode2 Operation ...................................................... 73
Figure 4-25: Mode3 Operation ...................................................... 74
Figure 4-26: Mode4 Operation ...................................................... 75
Figure 4-27: Mode5 Operation ...................................................... 76
Figure 4-28: Mode6 Operation ...................................................... 77
Figure 4-29: Mode7 Operation ...................................................... 77
Figure 4-30: Mode8 Operation ...................................................... 78
Figure 4-31: Analog Trigger Block Diagram.................................. 80
Figure 4-32: Below-Low Analog Trigger Condition ....................... 81
Figure 4-33: Above-High Analog Trigger Condition ...................... 81
Figure 4-34: Inside-Region Analog Trigger Condition................... 82
Figure 4-35: High-Hysteresis Analog Trigger Condition................ 83
Figure 4-36: Low-Hysteresis Analog Trigger Condition ................ 84
Figure 4-37: External Digital Trigger ............................................. 85
Figure 4-38: DAQ signals routing.................................................. 86
x List of Figures
DAQ/DAQe/PXI-220x Series
1 Introduction
The DAQ/DAQe/PXI-2204/2205/2206/2208 card is an advanced
data acquisition card based on the 32-bit PCI or PCI Express®
architecture. High performance designs and state-of-the-art tech-
nology make these cards ideal for data logging and signal analysis
applications in medical, process control, etc.
1
1.1 Features
2
DAQ/DAQe/PXI-220x Series
1.2 Applications
Automotive Testing
Cable Testing
Transient signal measurement
ATE
Laboratory Automation
Biotech measurement
3
1.3 Specifications
4
DAQ/DAQe/PXI-220x Series
5
Bandwidth (Typical 25ºC):
6
DAQ/DAQe/PXI-220x Series
System System
Device Input Range Input Range
Noise Noise
±10 V 0.95 LSBrms 0 V to 10 V 1.5 LSBrms
±5 V 1.0 LSBrms 0 V to 5 V 1.6 LSBrms
2205
±2.5 V 1.1 LSBrms 0 V to 2.5 V 1.7 LSBrms
±1.25 V 1.3 LSBrms 0 V to 1.25 V 1.9 LSBrms
±10 V 0.8 LSBrms 0 V to 10 V 0.9 LSBrms
±5 V 0.85 LSBrms 0 V to 5 V 1.0 LSBrms
2206
±2.5 V 0.85 LSBrms 0 V to 2.5 V 1.0 LSBrms
±1.25 V 0.9 LSBrms 0 V to 1.25 V 1.2 LSBrms
Table 1-3: System Noise
Input impedance:
Normal power on: 1 G/100 pF
Power off: 820
Overload: 820
CMRR (DC to 60 Hz, Typical)
7
Settling time to full-scale step (Typical, 25°C):
8
DAQ/DAQe/PXI-220x Series
Time-base source:
Internal 40 MHz or external clock Input (fmax: 40 MHz,
fmin: 1 MHz, 50% duty cycle)
Trigger modes: Post-trigger, delay-trigger, pre-trigger and
middle-trigger
Offset error:
±50mV max. for DAQ/DAQe/PXI-2204/2208
±1mV max. for DAQ/DAQe/PXI-2205/2206
Gain error (relative to calibration reference):
0.6% of reading max. for DAQ/DAQe/PXI-2204/2208
0.05% of reading max. for DAQ/DAQe/PXI-2205/2206
9
Analog Output (AO)
NOTEThe DAQ/DAQe/PXI-2208 card does not support this
function.
Channels: Two-channel analog voltage output
DA converter: LTC7545 or equivalent
Max update rate: 1 MS/s
Resolution: 12-bit
FIFO buffer size:
512 samples per channel when both channels are
enabled for timed DA output
1024 samples when only one channel is used for timed
DA output
Data transfers:
Programmed I/O
Bus-mastering DMA with scatter/gather
Output range: ±10 V, 0 V to 10 V, ±AOEXTREF, 0 to AOEX-
TREF
Settling time: 3 S to 0.5 LSB accuracy
Slew rate: 20 V/µS
Output coupling: DC
Protection: Short-circuit to ground
Output impedance: 0.01 typical
Output driving current: ±5 mA max
Stability: Any passive load, up to 1500 pF
Power-on state: 0V steady-state
Power-on glitch: ±1.5 V/500 µS
Relative accuracy: ±0.5 LSB typical, ±1 LSB max
DNL: ±0.5 LSB typical, ±1.2 LSB max
Offset error: ±1 mV max
Gain error: ±0.05% of output max
10
DAQ/DAQe/PXI-220x Series
11
Analog Trigger (A.Trig)
Source:
All analog input channels
External analog trigger (EXTATRIG)
Level: ±Full-scale, internal; ±10 V external
Resolution: 8-bit
Slope: Positive or negative (software-selectable)
Hysteresis: Programmable
Bandwidth: 400 kHz
External Analog Trigger Input (EXTATRIG)
Input Impedance:
40 k for DAQ/DAQe/PXI-2204/2208
20 k for DAQ/DAQe/PXI-2205/2206
Coupling: DC
Protection: Continuous ±35 V maximum
Digital Trigger (D.Trig)
Compatibility: TTL/CMOS
Response: Rising or falling edge
Pulse Width: 10 ns min
System Synchronous Interface (SSI)
Trigger lines: 7
Stability
Recommended warm-up time: 15 minutes
On-board calibration reference:
Level: 5.000 V
Temperature coefficient: ±2 ppm/C
Long-term stability: 6 ppm/1000 Hr
12
DAQ/DAQe/PXI-220x Series
Physical
Dimensions:
175mm by 107mm for DAQ-/DAQe-2204/2205/2206/
2208
Standard CompactPCI form factor for PXI-2204/2205/
2206/2208
I/O connector: 68-pin female VHDCI type (e.g. AMP-
787254-1)
Power Requirement (typical)
+5 VDC
1.3 A for DAQ/DAQe/PXI-2204
1.2 A for DAQ/DAQe/PXI-2205/2206
950 mA for DAQ/DAQe/PXI-2208
+12 VDC
358 mA for DAQe-2204
344 mA for DAQe-2205
390 mA for DAQe-2206
258 mA for DAQe-2208
+3.3 VDC
815 mA for DAQe-2204
735 mA for DAQe-2205
710 mA for DAQe-2206
815 mA for DAQe-2208
Operating Environment
Ambient temperature: 0 C to 55C
Relative humidity: 10% to 90% non-condensing
Storage Environment
Ambient temperature: -20 C to 80C
Relative humidity: 5% to 95% non-condensing
13
1.4 Software Support
ADLINK provides versatile software drivers and packages to suit
various user approaches to building a system. Aside from pro-
gramming libraries, such as DLLs, for most Windows-based sys-
tems, ADLINK also provides drivers for other application
environments such as LabVIEW. All software can be downloaded
from the ADLINK official website. Commercial software drivers are
protected with licensing authorization codes. Without an authoriza-
tion code, you can install and run the demo version for trial/dem-
onstration purposes for up to two hours. Contact your ADLINK
dealer to purchase a software license. ADLINK Measurement,
Automation & Platform Service (MAPS) is a software service pack-
age designed for data acquisition, automation and PXI platforms.
By leveraging low-level kernel management and a user friendly
API, users can easily manage devices under a Windows environ-
ment and focus on developing applications.
14
DAQ/DAQe/PXI-220x Series
15
ADLINK Connection Explorer (ACE) also provides a ready-to-use
soft-front panel for digitizer products. Clicking the Launch button in
the "Utility" block allows users to control digitizers through the UI
and display the acquired waveform/data on the screen.
16
DAQ/DAQe/PXI-220x Series
17
This page intentionally left blank.
18
DAQ/DAQe/PXI-220x Series
2 Installation
This chapter describes how to install the DAQ/DAQe/PXI-2204/
2205/2206/2208 card. The contents of the package and unpacking
information that you should be aware of are outlined first.
19
2.2 Unpacking
20
DAQ/DAQe/PXI-220x Series
2.3.1 DAQe-2204/2205/2206/2208
21
2.3.2 DAQ-2204/2205/2206/2208
2.3.3 PXI-2204/2205/2206/2208
22
DAQ/DAQe/PXI-220x Series
23
SW1 Pin 1 Pin 2 Pin 3 Pin 4
24
DAQ/DAQe/PXI-220x Series
25
2.4.2 DIO Initial Status (JP4)
The default jumper setting is enabled, making the DIO initial status
low by using a 1K ohm resistor poll down to GND. To disable this
feature, move the jumper cap as shown in the table below.
Disabled
Enabled
26
DAQ/DAQe/PXI-220x Series
2.5.2 Configuration
The board configuration is done on a board-by-board basis for all
PCI boards in the system. Because configuration is controlled by
the system and software, there is no jumper setting required for
base address, DMA, and interrupt IRQ.
The configuration is subject to change with every boot of the sys-
tem as new boards are added or removed.
2.5.3 Troubleshooting
If your system doesn’t boot or if you experience erratic operation
with your PCI board in place, it is likely caused by an interrupt con-
flict. The BIOS Setup may be incorrectly configured. Consult the
BIOS documentation that comes with your system to solve this
problem.
27
This page intentionally left blank.
28
DAQ/DAQe/PXI-220x Series
3 Signal Connections
This chapter describes DAQ/DAQe/PXI-2204/2205/2206/2208
card connectors and the signal connection between the DAQ/
DAQe/PXI-2204/2205/2206/2208 card and external devices.
29
3.1.1 CN1 Connector
30
DAQ/DAQe/PXI-220x Series
31
3.1.2 CN2 Connector
DA0OUT 1 35 AOGND
DA1OUT 2 36 AOGND
AOEXTREF 3 37 AOGND
NC 4 38 NC
DGND 5 39 DGND
EXTWFTRIG 6 40 DGND
EXTDTRIG 7 41 DGND
SSHOUT 8 42 SDI0 / DGND*
RESERVED 9 43 SDI1 / DGND*
RESERVED 10 44 SDI2 / DGND*
AFI1 11 45 SDI3 / DGND*
AFI0 12 46 DGND
GPTC0_SRC 13 47 DGND
GPTC0_GATE 14 48 DGND
GPTC0_UPDOWN 15 49 DGND
GPTC0_OUT 16 50 DGND
GPTC1_SRC 17 51 DGND
GPTC1_GATE 18 52 DGND
GPTC1_UPDOWN 19 53 DGND
GPTC1_OUT 20 54 DGND
EXTTIMEBASE 21 55 DGND
PB7 22 56 PB6
PB5 23 57 PB4
PB3 24 58 PB2
PB1 25 59 PB0
PC7 26 60 PC6
PC5 27 61 PC4
DGND 28 62 DGND
PC3 29 63 PC2
PC1 30 64 PC0
PA7 31 65 PA6
PA5 32 66 PA4
PA3 33 67 PA2
PA1 34 68 PA0
Table 3-3: CN2 Pin Assignment for DAQ/DAQe/PXI-2204/2205/2206
*Pin 42~45 are SDI<0.3> for DAQ/DAQe/PXI-2204; DGND for DAQ/DAQe/PXI-2205/2206
32
DAQ/DAQe/PXI-220x Series
33
CN1/CN2 Connector Signal Description
34
DAQ/DAQe/PXI-220x Series
SSI_TIMEBASE 1 2 DGND
SSI_ADCONV 3 4 DGND
SSI_DAWR / RESERVED* 5 6 DGND
SSI_SCAN_START 7 8 DGND
RESERVED 9 10 DGND
SSI_AD_TRIG 11 12 DGND
SSI_DA_TRIG / RESERVED* 13 14 DGND
RESERVED 15 16 DGND
RESERVED 17 18 DGND
RESERVED 19 20 DGND
Table 3-6: SSI Connector Pin Assignment
*Pin 5 and 13 are reserved for DAQ/PXI-2208.
35
SSI Connector Signal Description on PXI J2:
36
DAQ/DAQe/PXI-220x Series
37
signal provides its own reference grounding point and is suit-
able for ground-referenced signals.
Referenced Single-ended (RSE) Mode
In referenced single-ended mode, all input signals are con-
nected to the ground provided by the DAQ/DAQe/PXI-2204/
2205/2206/2208 card. This is suitable for connections with
floating signal sources. Figure 3-1 shows an illustration. Note
that when more than two floating sources are connected, these
sources will be referenced to the same common ground.
38
DAQ/DAQe/PXI-220x Series
Input Multipexer
AIn Instrumentation
Amplifier
Ground- +
Referenced +
- To A/D
Signal Source
V1 V2 - Converter
Common- AISENSE
mode noise & n = 0, ...,63
Vcm
Ground
potential
39
resistors. In differential input mode, less noise couples into the
signal connections than in single-ended mode.
AIGND
40
DAQ/DAQe/PXI-220x Series
4 Operation Theory
The operation theory of the DAQ/DAQe/PXI-2204/2205/2206/
2208 card functions are described in this chapter. The functions
include the A/D conversion, D/A conversion, digital I/O, and gen-
eral purpose counter/timer. The operation theory can help you
understand how to configure and program the DAQ/DAQe/PXI-
2204/2205/2206/2208 card.
When using an A/D converter, you must know about the properties
of the signal to be measured. You may decide which channel to
use and how to connect the signals to the card. In addition, users
should define and control the A/D signal configurations, including
channels, gains, and polarities (unipolar/bipolar).
The A/D acquisition is initiated by a trigger source and you must
decide how to trigger the A/D conversion. The data acquisition will
start once a trigger condition is matched.
After the end of an A/D conversion, the A/D data is buffered in a
Data FIFO. The A/D data can now be transferred into the system
memory for further processing.
41
SDI<3..0>
SDI<3..0> 16-bit
from CN2 Register
4
AD
From ADC Data
Instrumentation AD<11..0>
Ain FIFO
Amplifier 16
12
AD_conversion
nADCONV
AD_conversion
nADBUSY
42
DAQ/DAQe/PXI-220x Series
Digital
Description Bipolar Analog Input Range
code
Full-scale Range ±10V ±5V ±2.5V ±1.25V —
Least significant bit 4.88mV 2.44mV 1.22mV 0.61mV —
FSR-1LSB 9.9951V 4.9976V 2.4988V 1.2494V 7FFX
Midscale +1LSB 4.88mV 2.44mV 1.22mV 0.61mV 001X
Midscale 0V 0V 0V 0V 000X
Midscale –1LSB -4.88mV -2.44mV -1.22mV -0.61mV FFFX
-FSR -10V -5V -2.5V -1.25V 800X
Table 4-1: Bipolar Analog Input Range and Output Digital Code on DAQ/
DAQe/PXI-2204/2208
Note that the last 4 digital codes are SDI<3..0> and is supported
only on DAQ/DAQe/PXI-2204)
43
4.1.2 DAQ/DAQe/PXI-2005/2006/2016 AI Data Format
The data format of the acquired 16-bit A/D data is 2's Comple-
ment coding. Table 4-3 and Table 4-4 illustrate the valid input
ranges and the ideal transfer characteristics.
Digital
Description Bipolar Analog Input Range
code
Full-scale Range ±10V ±5V ±2.5V ±1.25V —
Least significant bit 305.2 µV 152.6 µV 76.3 µV 38.15 µV —
FSR-1LSB 9.999695V 4.999847V 2.499924V 1.249962V 7FFF
Midscale +1LSB 305.2 µV 152.6 µV 76.3 µV 38.15 µV 0001
Midscale 0V 0V 0V 0V 0000
Midscale -1LSB -305.2 µV -152.6 µV -76.3 µV -38.15 µV FFFF
-FSR -10V -5V -2.5V -1.25V 8000
Table 4-3: Bipolar Analog Input Range and Output Digital Code for DAQ/DAQe/
PXI-2205/2206
Digital
Description Unipolar Analog Input Range
code
Full-scale Range 0V to 10V 0 to +5V 0 to +2.5V 0 to +1.25V —
Least significant bit 152.6 µV 76.3 µV 38.15 µV 19.07 µV —
FSR-1LSB 9.999847V 4.999924V 2.499962V 1.249981V 7FFF
Midscale +1LSB 5.000153V 2.500076V 1.250038V 0.625019V 0001
Midscale 5V 2.5V 1.25V 0.625V 0000
Midscale -1LSB 4.999847V 2.499924V 1.249962V 0.624981V FFFF
Table 4-4: Unipolar Analog Input Range and Output Digital Code for DAQ/DAQe/
PXI-2205/2206
44
DAQ/DAQe/PXI-220x Series
45
4.1.4 Programmable Scan Acquisition Mode
Scan Timing and Procedure
It is recommended that you use this mode if your applications
need a fixed and precise A/D sampling rate. You can accu-
rately program the period between conversions of individual
channels. There are at least four counters which need to be
specified:
SI_counter (24-bit): Specify the Scan Interval = SI_counter /
Timebase
SI2_counter (16-bit): Specify the data Sampling Interval =
SI2_counter/Timebase
PSC_counter (24-bit): Specify Post Scan Counts after a trig-
ger event
NumChan_counter (9-bit): Specify the number of samples
per scan
The acquisition timing and the meanings of the 2 counters are
illustrated in Figure 4-3.
TIMEBASE Clock Source
In scan acquisition mode, all the A/D conversions start on the
output of counters, which use TIMEBASE as the clock source.
By software you can specify the TIMEBASE to be either an
internal clock source (onboard 40 MHz clock) or an external
clock input (EXTTIMEBASE) on CN2 connector. The external
TIMEBASE is useful when you want to acquire data at rates
not available with the internal A/D sample clock. The external
clock source should generate TTL-compatible continuous
clocks and with a maximum frequency of 40 MHz while the
minimum should be 1 MHz. Refer to section 4.6 for information
on user-controllable timing signals.
46
DAQ/DAQe/PXI-220x Series
Scan_start
AD_conversion
Scan_in_progress
(SSHOUT)(pin8 on CN2)
Acquisition_in_progress
There are four trigger modes to start the scan acquisition. Refer to
section 4.1 for details. The data transfer mode is discussed in the
following section.
The maximum A/D sampling rate is 3 MHz for DAQ/DAQe/PXI-
2204/2208, 500 kHz for DAQ/DAQe/PXI-2205, and 250 kHz for
DAQ/DAQe/PXI-2206. Therefore, the minimum setting of
NOTE:
SI2_counter is 14 for DAQ/DAQe/PXI-2204/2208, 80 for DAQ/
DAQe/PXI-2205, and 160 for DAQ/DAQe/PXI-2206 while using
the internal TIMEBASE.
The scan interval may not be smaller than the product of the
data sampling interval and the NumChan_counter value. The
relationship can be represented as: SI_counter>=SI2_counter
* NumChan_counter.
47
Scan with SSH
You can send the SSHOUT signal on CN2 to external S&H cir-
cuits to sample and hold all signals if you want to simultane-
ously sample all channels in a scan, as illustrated in Figure 4-3.
The DAQ/DAQe/PXI-2208 does not support this function.
48
DAQ/DAQe/PXI-220x Series
49
Pre-Trigger Acquisition
Use pre-trigger acquisition in applications where you want to
collect data before a trigger event. The A/D starts to sample
when you execute the specified function calls to begin the pre-
trigger operation, and it stops when the trigger event occurs.
Users must program the value M in M_counter (16 bits) to
specify the amount of the stored scans before the trigger event.
If an external trigger occurs, the program only stores the last M
scans of data converted before the trigger event, as illustrated
in Figure 4-4, where M_counter = M =3, PSC_counter = 0. The
post scan count is 0 because there is no sampling after the trig-
ger event in pre-trigger acquisition. The total stored amount of
data = Number of enabled channels * M_counter.
Scan_start
AD_conversion
Scan_in_progress
(SSHOUT)(pin8 on CN2)
Acquisition_in_progress
Aquired data
Acquired & stored data
(M scans)
Operation start
50
DAQ/DAQe/PXI-220x Series
Scan_start
Data acquisition
AD_conversion won’t stop until a
scan completes
Scan_in_progress
(SSHOUT)(pin8 on CN2)
Acquisition_in_progress
Aquired data
Acquired & stored data
(M scans)
Operation start
51
When the trigger signal occurs before the first M scans of data are
converted, the amount of stored data could be fewer than the orig-
inally specified amount M_counter, as illustrated in Figure 4-6.
This situation can be avoided by setting M_enable. If M_enable is
set to 1, the trigger signal will be ignored until the first M scans of
data are converted, and it assures the user M scans of data under
pre-trigger mode, as illustrated in Figure 4-7. However, if
M_enable is set to 0, the trigger signal will be accepted any time,
as shown in Figure 4-6. Note that the total amount of stored data
will always be equal to the number in the M_counter because data
acquisition does not stop until a scan is completed.
Trigger
Scan_start
AD_conversion
Scan_in_progress
(SSHOUT)(pin8 on CN2)
Acquisition_in_progress
Operation start
52
DAQ/DAQe/PXI-220x Series
Trigger
Scan_start
AD_conversion
Scan_in_progress
(SSHOUT)(pin2 on CN2)
Acquisition_in_progress
Aquired data
Acquired & stored data
(M scans)
Operation start
NOTE:
53
Middle-Trigger Acquisition
Use middle-trigger acquisition in applications where you want
to collect data before and after a trigger event. The number of
scans (M) stored before the trigger is specified in M_counter,
while the number of scans (N) after the trigger is specified in
PSC_counter.
Like pre-trigger mode, the number of stored data could be less
than the specified amount of data (M+N), if an external trigger
occurs before M scans of data are converted. The M_enable bit
in middle-trigger mode takes the same effect as in pre-trigger
mode. If M_enable is set to 1, the trigger signal will be ignored
until the first M scans of data are converted, and it assures the
user with (M+N) scans of data under middle-trigger mode.
However, if M_enable is set to 0, the trigger signal will be
accepted at any time. Figure 4-8 shows the acquisition timing
with M_enable=1.
54
DAQ/DAQe/PXI-220x Series
55
Post-Trigger Acquisition
Use post-trigger acquisition in applications where you want to
collect data after a trigger event. The number of scans after the
trigger is specified in PSC_counter, as illustrated in Figure 4-
10. The total acquired data length = NumChan_counter *
PSC_counter.
(NumChan_Counter=4, PSC_Counter=3)
Trigger
Scan_start
AD_conversion
Scan_in_progress
(SSHOUT)(pin8 on CN2
Acquisition_in_progress
56
DAQ/DAQe/PXI-220x Series
Trigger
Scan_start
AD_conversion
Scan_in_progress
(SSHOUT)(pin8 on CN2)
Acquisition_in_progress
Delay until
Delay_Counter Acquired & stored data
reaches 0 (3 scans)
Operation start
57
Use post-trigger or delay-trigger acquisition with re-trigger
function in applications where you want to collect data after
several trigger events. The number of scans after each trigger
is specified in PSC_counter, and users could program
Retrig_no to specify the re-trigger numbers. Figure 4-12 illus-
trates an example. In this example, two scans of data is
acquired after the first trigger signal, then the card waits for the
re-trigger signal (re-trigger signals which occur before the first
two scans is completed will be ignored). When the re-trigger
signal occurs, two more scans are performed. The process
repeats until specified amount of re-trigger signals are
detected. The total acquired data length = NumChan_counter *
PSC_counter * Re-trig_no.
Trigger
Scan_start
AD_conversion
Scan_in_progress
(SSHOUT)(pin8 on CN2)
Acquisition_in_progress
Operation start
58
DAQ/DAQe/PXI-220x Series
59
support 64-bit addresses which can be mapped into more than 4
GB of the address space. You can allocate many small size mem-
ory blocks and chain their associative DMA descriptors altogether
by their application programs.
60
DAQ/DAQe/PXI-220x Series
61
Digital Code Analog Output
111111111111 Vref * (4095/4096)
100000000000 Vref * (2048/4096)
000000000001 Vref * (1/4096)
000000000000 0V
Table 4-6: Unipolar Output Code Table
The D/A conversion is initiated by a trigger source. You must
decide how to trigger the D/A conversion. The data output will start
when a trigger condition is met. Before the start of D/A conversion,
D/A data is transferred from the computer’s main memory to a
buffering Data FIFO.
Two D/A conversion modes are available: Software Update and
Timed Waveform Generation. These are described below, includ-
ing the timing, trigger source control, trigger modes, and data
transfer methods. Either mode may be applied to D/A channels
independently. You can simultaneously software update DA CH0
while generating timed waveforms on CH1.
62
DAQ/DAQe/PXI-220x Series
63
4 update counts, 3 iterations
(UC _Counter=4, IC_Counter=3)
Trigger
UC_Counter=4
DAWR
WFG_in_progress
DA update_interval t=
UI_Counter/Timebase
4
2
Output Waveform 0
-4
Operation start
A single waveform
IC_Counter = 3
64
DAQ/DAQe/PXI-220x Series
DAWR
WFG_in_progress
6
4 3 4
Output Waveform 2
0
-2
-4
Operation start
Delay-Trigger Generation
Use delay trigger when you want to delay the waveform gener-
ation after a trigger event. In Table 4-16, DA_DLY1_counter
determines the delay time from the trigger signal to the start of
the waveform generation, assuming the data in the data buffer
are 2V, 4V, 6V, 3V, 0V, -4V, -2V, and 4V. DLY1_counter counts
down on the rising edge of its clock source after the trigger con-
dition is met. When the count reaches 0, the counter stops and
the DAQ/DAQe/PXI-2204/2205/2206/2208 card starts the
waveform generation. This DLY1_Counter is 16-bit wide and
you can set the delay time in units of TIMEBASE (delay time =
DLY1_Counter/TIMEBASE) or in units of update period (delay
time = DLY1_Counter * UI_counter/TIMEBASE), so the delay
time can reach a wider range.
65
Figure 4-16: Delay Trigger Waveform Generation
66
DAQ/DAQe/PXI-220x Series
67
Figure 4-19: Infinite Iterative Waveform Generation with Post-trigger
(DLY2_Counter = 0)
68
DAQ/DAQe/PXI-220x Series
69
In stop mode II, after a software stop command is given, the
waveform generation does not stop until a complete single
waveform is finished. See Figure 4-21. Since the UC_counter
is set to four, the total DA update counts (number of pulses of
DAWR signal) must be a multiple of four (update counts = 20 in
this example).
70
DAQ/DAQe/PXI-220x Series
71
4.4.1 The Basics of Timer/Counter Functions
Each timer/counter has three inputs that can be controlled via
hardware or software. These are clock input (GPTC_CLK), gate
input (GPTC_GATE), and up/down control input
(GPTC_UPDOWN). The GPTC_CLK input provides a clock
source input to the timer/counter. Active edges on the GPTC_CLK
input make the counter increment or decrement. The
GPTC_UPDOWN input controls whether the counter counts up or
down. The GPTC_GATE input is a control signal which acts as a
counter enable or a counter trigger signal under different applica-
tions.
The output of timer/counter is GPTC_OUT. After power-up,
GPTC_OUT is pulled high by a pulled-up resister about 10K
ohms. Then GPTC_OUT goes low after the DAQ/DAQe/PXI-2204/
2205/2206/2208 card is initialized.
All the polarities of input/output signals can be programmed by
software. In this chapter, for easy explanation, all GPTC_CLK,
GPTC_GATE, and GPTC_OUT are assumed to be active high or
rising-edge triggered in the figures.
72
DAQ/DAQe/PXI-220x Series
73
Mode3: Single Pulse-width Measurement
In this mode, the counter counts the pulse-width of the signal
on GPTC_GATE in terms of GPTC_CLK. Initial count can be
loaded from software. After the software-start, the counter
counts the number of active edges on GPTC_CLK when
GPTC_GATE is in its active state. After the completion of the
pulse-width interval on GPTC_GATE, GPTC_OUT outputs
high, then current count value can be read-back by software.
Figure 4-25 illustrates the operation where initial count = 0,
count-up mode.
74
DAQ/DAQe/PXI-220x Series
75
Mode5: Single Triggered Pulse Generation
This function generates a single pulse with programmable
delay and pro-grammable pulse-width following an active
GPTC_GATE edge. You could specify these programmable
parameters in terms of periods of the GPTC_CLK input. Once
the first GPTC_GATE edge triggers the single pulse,
GPTC_GATE takes no effect until the software-start is re-exe-
cuted. Figure 4-27 illustrates the generation of a single pulse
with a pulse delay of two and a pulse-width of four.
76
DAQ/DAQe/PXI-220x Series
77
Mode8: Continuous Gated Pulse Generation
This mode generates periodic pulses with programmable pulse
interval and pulse-width following the software-start.
GPTC_GATE is used to enable/disable counting. When
GPTC_GATE is inactive, the counter halts the current count
value. Figure 4-30 illustrates the generation of two pulses with
a pulse delay of four and a pulse-width of three.
78
DAQ/DAQe/PXI-220x Series
4.5.1 Software-Trigger
This trigger mode does not need any external trigger source. The
trigger asserts right after you execute the specified function calls
to begin the operation. A/D and D/A processes can receive an
individual software trigger.
79
Figure 4-31: Analog Trigger Block Diagram
80
DAQ/DAQe/PXI-220x Series
81
Inside-Region Analog Trigger Condition
Figure 4-34 shows the inside-region analog trigger condition,
the trigger signal is generated when the input analog signal
level falls in the range between the High_Threshold and the
Low_Threshold voltages.
The High_Threshold setting should be always higher than the
Low_Threshold voltage setting.
NOTE:
82
DAQ/DAQe/PXI-220x Series
83
Low-Hysteresis Analog Trigger Condition
Figure 4-36 shows the low-hysteresis analog trigger condition,
the trigger signal is generated when the input analog signal
level is less than the Low_Threshold voltage, and the
High_Threshold voltage determines the hysteresis duration.
Note the High_Threshold setting should be always higher then
the Low_Threshold voltage setting.
84
DAQ/DAQe/PXI-220x Series
85
4.6 User-controllable Timing Signals
86
DAQ/DAQe/PXI-220x Series
You can utilize the flexible timing signals through our software
drivers, then simply and correctly connect the signals with the
DAQ/DAQe/PXI-2204/2205/2206/2208 card. Here is the summary
of the DAQ timing signals and the corresponding functionalities for
DAQ/DAQe/PXI-2204/2205/2206/2208 card.
87
4. ADCONV, the conversion signal to initiate a single con-
version, which could be derived from internal counter,
AFI[0] or SSI_ADCONV. Note that this signal is edge-
sensitive. When using AFI[0] as the external ADCONV
source, each rising edge of AFI[0] would bring an effec-
tive conversion signal. Also note that the AFI[0] signal
should be TTL-compatible and the minimum pulse width
is 20 ns.
5. DA_TRIG, the trigger signal for the D/A operation, which
could be derived from external digital trigger, analog trig-
ger, internal software trigger, and SSI_AD_TRIG. Refer
to section 4.5 for detailed description.
6. DAWR, the update signal to initiate a single D/A conver-
sion, which could be derived from internal counter, AFI[1]
or SSI_DAWR. Note that this signal is edge-sensitive.
When using AFI[1] as the external DAWR source, each
rising edge of AFI[1] would bring an effective update sig-
nal. Also note that the AFI[1] signal should be TTL-com-
patible and the minimum pulse width is 20 ns.
88
DAQ/DAQe/PXI-220x Series
89
intervals for both A/D and D/A operations. Note that once you
choose the TIMEBASE source, both A/D and D/A operations
will be affected because A/D and D/A operations share the
same TIMEBASE.
AFI[0]
Alternatively, you can also directly apply an external A/D con-
version signal to replace the internal ADCONV signal. This is
another way to achieve customized sampling frequencies. The
external ADCONV signal can only be inputted from the AFI[0].
As section 4.1 describes, the SI_counter triggers the genera-
tion of the A/D conversion signal, ADCONV, but when using the
AFI[0] to replace the internal ADCONV signal, the SI_counter
and the internally generated SCAN_START is not effective. By
controlling the ADCONV externally, you can sample the data
according to external events. In this mode, the Trigger signal
and trigger mode settings are not available.
AFI[0] could also be used as SCAN_START signal for A/D
operations. Refer to section 4.1 and section 4.6 for detailed
descriptions of the SCAN_START signal. When using external
signal (AFI[0]) to replace the internal SCAN_START signal, the
pulse width of the AFI[0] must be greater than two time of the
period of Timebase. This feature is suitable for the DAQ-2200/
DAQe-2200/PXI-2200 Series, which can scan multiple chan-
nels data controlled by an external event. Note that the AFI[0]
is a multi-purpose input, and it can only be utilized for one func-
tion at any one time.
AFI[1]
Regarding the D/A operations, users could directly input the
external D/A update signal to replace the internal DAWR sig-
nal. This is another way to achieve customized D/A update
rates. The external DAWR signal can only be inputted from the
AFI[1]. Note that the AFI[1] is a multi-purpose input, and it can
only be utilized for one function at any one time. AFI[1] cur-
rently only has one function. ADLINK reserves it for future
development.
90
DAQ/DAQe/PXI-220x Series
91
is needed. For detailed information of the PXI specifications, refer
to the PXI Specification Revision 2.0 from PXI System Alliance
(www.pxisa.org).
The six internal timing signals could be routed to the SSI or the
PXI trigger bus through software drivers. Refer to section 4.6 for
detailed information on the six internal timing signals. Physically,
the signal routings are accomplished in the FPGA. Cards that are
connected together through the SSI or the PXI trigger bus, will still
achieve synchronization on the six timing signals.
The SSI/PXI Mechanism
We adopt master-slave configuration for SSI/PXI. In a system,
for each timing signal, there shall be only one master, and
other cards are SSI slaves or with SSI function disabled.
For each timing signal, the SSI master does not have to be in a
single card. For example:
We want to synchronize the A/D operation through the
ADCONV signal for four DAQ/DAQe/PXI-2204/2205/2206/
2208 cards. Card 1 is the master, and Card 2, 3, 4 are slaves.
Card 1 receives an external digital trigger to start the post trig-
ger mode acquisition. The SSI setting could be:
Set the SSI_ADCONV signal of Card 1 to be the master.
Set the SSI_ADCONV signals of Card 2, 3, 4 to be the
slaves.
Set external digital trigger for Card 1’s A/D operation.
Set the SI_counter and the post scan counter (PSC) of all
other cards.
Start DMA operations for all cards, so all the cards are wait-
ing for the trigger event.
When the digital trigger condition of Card 1 occurs, Card 1 will
internally generate the ADCONV signal and output this
ADCONV signal to SSI_ADCONV signal of Card 2, 3 and 4
through the SSI/PXI connectors. Thus we can achieve 16-
channel acquisition simultaneously.
You could arbitrarily choose each of the six timing signals as
the SSI master from any one of the cards. The SSI master can
92
DAQ/DAQe/PXI-220x Series
output the internal timing signals to the SSI slaves. With the
SSI, users could achieve better card-to-card synchronization.
Note that when power-up or reset, the DAQ timing signals are
reset to use the internal generated timing signals.
93
This page intentionally left blank.
94
DAQ/DAQe/PXI-220x Series
5 Calibration
This chapter introduces the calibration process to minimize AD
measurement errors and DA output errors.
95
5.2 Auto-calibration
96
DAQ/DAQe/PXI-220x Series
BURN HAZARD
Touching this surface could result in bodily injury.
To reduce risk, allow the surface to cool before
touching.
RISQUE DE BRÛLURES
Ne touchez pas cette surface, cela pourrait
entraîner des blessures.
Pour éviter tout danger, laissez la surface refroidir
avant de la toucher.
Getting Service
Ask an Expert: https://www.adlinktech.com/en/Askanexpert
Getting Service 99