B&B Electronics PCI-1711 User Manual

Copyright
This documentation and the software included with this product are copyrighted 2001 by Advantech Co., Ltd. All rights are reserved. Advantech Co., Ltd. reserves the right to make improvements in the products described in this manual at any time without notice. No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reliable. However, Advantech Co., Ltd. assumes no responsibility for its use, nor for any infringements of the rights of third parties which may result from its use.
Acknowledgments
PC-LabCard is a trademark of Advantech Co., Ltd. IBM and PC are trademarks of International Business Machines Corporation. MS-DOS, Windows, Microsoft V isual C++ and V isual BASIC are trade-marks of Microsoft Corporation. Intel and Pentium are trademarks of Intel Corporation. Delphi and C++ Builder are trademarks of Inprise Corpora­tion.
CE notification
The PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L, developed by ADVANTECH CO., L TD., has passed the CE test for environmental specifications when shielded cables are used for external wiring. W e recommend the use of shielded cables. This kind of cable is available from Advantech. Please contact your local supplier for ordering information.
On-line Technical Support
For technical support and service, please visit our support website at:
http:\\www.advantech.com/support
Part No. 2003171600 1st Edition
Printed in T aiwan June 2001

Contents

1. Introduction....................................................... 1
1.1 Features ............................................................................ 2
1.2 Installation Guide ............................................................. 4
1.3 Software ............................................................................ 6
1.4 Accessories....................................................................... 6
2. Installation ........................................................ 9
2.1 Unpacking ......................................................................... 9
2.2 Driver Installation .......................................................... 1 1
2.3 Hardware Installation .................................................... 13
2.4 Device Setup & Configuration ...................................... 15
2.5 Device Testing................................................................ 19
3. Signal Connections ......................................... 23
3.1 Overview ......................................................................... 23
3.2 I/O Connector ................................................................. 23
3.3 Analog Input Connections .............................................. 26
3.4 Analog Output Connections ........................................... 29
3.5 T rigger Source Connections .......................................... 30
3.6 Field Wiring Considerations .......................................... 31
4. Software Overview ........................................ 33
4.1 Programming Choices .................................................... 33
4.2 DLL Driver Programming Roadmap ............................ 34
5. Calibration ...................................................... 37
5.1 PCI-1710/1710L/1710HG/1710HGL Calibration ......... 38
5.2 PCI-1711/171 1L Calibration .......................................... 41
5.3 PCI-1716/1716L Calibration .......................................... 43
Appendix A. Specifications ................................ 55
Appendix B. Block Diagram............................... 65
C. Register Structure and Format..................... 69
C.1 Overview......................................................................... 69
C.2 I/O Port Address Map ................................................... 70
C.3 Channel Number and A/D Data - BASE+0 and BASE+1
......................................................................................... 76
C.4 Softwar e A/D T rigger - BASE+0 ................................... 77
C.5 A/D Channel Range Setting - BASE+2 ........................... 78
C.6 MUX Control - BASE+4 and BASE+5 ......................... 81
C.7 Control Register - BASE+6........................................... 83
C.8 Status Register - BASE+6 and BASE+7 ...................... 85
C.9 Clear Interrupt and FIFO - BASE+8 and BASE+9 ...... 86
C.10 D/A Output Channel 0 - BASE+10 and BASE+11........ 86
C.1 1 D/A Output Channel 0 - BASE+10 and BASE+1 1........ 87
C.12 D/A Output Channel 1 - BASE+12 and BASE+13 ....... 87
C.13 D/A Output Channel 1 - BASE+12 and BASE+13 ....... 88
C.14 D/A Reference Control -BASE+14 ............................... 89
C.15 Digital I/O Registers - BASE+16 and BASE+17 ......... 90
C.16 Calibration Registers - BASE+18 and BASE+19......... 91
C.17 Board ID Registers - BASE+20 .................................... 92
C.18 Programmable Timer/Counter Registers BASE+24,
BASE+26, BASE+28 and BASE+30 ............................. 92
Appendix D. 82C54 Counter Function............... 93
D.1 The Intel 82C54.............................................................. 93
D.2 Counter Read/Write and Control Registers................. 94
D.3 Counter Operating Modes............................................. 96
D.4 Counter Operations........................................................ 98
Appendix E. PCI-1716/1716L Calibration
(Manually)......................................................... 101
E.1 A/D Calibration ............................................................ 101
E.2 D/A Calibration (for PCI-1716 only) ........................... 103
Appendix F . Screw-terminal Bord.................... 107
F .1 Introduction .................................................................. 107
F .2 Features ........................................................................ 107
F .3 Appli ca tio ns .................................................................. 108
F .4 Board Layout................................................................ 108
F .5 Pin Assignment ............................................................. 109
F .6 T echnical Diagram ....................................................... 1 10

