1 MS/s, 12-bit, 16-ch High- Speed Multifunction Card
PCI-1712/1712L Users manual
PCI-1712/1712L Quick Start
Driver Installation
Hardware Installation
Verifying your Installation
Device Installation
Copyright
2nd Edition
Printed in Taiwan
March
1. Introduction
Contents
2. Installation
3. Signal Connections
Appendix C. Screw-terminal Board
Appendix A. Specification
Appendix B. Block Diagram
6. Calibration
D/A Channel Data for Continuous Output Operation Mode
Digital I/O configuration registers - Write/Read BASE+2A
Digital I/O registers - Write/Read BASE+28
Figures
Figure 6-14 Adjusting registers
Figure 6-5 A/D Calibration Procedure
Figure 6-6 A/D Calibration Procedure
Figure 6-7 A/D Calibration Procedure
Tables
Table D-23 Calibration command
Table D-20 Register for digital I/O configuration
Table D-21 Register for digital I/O configuration
Table D-22 Register for calibration command
Page
PCI-1712 1 MS/s High-Speed Multifunction Card
1.1 Features
1. Introduction
Chapter1
Chapter
q PCI-1712/1712L DAS card q PCI-1712/1712L User’s Manual
1.2 Installation Guide
q Wiring cable
q Wiring board
Chapter
Figure 1-1 Installation Flow Chart
PCI-1712/1712L User’s Manual
Wiring Cable
1.3 Accessories
Wiring Boards
PCI-1712/1712L User’s Manual
Chapter
Chapter2
2. Installation
2.1 Unpacking
Figure 2-1 The Setup Screen of Advantech Automation Software
2.2 Driver Installation
Figure 2-2 Different options for Driver Setup
2.3 Hardware Installation
Step 2 Remove the cover of your computer
Figure 2-3 The device name listed on the Device Manager
Setting Up the Device
2.4 Device Setup & Configuration
Figure 2-4 The Advantech Device Installation utility program
Figure 2-5 The I/O Device Installation dialog box
Figure 2-6 The “Devices Found” dialog box
Figure 2-7 The Device Setting dialog box
Configuring the Device
for unipolar
By inputting an external reference voltage xV, where 0=x=10
you will get a output voltage range
0 to
Figure 2-9 Analog Input tab on the Device Test dialog box
2.5 Device Testing
Testing Analog Input Function
Testing Digital Input Function
Figure 2-10 Analog Input tab on the Device Test dialog box
Figure 2-11 Analog Output tab on the Device Test dialog box
Testing Analog Output Function PCI-1712 only
Testing Counter Function
Figure 2-12 Digital Input tab on the Device Test dialog box
Figure 2-13 Digital Output tab on the Device Test dialog box
Testing Digital Output Function
configure the Pulse Frequency by the scroll bar right below it
Figure 2-14 Digital output tab on the Device Test dialog box
Chapter3
3. Signal Connections
3.2 I/O Connector
3.1 Overview
Pins 20, 22~25, 54, 56~59 are not defined on PCI-1712L
Figure 3-1 I/O connector pin assignments for the PCI-1712/1712L
PCI-1712/1712L User’s Manual
Description
Table 3-1 I/O Connector Signal Description Part
Signal Name
Direction
Direction
Table 3-1 I/O Connector Signal Description Part
Signal Name
Reference
Description
Table 3-1 I/O Connector Signal Description Part
Signal Name
Direction
Differential Channel Connections
3.3 Analog Input Connections
Figure 3-2 Single-ended input channel connection
Single-ended Channel Connections
Figure 3-3 Differential input channel connection - ground reference
signal source
source
Figure 3-4 Differential input channel connection - floating signal
Figure 3-5 Analog output connections
3.4 Analog Output Connections
3.5 Field Wiring Considerations
Chapter4
4. Software Overview
4.1 Programming Choices
q Visual C++ q Visual Basic q Delphi q C++ Builder
4.2 DLL Driver Programming Roadmap
q Port Function Group q Communication Function Group
q Temperature Measurement Function Group q Alarm Function Group
q Analog Iutput Function Group q Analog Output Function Group
q Digital Input/Output Function Group q Counter Function Group
PCI-1712/1712L User’s Manual
Chapter
Table 5-1 Gains and Analog Input Range
5.1 Analog Input Features
5. Principles of Operation
Chapter5
q Single Value Acquisition Mode
Figure 5-2 Delay-Trigger Acquisition Mode
Figure 5-1 Post-Trigger Acquisition Mode
Figure 5-3 About-Trigger Acquisition Mode
w Internal A/D sample clock with 16-bit Counter
Figure 5-4 Pre-Trigger Acquisition Mode
w Software trigger w External digital TTL trigger, and
Figure 5-5 PCI-1712/1712L Sample Clock Source
q Analog Threshold Trigger
Table 5-2 Analog Input Data Format
Table 5-3 The corresponding Full Scale values for various Input
Voltage Ranges
5.2 Analog Output Features
channel
Chapter
Analog Output Data Format
5.3 Digital I/O Features
Table 5-4 Analog Output Data Format
Table 5-5 The corresponding Full Scale values for various Output
5.4 Counter/Timer Features
q Logic-low external gate input
q Event counting
Chapter
Chapter
Chapter
Figure 5-6 Frequency measurement
dh= inportaddr21712+0x1c8
Chapter
dl= inportaddr21712+0x1c
Read low byte
Chapter
65535-50000/1K = 15.535 sec
Figure 5-7 Pulse width measurement
CNT2’s gate input is low
Chapter
Show the duty ratio of positive
Chapter
Figure 6-1 PCI-1712/1712L VR1 & TP5
6. Calibration
Chapter6
6.1 VR Assignment
6.2 A/D Calibration
6.3 D/A Calibration
Figure 6-2 Selecting the device you want to calibrate
6.4 Calibration Utility
Figure 6-4 Auto A/D Calibration Dialog Box
Figure 6-3 Warning message before start calibration
A/D channel Auto-Calibration
Step 6 The second A/D calibration procedure is enabled Fig
Figure 6-5 A/D Calibration Procedure
Figure 6-6 A/D Calibration Procedure
Step 5 The first A/D calibration procedure is enabled Fig
Step 8 Auto-calibration is finished. See fig
Figure 6-7 A/D Calibration Procedure
Figure 6-8 A/D Calibration is finished
Step 7 The third A/D calibration procedure is enabled Fig
Figure 6-10 Calibrating D/A Channel
Figure 6-9 Range Selection in D/A Calibration
Step 10 D/A channel 0 calibration is enabled Fig
Step 12 Auto-calibration is finished Fig
Figure 6-11 Calibrating D/A Channel
Figure 6-12 D/A Calibration is finished
Step 11 D/A channel 1 calibration is enabled Fig
A/D channel Manual-Calibration
Figure 6-13 Selecting Input Rage in Manual A/D Calibration panel
Figure 6-14 Adjusting registers
Choosing Output Voltage
Figure 6-15 & Figure 6-16 Selecting D/A Range and
D/A channel Manual-Calibration
Figure 6-17 Adjusting registers
PCI-1712/1712L User’s Manual
Chapter
Appendix A
A. Specification
PCI-1712 User’s Manual
PCI-1712/1712L User’s Manual
APPENDIX A
Analog Output PCI-1712 only
Digital Input /Output
General
Counter/Timer
PCI-1712/1712L User’s Manual
APPENDIX A
A I T R G A O T R G
B. Block Diagram
Appendix B
PCI BUS
PCI-1712/1712L User’s Manual
APPENDIX B
AppendixC
C. 2 Features
C. Screw-terminal Board
C. 1 Introduction
PCI-1712/1712L User’s Manual
C.4 Pin Assignment
Figure C-2 CN2 pin assignments for the PCLD-8712
APPENDIX C
C.5 Single-ended Connections
f3dB = 2π RAn+RAn+1 CDn
C.6 Differential Connections
RDn RAn+RAn+1+RDn
D.2 I/O Port Address Map
D. Register Structure and Format
AppendixD
D.1 Overview
APPENDIX D
Table D-1 PCI-1712/1712L register format Part
PCI-1712/1712L User’s Manual
Table D-1 PCI-1712/1712L register format Part
APPENDIX D
Table D-1 PCI-1712/1712L register format Part
APPENDIX D
PCI-1712/1712L User’s Manual
D.4 Channel and A/D data - Read BASE +
D.3 A/D Single Value Acquisition - Write BASE+0
Table D-2 Register for channel number and A/D data
Table D-3 Register for A/D channel range setting
D.5 A/D Channel Range Setting - Write BASE+2
STR3 ~ STR0
D.6 MUX Control - Write BASE+4
Table D-4 Gain Codes for the PCI-1712/1712L
Table D-5 Register for multiplexer control
APPENDIX D
Analog input acquisition mode register
D.7 A/D Control/Status Register
Write/Read BASE+6
Table D-6 Register for A/D control/status
This bit is used to select the A/D sample clock source
Table D-7 Analog Input Acquisition Mode
Table D-8 Register for clear interrupt and FIFO
D.8 Clear interrupt and FIFO - Write BASE+8
Clear interrupt
Table D-9 Register for interrupt and FIFO status
D. 9 Interrupt and FIFO status - Read BASE+8
Table D-10 Register for D/A control
D.10 D/A control/status register - Write/Read BASE+A
DACLK
Table D-11 Analog output operation mode
DA1U/B
D/A channel 1 unipolar or bipolar output
Table D-12 Register for D/A channel 0/1 data
D.11 D/A Channel 0/1 Data - Write BASE+C/E
Table D-13 Register for 82C54 counter chip
D.12 82C54 Counter Chip 0 - Write/Read BASE+10 to
Table D-14 Register for 82C54 counter chip
D.13 82C54 counter chip 1 - Write/Read BASE+18 to 1E
Cn1 Cn0 = 1, 0, External clock is on connector CNTnCLK n = 0, 1
D.14 Counter gate and clock control/status - Write/ Read BASE+20 to
Table D-15 Register for counter gate and clock control/status
Table D-16 Table of Cn1 to Cn0 register
Gn1 to Gn0 Counter gate source control register n = 0,1,2
Table D-17 Table of Gn1 to Gn0 register
Counter clock edge control register n = 0,1,2
Counter clock set register n = 0,1,2
Counter gate polarity control register n = 0,1,2
Table D-18 Table for CLKSEL1 to CLKSEL0 register
D.15 Digital I/O registers - Write/Read BASE+28
Table D-19 Register for Digital I/O
Table D-22 Register for calibration command
D.16 Digital I/O configuration registers - Write/Read BASE+2A
D.17 Calibration command registers - Write BASE+2C
Table D-20 Register for digital I/O configuration
Calibration data
Table D-23 Calibration command
CM3 to CM0 Calibration command
D7 to D0
DA11 TO DA0 D/A data
Table D-24 Register for D/A channel data