Figures

Figure 1-1: Installation Flow Chart ............................................................5
Figure 2-1: The Setup Screen of Advantech Automation Software .......... 11
Figure 2-2: Different options for Driver Setup .........................................12
Figure 2-3: The device name listed on the Device Manager ......................14
Figure 2-4: The Advantech Device Installation utility program ...............15
Figure 2-5: The I/O Device Installation dialog box....................................16
Figure 2-6: The “Device(s) Found” dialog box ..........................................17
Figure 2-7: The Device Setting dialog box ................................................17
Figure 2-8: The Device Name appearing on the list of devices box ...........18
Figure 2-9: Analog Input tab on the Device T est dialog box ......................19
Figure 2-10: Analog Input tab on the Device Test dialog box ...................... 20
Figure 2-1 1: Analog Output tab on the Device T est dialog box ...................20
Figure 2-13: Di gital Outpu t tab o n the Device T est dialog box....................21
Figure 2-12: D igital Input tab on the Device T est dialog box.......................21
Figure 2-14: Counter tab on the Device Test dialog box..............................22
Figure 3-1: I/O connector pin assignments for the PCI-1710/1710L/
1710HG/1710HGL/1711/171 1L/1716/1716L.......................24
Figure 3-2: Single-ended input channel connection .................................26
Figure 3-3: Differential input channel connection - ground reference
signal source ..........................................................................27
Figure 3-4: Differential input channel connection - floating signal source
................................................................................................28
Figure 3-5: Analog output connections .....................................................29
Figure 5-1: PCI-1710/1710L/1710HG/1710HGL VR assignment .......... 38
Figure 5-2: PCI-171 1/171 1L VR assignment ........................................... 41
Figure 5-3: PCI-1716/1716L VR assignment .......................................... 44
Figure 5-4: Selecting the device you want to calibrate ..............................45
Figure 5-5: Warning message befor e start calibration ............................45
Figure 5-6: Auto A/D Calibration Dialog Box...........................................46
Figure 5-7: A/D C alibra tion P roced ure 1 .................................................46
Figure 5-8: A/D C alibra tion P roced ure 2 .................................................47
Figure 5-9: A/D C alibra tion P roced ure 3 .................................................47
Figure 5-11: Range Selection in D/A Calibration....................................... 48
Figure 5-10: A/D Calibration is finished ....................................................48
Figure 5-12: Calibrating D/A Channel 0 ....................................................49
Figure 5-13: Calibrating D/A Channel 1 ....................................................49
Figure 5-14: D/A Calibration is finished ....................................................50
Figure 5-15: Selecting Input Rage in Manual A/D Calibration panel ........51
Figure 5-16: Adjusting registers ................................................................51
Figure 5-17 & Figure 5-18: Selecting D/A Range and Choosing Output
V oltage ....................................................................................52
Figure 5-19: Adjusting registers ................................................................53

Tables

T able 3-1: I/O Connector Signal Description ......................................... 25
T able C-1: PCI-1710/1710L/1710HG/1710HGL/1711/171 1L/1716/
1716L register format (Part 3) ..............................................72
T able C-1: PCI-1710/1710L/1710HG/1710HGL/1711/171 1L r egister
format (Part 4) ........................................................................73
T able C-1: PCI-1716/1716L register format (Part 5) .............................74
T able C-1: PCI-1710/1710L/1710HG/1710HGL/1711/171 1L/1716/
1716L register format (Part 6) ..............................................75
T able C-3: PCI-1716/1716L Register for A/D data.................................76
T able C-2: PCI-1710/1710L/1710HG/1710HGL/1711/171 1L Register
for channel number and A/D data...........................................76
T able C-4: Register for A/D channel range setting ...............................78
T able C-5: Gain codes for PCI-1710/1710L ............................................79
T able C-6: Gain codes for PCI-1710HG/1710HGL .................................80
T able C-7: Gain codes for PCI-171 1/1711L............................................. 80
T able C-8: Register for multiplexer control ............................................81
T able C-9: Control Register.....................................................................83
T able C-10: Status Register....................................................................... 85
T able C-1 1: Register to clear interrupt and FIFO ....................................86
T able C-12: Register for load D/A channel 0 data .....................................86
T able C-13: Register for D/A channel 0 data.............................................87
T able C-14: Register for load D/A channel 1 data ....................................87
T able C-15: Register for D/A channel 1 data.............................................88
T able C-16: PCI-1710/1710HG/1711 Register for D/A r eference control ..
................................................................................................89
T able C-17: PCI-1716 Register for D/A reference control.......................89
T able C-18: Register for digital input.......................................................90
T able C-19: Register for digital output ..................................................... 90
T able C-20: Calibration Command and Data Register ..............................91
T able C-21: Calibration Command and Data Register ..............................91
T able C-22: Register for Board ID............................................................92
T able E-1: A/D binary code table............................................................102
T able E-2: D/A binary code table............................................................105
Chapter 1

1. Introduction

Thank you for buying the Advantech PCI-1710/1710L/1710HG/ 1710HGL/1711/1711L/1716/1716L PCI card. The Advantech PCI-1710/ 1710L/1710HG/1710HGL/1711/1711L/1716/1716L is a powerful data acquisition (DAS) card for the PCI bus. It features a unique circuit design and complete functions for data acquisition and control, including A/D conversion, D/A conversion, digital input, digital output, and counter/timer. PCI-1710/1710L/1710HG/1710HGL/171 1/ 1711L/1716/1716L provides specific functions for different user requirements:
PCI-1710 12-bit, 100kS/s Multifunction card PCI-1710L 12-bit, 100kS/s Multifunction card w/o analog
output PCI-1710HG 12-bit, 100kS/s High-Gain Multifunction card PCI-1710HGL 12-bit, 100kS/s High-Gain Multifunction card w/o
analog output PCI-1711 12-bit, 100kS/s 16-ch S.E. Inputs Low-cost Multi-
function card PCI-1711L 12-bit, 100kS/s 16-ch S.E. Inputs Low-cost Multi-
function card w/o analog output
Chapter
1
PCI-1716 16-bit, 250kS/s High-Resolution Multifunction card PCI-1716L 16-bit, 250kS/s High-Resolution Multifunction card
w/o analog output
The following sections of this chapter will provide further information about features of the multifunction cards, a Quick Start for installation, together with some brief information on software and accessories for the PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L card.
Advantech Co., Ltd. www.advantech.com
– 1 – PCI-1710 series User’ s Manual
Chapter 1

1.1 Features

The Advantech PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/ 1716L provides users with the most requested measurement and control functions as seen below:
PCI-bus mastering for data transfer16-channel Single-Ended or 8-channel Differential A/D Input12-bit A/D conversion with up to 100 kHz sampling rate (PCI-1710/
Programmable gain for each input channel (only for PCI-1710/
On board samples FIFO buffer:
2-channel D/A Output (PCI-1710/1710HG/1711/1716)16-channel Digital Input
1710L/1710HG/1710HGL/1711/1711L) 16-bit A/D conversion with up to 250 kHz sampling rate (PCI-1716/
1716L)
1710L/1710HG/1710HGL/1716/1716L)
4K for PCI-1710/1710L/1710HG/1710HGL, 1K for PCI-1711/ 1711L1716/1716L
16-channel Digital OutputProgrammable Counter/TimerAutomatic Channel/Gain Scanning
The Advantech PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/ 1716L offers the following main features:
Plug-and-Play Function
The Advantech PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/ 1716L is a Plug-and-Play device, which fully complies with the PCI Specification. Rev 2.1 for PCI-1710/1710L/1710HG/1710HGL/1711/ 1711L, and Rev 2.2 for PCI-1716/1716L. During card installation, all bus­related configurations such as base I/O address and interrupts are conveniently taken care of by the Plug-and-Play function. Y ou have
PCI-1710 series User’ s Manual
– 2 –
Advantech Co., Ltd. www.advantech.com
virtually no need to set any jumpers or DIP switches.
Flexible Input Types and Range Settings
The PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L features an automatic channel/gain scanning circuit. This circuit design controls multiplexer switching during sampling. Users can set different gain values for each channel according to their needs for the corre­sponding range of input voltage. The gain value settings thus selected is stored in the SRAM. This flexible design enables multi-channel and high-speed sampling for high-performance data acquisition.
On-board FIFO (First-In-First-Out) Memory
The PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L pro­vides an on-board FIFO memory buffer, storing up 1 to 1K/4K A/D samples. Users can either enable or disable the interrupt request feature of the FIFO buffer. While the interrupt request for FIFO is enabled, users are allowed to specify whether an interrupt request will be sent with each sampling action or only when the FIFO buffer is half saturated. This useful feature enables a continuous high-speed data transfer with a more predictable performance on operating systems.
Optional D/A Output for Cost Savings
Chapter 1
The PCI-1710/1710HG/1711/1716 goes further with 2 analog output channels, while the PCI-1710L/1710HGL/1711L/1716L doesn’t. It is for users to differentiate between the PCI-1710/1710HG/1711/1716 and the PCI-1710L/1710HGL/1711L/1716L according to what they really need as the best solution with no extra cost.
16 Digital Inputs and 16 Digital Outputs
The PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L pro­vides 16 digital input channels and 16 digital output channels. Users are left with great flexibility to design and customize their applications according to their specific needs.
On-board Programmable Counter
The PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L is equipped with a programmable counter, which can serve as a pacer trigger for A/D conversions. The counter chip is an 82C54 or its equivalent, which incorporates three 16-bit counters on a 10 MHz clock. One of the three counters is used as an event counter for input
Advantech Co., Ltd. www.advantech.com
– 3 – PCI-1710 series User’ s Manual
Chapter 1
channels or pulse generation. The other two are cascaded into a 32-bit timer for pacer triggering.
Note:
Pace trigger determines how fast A/D conversion will be done in pacer
trigger mode.
For detailed specifications of the PCI-1710/1710L/1710HG/1710HGL/
1711/1711L/1716/1716L, please refer to Appendix A, Specifications.

1.2 Installation Guide

Before you install your PCI-1710/1710L/1710HG/1710HGL/1711/1711L/ 1716/1716L card, please make sure you have the following necessary components:
PCI-1710/1710L/1710HG/1710HGL/1711/171 1L/1716/1716L
Multifunction card
PCI-1710/1710L/1710HG/1710HGL/1711/171 1L/1716/1716L
User’s Manual
Driver software Advantech DLL drivers
(included in the companion CD-ROM)
Wiring cable PCL-10168Wiring board PCLD-8710, ADAM-3968Computer Personal computer or workstation with a
PCI-bus slot (running Windows 95/98/NT/
2000)
Some other optional components are also available for enhanced operation:
Application software ActiveDAQ, GeniDAQ or other third-party
software packages
After you get the necessary components and maybe some of the accessories for enhanced operation of your Multifunction card, you can then begin the Installation procedures. Figure 1-1 on the next page provides a concise flow chart to give users a broad picture of the software and hardware installation procedures:
PCI-1710 series User’ s Manual
– 4 –
Advantech Co., Ltd. www.advantech.com
Chapter 1
Advantech Co., Ltd. www.advantech.com

Figure 1-1: Installation Flow Chart

– 5 – PCI-1710 series User’ s Manual
Chapter 1

1.3 Software

Advantech offers a rich set of DLL drivers, third-party driver support and application software to help fully exploit the functions of your PCI­1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L card:
DLL driver (on the companion CD-ROM)
LabVIEW driver
Advantech ActiveDAQ
Advantech GeniDAQ For more information on software, please refer to Chapter 4, Software
Overview. Users who intend to program directly at the registers of the Multifunc-
tion card can have register-level programming as an option. Since register-level programming is often difficult and laborious, it is usually recommended only for experienced programmers. For more information, please refer to Appendix C, Register Structure and Format.

1.4 Accessories

Advantech offers a complete set of accessory products to support the PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L cards. These accessories include:
Wiring Cable
PCL-10168 The PCL-10168 shielded cable is specially designed
for PCI-1710/1710L/1710HG/1710HGL/1711/1711L/
1716/1716L cards to provide high resistance to noise.
T o achieve a better signal quality, the signal wires are
twisted in such a way as to form a “twisted-pair
cable”, reducing cross-talk and noise from other
signal sources. Furthermore, its analog and digital
lines are separately sheathed and shielded to
neutralize EMI/EMC problems.
Wiring Boards
ADAM-3968 The ADAM-3968 is a 68-pin SCSI wiring terminal
module for DIN-rail mounting. This terminal module
PCI-1710 series User’ s Manual
– 6 –
Advantech Co., Ltd. www.advantech.com
Chapter 1
can be readily connected to the Advantech PC-Lab
cards and allow easy yet reliable access to individual
pin connections for the PCI-1710/1710L/1710HG/
1710HGL/1711/1711L/1716/1716L card. PCLD-8710 The PCLD-8710 is a DIN-rail mounting screw-terminal
board to be used with any of the PC-LabCards which
have 68-pin SCSI connectors. The PCLD-8710
features the following functions:
2 additional 20-pin flat-cable connectors for digital input and
output
Reserved space on the board to meet future needs for signal-
conditioning circuits (low-pass filter, voltage attenuator and current shunt)
Industrial-grade screw-clamp terminal blocks for heavy-duty and
reliable connections.
Advantech Co., Ltd. www.advantech.com
– 7 – PCI-1710 series User’ s Manual
Chapter 1
This page is left blank on purpose.
PCI-1710 series User’ s Manual
– 8 –
Advantech Co., Ltd. www.advantech.com
Chapter 2
Chapter

2. Installation

This chapter gives users a package item checklist, proper instructions about unpacking and step-by-step procedures for both driver and card installation. Be noted that using PCI-1716/1716L for example.

2.1 Unpacking

After receiving your PCI-1710/1710L/1710HG/1710HGL/1711/1711L/ 1716/1716L package, please inspect its contents first. The package should contain the following items:
þ PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L card þ Companion CD-ROM (DLL driver included) þ User’s Manual þ Quick Start
The PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L card harbors certain electronic components vulnerable to electrostatic discharge (ESD). ESD could easily damage the integrated circuits and certain components if preventive measures are not carefully paid attention to. Before removing the card from the antistatic plastic bag,
you should take following precautions to ward off possible ESD damage:
2
Touch the metal part of your computer chassis with your hand to
discharge static electricity accumulated on your body. Or one can also use a grounding strap.
Touch the antistatic bag to a metal part of your computer chassis
before opening the bag.
Take hold of the card only by the metal bracket when removing it
out of the bag.
After taking out the card, first you should:
Inspect the card for any possible signs of external damage (loose or
damaged components, etc.). If the card is visibly damaged, please notify our service department or our local sales representative immediately. Avoid installing a damaged card into your system.
Advantech Co., Ltd. www.advantech.com
– 9 – PCI-1710 series User’ s Manual
Chapter 2
Also pay extra caution to the following aspects to ensure proper instal­lation:
Avoid physical contact with materials that could hold static electricity such as plastic, vinyl and Styrofoam.
Whenever you handle the card, grasp it only by its edges. DO NOT TOUCH the exposed metal pins of the connector or the electronic components.
Note:
Keep the antistatic bag for future use. You might need the original bag
to store the card if you have to remove the card from PC or transport it elsewhere.
– 10 –PCI-1710 series User’ s Manual
Advantech Co., Ltd. www.advantech.com

2.2 Driver Installation

We recommend you to install the driver befor e you install the PCI­1710/1710L/1710HG/1710HGL/1711/171 1L/1716/1716L card into your system, since this will guarantee a smooth installation process.
The 32-bit DLL driver Setup program for the PCI-1710/1710L/1710HG/ 1710HGL/1711/1711L/1716/1716L card is included on the companion CD-ROM that is shipped with your DAS card package. Please follow the steps below to install the driver software:
Step 1: Insert the companion CD-ROM into your CD-ROM drive. Step 2: The Setup program will be launched automatically if you have
the autoplay function enabled on your system. When the Setup Program is launched, you’ll see the following Setup Screen.
Note:
If the autoplay function is not enabled on your computer, use
Windows Explorer or W indows Run command to execute SETUP .EXE on the companion CD-ROM.
Chapter 2

Figure 2-1: The Setup Screen of Advantech Automation Software

Step 3: Select the DLL Drivers option. Step 4: Select the Windows 95/98 or Windows NT or Windows 2000
option according to your operating system. Just follow the installation instructions step by step to complete your DLL driver setup.
Advantech Co., Ltd. www.advantech.com
– 11 – PCI-1710 series User’ s Manual
Chapter 2

Figure 2-2: Different options for Driver Setup

For further information on driver-related issues, an online version of DLL Drivers Manual is available by accessing the following path:
Start/Programs/Advantech Driver for 95 and 98 (or for NT/2000)/ Driver Manual
– 12 –PCI-1710 series User’ s Manual
Advantech Co., Ltd. www.advantech.com

2.3 Hardware Installation

Note:
Make sure you have installed the driver first before you install the card
(please refer to 2.2 Driver Installation) After the DLL driver installation is completed, you can now go on to
install the PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L card in any PCI slot on your computer. But it is suggested that you should refer to the computer user manual or related documentations if you have any doubt. Please follow the steps below to install the card on your system.
Step 1: Turn off your computer and unplug the power cord and
cables. TURN OFF your computer before installing or remov­ing any components on the computer.
Step 2: Remove the cover of your computer. Step 3: Remove the slot cover on the back panel of your computer. Step 4: Touch the metal part on the surface of your computer to
neutralize the static electricity that might be on your body.
Step 5: Insert the 1710/1710L/1710HG/1710HGL/1711/1711L/1716/
1716L card into a PCI slot. Hold the card only by its edges and carefully align it with the slot. Insert the card firmly into place. Use of excessive force must be avoided, otherwise the card might be damaged.
Step 6: Fasten the bracket of the PCI card on the back panel rail of the
computer with screws.
Step 7: Connect appropriate accessories (68-pin cable, wiring termi-
nals, etc. if necessary) to the PCI card.
Step 8: Replace the cover of your computer chassis. Re-connect the
cables you removed in step 2.
Step 9: Plug in the power cord and turn on the computer .
Chapter 2
Note:
In case you installed the card without installing the DLL driver first,
Windows 95/98 will recognize your card as an “unknown device” after rebooting, and will prompt you to provide the necessary driver. You should ignore the prompting messages (just click the Cancel button) and set up the driver according to the steps described in 2.2 Driver
Installation.
Advantech Co., Ltd. www.advantech.com
– 13 – PCI-1710 series User’ s Manual
Chapter 2
After the PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L card is installed, you can verify whether it is properly installed on your system in the Device Manager:
1. Access the Device Manager through Control Panel/System/Device
Manager.
2. The device name of the PCI-1710/1710L/1710HG/1710HGL/1711/
1711L/1716/1716L should be listed on the Device Manager tab on the System Property Page.

Figure 2-3: The device name listed on the Device Manager

Note:
If your card is properly installed, you should see the device name of
your card listed on the Device Manager tab. If you do see your device name listed on it but marked with an exclamation sign “!”, it means your card has not been correctly installed. In this case, remove the card device from the Device Manager by selecting its device name and press the Remove button. Then go through the driver installation process again.
After your card is properly installed on your system, you can now configure your device using the Device Installation Program that has itself already been installed on your system during driver setup. A complete device installation procedure should include device setup, configuration and testing. The following sections will guide you through the Setup, Configuration and Testing of your device.
– 14 –PCI-1710 series User’ s Manual
Advantech Co., Ltd. www.advantech.com

2.4 Device Setup & Configuration

The Device Installation program is a utility that allows you to set up, configure and test your device, and later stores your settings on the system registry. These settings will be used when you call the APIs of Advantech 32-bit DLL drivers.
Setting Up the Device
Step 1: To install the I/O device for your card, you must first run the
Device Installation program (by accessing Start/Programs/
Advantech Driver for 95 and 98 (or for NT/2000)/Device Installation).
Chapter 2

Figure 2-4: The Advantech Device Installation utility program

Step 2: On the Device Installation program window, select the Setup
menu item on the menu bar, and click the Device command (Figure 2-4) to bring up the I/O Device Installation dialog box (Figure 2-5). Y ou can then view the device(s) already installed on your system (if any) on the Installed Devices list box. Since you haven’t installed any device yet, you might see a blank list such as the one on the next page (Figure 2-5).
Advantech Co., Ltd. www.advantech.com
– 15 – PCI-1710 series User’ s Manual
Chapter 2

Figure 2-5: The I/O Device Installation dialog box

Step 3: Scroll down the List of Devices box to find the device that you
wish to install, then click the Add... button to evoke the Device(s) found dialog box such as one shown in Figure 2-6. The Device(s) found dialog box lists all the installed devices of selected option on your system. Select the device you want to configure from the list box and press the OK button. After you have clicked OK, you will see a Device Setting dialog box such as the one in Figure 2-8.
– 16 –PCI-1710 series User’ s Manual
Advantech Co., Ltd. www.advantech.com
Figure 2-6: The “Device(s) Found” dialog box
Configuring the Device
Step 4: On the Device Setting dialog box (Figure 2-7), you can
configure the voltage source either as External or Internal, and specify the voltage output range for the 2 D/A channels.
Chapter 2

Figure 2-7: The Device Setting dialog box

Note:
Users can configure the source of D/A reference voltage either as
Internal or External, and select the output voltage range. When selecting voltage source as Internal, users have two options for the output voltage range : 0 ~ 5 V and 0 ~ 10 V . When selected as External, the output voltage range is determined by the external reference voltage in the following way :
By inputting an external reference voltage: -xV , where |x| <= 10, you will get a output voltage range: 0 to xV .
Advantech Co., Ltd. www.advantech.com
– 17 – PCI-1710 series User’ s Manual
Chapter 2
Step 5: After you have finished configuring the device, click OK and
the device name will appear in the Installed Devices box as seen below:

Figure 2-8: The Device Name appearing on the list of devices box

Note:
As we have noted, the device name “000:PCI-1716 I/O=E000H”
begins with a device number “000”, which is specifically assigned to each card. The device number is passed to the driver to specify which device you wish to control.
If you want to test the card device further, go right to the next section on the Device Testing.
– 18 –PCI-1710 series User’ s Manual
Advantech Co., Ltd. www.advantech.com

2.5 Device Testing

Following through the Setup and Configuration procedures to the last step described in the previous section, you can now proceed to test the device by clicking the Test Button on the I/O Device Installation dialog box (Figure 2-8). A Device T est dialog box will appear accord­ingly:

Figure 2-9: Analog Input tab on the Device Test dialog box

Chapter 2
On the Device Test dialog box, users are free to test various functions of PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L on the
Analog output, Digital input, Digital output or Counter tabs. And the Analog output function only available for 1710/1710HG/1711/1716.
Note:
You can access the Device Test dialog box either by the previous
procedure for the Device Installation Program or simply by accessing
Start/Programs/Advantech Driver for 95 and 98 (or for NT/2000) / Test Utility.
All the functions are performed by software polling method. For high-
speed data acquirement or output, they have to use corresponding VC example like ADINT or ADDMA or ADBMDMA.
Advantech Co., Ltd. www.advantech.com
– 19 – PCI-1710 series User’ s Manual
Chapter 2
Testing Analog Input Function
Click the Analog Input tab to bring it up to the front of the screen. Select the input range for each channel in the Input range drop-down boxes. Configure the sampling rate on the scroll bar. Switch the channels by using the up/down arrow.

Figure 2-10: Analog Input tab on the Device Test dialog box

Testing Analog Output Function (only for PCI-1710/1710HG/
1711/1716)
Click the Analog Output tab to bring it up to the foreground. The Analog Output tab allows you to output quasi-sine, triangle, or square
waveforms generated by the software automatically, or output single values manually. You can also configure the waveform frequency and output voltage range.

Figure 2-11: Analog Output tab on the Device Test dialog box

– 20 –PCI-1710 series User’ s Manual
Advantech Co., Ltd. www.advantech.com
Testing Digital Input Function
Click the Digital Input tab to show forth the Digital Input test panel as seen below. Through the color of the lamps, users can easily discern whether the status of each digital input channel is either high or low.

Figure 2-12: Digital Input tab on the Device Test dialog box

Testing Digital Output Function
Click the Digital Output tab to bring up the Digital Output test panel such as the one seen on the next page. By pressing the buttons on each tab, users can easily set each digital output channel as high or low for the corresponding port.
Chapter 2

Figure 2-13: Digital Output tab on the Device Test dialog box

Advantech Co., Ltd. www.advantech.com
– 21 – PCI-1710 series User’ s Manual
Chapter 2
Testing Counter Function
Click the Counter Tab to bring its test panel forth. The counter channel (Channel 0) offers the users two options: Event counting and Pulse out. If you select Event counting, you need first to connect your clock source to pin CNT0_CLK, and the counter will start counting after the pin CNT0_GA TE is triggered. If you select Pulse Out, the clock source will be output to pin CNT0_OUT. You can configure the Pulse Fre­quency by the scroll bar right below it.

Figure 2-14: Counter tab on the Device Test dialog box

Only after your card device is properly set up, configured and tested, can the device installation procedure be counted as complete. After the device installation procedure is completed, you can safely proceed to the next chapter, Signal Connections.
– 22 –PCI-1710 series User’ s Manual
Advantech Co., Ltd. www.advantech.com
Loading...
+ 88 hidden pages