Konica Minolta PCI-1712L, PCI-1712 User Manual

PCI-1712/1712L User's manual
1 MS/s, 12-bit, 16-ch High-
Speed Multifunction Card
Quick StartPCI-1712/1712L
Unpacking
The PCI-1712/1712L package should contain the following items:
þ PCI-1712/1712L card þ Companion CD-ROM disc þ User’s Manual þ Quick Start
Driver Installation
Step 1: Insert the companion disc into your CD-
ROM drive.
Step 2: The Setup Program will be launched
automatically, and you’ll see the following Setup Screen.
Select the DLL Drivers installation option. (If autoplay is not enabled, please use
Windows Explorer or Windows Run command to execute setup.exe on CD­ROM).
Step 3: Select the Windows 95/98 or Windows
NT option according to your operating
system.
Step 4: Follow the installation instructions step
by step to complete your DLL driver setup.
Hardware Installation
Step 1: Turn off your computer and unplug the
power cord and cables
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 of your computer
chassis to discharge static electricity on your body
Step 5: Insert the PCI-1712/1712L card into a
PCI slot. Hold the card only by its edges and carefully align it with the slot, then 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 terminals, 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
V erifying your Installation
w Access the Device Manager through the Control
Panel/System/Device Manager. On the Device Manager tab of the System Property sheet, you
can see the Device Name of the PCI-1712/ 1712L listed on it.
Device Installation
Step 1: Run the Device Installation program (by
accessing Start/Programs/ Advantech Driver for 95 and 98 (or for NT)/Device Installation).
Step 2: On the Device Installation program
window, select the Device menu item on the menu bar, and click the Setup command to bring up the I/O Device Installation dialog box as below:
Step 3: Scroll down the List of Devices box to find
the device that you wish to configure, then click the Add button to bring up the Device Found(s) dialog box as shown below:
Step 6: After your card is properly installed and
configured, you can click the Test button to test your hardware.
Step 7: You can test your hardware by using the
testing utility we supplied. For more detailed information, please refer to Chapter 2 of the User’s Manual .
Step 4: After selecting a device and click OK, the
Device Setting dialog box will pop up. You can configure various settings for the selected device.
Step 5: After you have finished configuring of the
device, click OK and the device will appear in the Installed Devices box as seen below:
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 trademarks 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-1712/1712L, developed by ADV ANTECH 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. 2003171201 2nd Edition
Printed in T aiwan March 2001

Contents

1. Introduction................................................................. 1
1. 1 Features ......................................................................................... 1
1. 2 Installation Guide........................................................................... 3
1 . 3 Accessories ................................................................................... 5
2. Installation .................................................................. 7
2. 1 Unpacking...................................................................................... 7
2. 2 Driver Installation .......................................................................... 8
2. 3 Hardware Installation..................................................................... 9
2. 4 Device Setup & Configuration..................................................... 12
2.5 Device T esting............................................................................. 15
3. Signal Connections .................................................. 19
3. 1 Overview...................................................................................... 19
3.2 I/O Connector .............................................................................. 19
3.3 Analog Input Connections .......................................................... 24
3.4 Analog Output Connections ....................................................... 27
3. 5 Field Wiring Considerations ........................................................ 28
4. Software Overview ................................................... 29
4. 1 Programming Choices .................................................................. 29
4. 2 DLL Driver Programming Roadmap ............................................. 30
5. Principles of Operation ............................................ 33
5.1 Analog Input Features................................................................. 33
5.2 Analog Output Features .............................................................. 40
5. 3 Digital I/O Features...................................................................... 43
5. 4 Counter/Timer Features ............................................................... 4 4
6. Calibration ................................................................. 55
6.1 VR Assignment ............................................................................... 55
6.2 A/D Calibration ............................................................................... 5 6
6.3 D/A Calibration ............................................................................... 5 7
6.4 Calibration Utility ............................................................................ 5 8
Appendix A. Specification............................................ 69
Appendix B. Block Diagram ........................................ 73
Appendix C. Screw-terminal Board............................. 75
C. 1 Introduction ................................................................................. 7 5
C. 2 Features ....................................................................................... 7 5
C. 3 Board Layout ............................................................................... 7 5
C.4 Pin Assignment ........................................................................... 76
C.5 Single-ended Connections........................................................... 77
C . 6 Differential Connections .............................................................. 7 8
Appendix D. Register Structure and Format .............. 79
D. 1 Overview...................................................................................... 79
D.2 I/O Port Address Map ................................................................. 79
D. 3 A/D Single Value Acquisition — Write BASE+0 ......................... 8 3
D.4 Channel and A/D data — Read BASE + 0 ................................... 83
D. 5 A/D Channel Range Setting — W rite BASE+2............................ 84
D. 6 MUX Control — Write BASE+4 .................................................. 85
D. 7 A/D Control/Status Register — Write/Read BASE+6.................. 87
D. 8 Clear interrupt and FIFO — Write BASE+8 ................................. 89
D. 9 Interrupt and FIFO status — Read BASE+8 ................................ 9 0
D.10 D/A control/status register — Write/Read BASE+A .................. 9 1
D.11 D/A Channel 0/1 Data — Write BASE+C/E ................................. 93
D.12 82C54 Counter Chip 0 — Write/Read BASE+10 to 16 .................. 9 4
D.13 82C54 counter chip 1 — Write/Read BASE+18 to 1E................... 95
D.14 Counter gate and clock control/status — Write/ Read BASE+20
to 26 ............................................................................................. 96
D.15 Digital I/O registers — Write/Read BASE+28.............................. 99
D.16 Digital I/O configuration registers — Write/Read BASE+2A .... 1 0 0
D.17 Calibration command registers — Write BASE+2C ................... 1 0 0
D.18 D/A Channel Data for Continuous Output Operation Mode —
Write BASE+30 .......................................................................... 102

Figures

Figure 2-1: The Setup Screen of Advantech Automation Software ....... 8
Figure 2-2: Different options for Driver Setup ....................................... 9
Figure 2-3: The device name listed on the Device Manager ............... 11
Figure 2-4: The Advantech Device Installation utility program ............ 12
Figure 2-5: The I/O Device Installation dialog box .............................. 12
Figure 2-6: The Device(s) Found dialog box .................................... 13
Figure 2-7: The Device Setting dialog box ......................................... 13
Figure 2-8: The Device Name appearing on the list of devices box .... 14
Figure 2-9: Analog Input tab on the Device Test dialog box ............... 15
Figure 2-10: Analog Input tab on the Device Test dialog box ............... 16
Figure 2-11: Analog Output tab on the Device Test dialog box ............ 16
Figure 2-12: Digital Input tab on the Device Test dialog box ................ 17
Figure 2-13: Digital Output tab on the Device Test dialog box.............. 17
Figure 2-14: Digital output tab on the Device Test dialog box .............. 18
Figure 3-1: I/O connector pin assignments for the PCI-1712/1712L ... 20
Figure 3-2: Single-ended input channel connection ........................... 24
Figure 3-3: Differential input channel connection - ground reference
signal source .................................................................. 25
Figure 3-4: Differential input channel connection - floating signal
source ............................................................................ 26
Figure 3-5: Analog output connections.............................................. 27
Figure 5-1: Post-Trigger Acquisition Mode ........................................ 35
Figure 5-2: Delay-Trigger Acquisition Mode ....................................... 35
Figure 5-3: About-Trigger Acquisition Mode ...................................... 36
Figure 5-4: Pre-Trigger Acquisition Mode .......................................... 37
Figure 5-5: PCI-1712/1712L Sample Clock Source ........................... 38
Figure 5-6: Frequency measurement ................................................ 49
Figure 6-1: PCI-1712/1712L VR1 & TP5 ............................................ 55
Figure 6-2: Selecting the device you want to calibrate....................... 58
Figure 6-3: Warning message before start calibration ....................... 59
Figure 6-4: Auto A/D Calibration Dialog Box ..................................... 59
Figure 6-5: A/D Calibration Procedure 1 ............................................ 60
Figure 6-6: A/D Calibration Procedure 2 ............................................ 60
Figure 6-7: A/D Calibration Procedure 3 ............................................ 61
Figure 6-8: A/D Calibration is finished ............................................... 61
Figure 6-9: Range Selection in D/A Calibration ................................. 62
Figure 6-10: Calibrating D/A Channel 0 ............................................... 62
Figure 6-11: Calibrating D/A Channel 1 ............................................... 63
Figure 6-12: D/A Calibration is finished ............................................... 63
Figure 6-13: Selecting Input Rage in Manual A/D Calibration panel ..... 64
Figure 6-14: Adjusting registers .......................................................... 65
Figure 6-15: Selecting D/A Range and ................................................ 66
Figure 6-16: Selecting D/A Range and ................................................ 66
Figure 6-17: Adjusting registers .......................................................... 67
Figure C-1: PCLD-8712 board layout ................................................. 75
Figure C-2: CN2 pin assignments for the PCLD-8712 ........................ 76

Tables

Table 3-1: I/O Connector Signal Description (Part 1) ........................ 21
Table 3-1: I/O Connector Signal Description (Part 2) ........................ 22
Table 3-1: I/O Connector Signal Description (Part 3) ........................ 23
Table 5-1: Gains and Analog Input Range ........................................ 33
Table 5-2: Analog Input Data Format ............................................... 39
Table 5-3: The corresponding Full Scale values for various Input
Voltage Ranges............................................................... 39
Table 5-4: Analog Output Data Format ............................................ 43
Table 5-5: The corresponding Full Scale values for various Output
Voltage Ranges............................................................... 43
Table D-1: PCI-1712/1712L register format (Part 1) .......................... 80
Table D-1: PCI-1712/1712L register format (Part 2) .......................... 81
Table D-1: PCI-1712/1712L register format (Part 3) .......................... 82
Table D-2: Register for channel number and A/D data ...................... 83
Table D-3: Register for A/D channel range setting ............................ 84
Table D-4: Gain Codes for the PCI-1712/1712L ................................ 85
Table D-5: Register for multiplexer control ........................................ 85
Table D-6: Register for A/D control/status ........................................ 87
Table D-7: Analog Input Acquisition Mode ........................................ 88
Table D-8: Register for clear interrupt and FIFO ............................... 89
Table D-9: Register for interrupt and FIFO status ............................. 90
Table D-10: Register for D/A control ................................................... 91
Table D-11: Analog output operation mode ......................................... 92
Table D-12: Register for D/A channel 0/1 data ................................... 93
Table D-13: Register for 82C54 counter chip 0 ................................... 94
Table D-14: Register for 82C54 counter chip 1 ................................... 95
Table D-15: Register for counter gate and clock control/status ........... 96
Table D-16 : Table of Cn1 to Cn0 register ............................................ 96
Table D-17: Table of Gn1 to Gn0 register............................................ 97
Table D-18: Table for CLK_SEL1 to CLK_SEL0 register ..................... 99
Table D-19: Register for Digital I/O ..................................................... 99
Table D-20: Register for digital I/O configuration ............................... 100
Table D-21: Register for digital I/O configuration ............................... 100
Table D-22: Register for calibration command .................................. 100
Table D-23: Calibration command .................................................... 101
Table D-24: Register for D/A channel data ....................................... 102
Chapter 1
Chapter

1. Introduction

Thank you for buying the Advantech PCI-1712/1712L PCI card. The PCI-1712/1712L is a powerful high-speed multifunction DAS card for PCI bus. It features a 1MHz 12-bit A/D converter, an on-board FIFO buffer (storing up to 1K samples for A/D, and up to 32K samples for D/ A conversion). The PCI-1712/1712L provides a total of up to 16 single-
ended or 8 differential A/D input channels or a mixed combination, 2 12-bit D/A output channels, 16 digital input/output channels, and 3 10MHz 16-bit multifunction counter channels. PCI-1712/1712L
provides specific functions for different user requirments:
PCI-1712 1 MS/s High-Speed Multifunction Card PCI-1712L 1 MS/s High-Speed Multifunction Card w/o analog output
The following sections of this chapter will provide further information about features of the DAS card, a Quick Start for installation, together with some brief information on software and accessories for the PCI­1712/1712L card.

1.1 Features

The Advantech PCI-1712/1712L provides users with the most re­quested measurement and control functions as seen below:
q PCI-bus mastering for data transfer q 16 single-ended or 8 differential or combination analog inputs q 12-bit A/D converter, with up to 1 MHz sampling rate q Pre-, post-,about- and delay-trigger data acquisition modes for
analog input channels
q Programmable gain for each analog input channel q Automatic channel/gain/SD/BU scanning q On-board FIFO buffer storing up to 1K samples for A/D and 32K
samples for D/A
q Two 12-bit analog output channels with continuous waveform
output function
q Auto calibration for analog input and output channels q 16 digital Input and output channels q Three 16-bit programmable multifunction counters/timers on 10MHz
clock.
1
The Advantech PCI-1712 offers the following main features:
Advantech Co., Ltd. www.advantech.com
– 1 –
PCI-1712/1712L User’ s Manual
Chapter 1
PCI-Bus Mastering Data Transfer
The PCI-1712/1712L supports PCI-Bus mastering DMA for high-speed data transfer and gap-free analog input and analog output. By setting aside a block of memory in the PC, the PCI-1712/1712L performs bus­mastering data transfers without CPU intervention, setting the CPU free to perform other more urgent tasks such as data analysis and graphic manipulation. The function allows users to run all I/O func­tions simultaneously at full speed without losing data.
Plug-and-Play Function
The PCI-1712/1712L is a Plug-and-Play device, which fully complies with the PCI Specification Rev 2.2. During card installation, you have no need to set any jumpers or DIP switches. Instead, all bus-related configurations such as base I/O address and interrupt are automati­cally done by the Plug-and-Play function.
On-board FIFO Memory
The PCI-1712/1712L provides an on-board FIFO (First In First Out) memory buffer, storing up to 1K samples for A/D and 32K for D/A conversion (PCI-1712 only).
Automatic Channel/Gain/SD*/BU* Scanning
PCI-1712/1712L features an automatic channel/Gain/SD/BU scanning circuit. This circuit controls multiplexer switching during sampling in a way that is much more efficient than software implementation. On­board SRAM stores different gain, SD and BU values for each channel.
This combination lets user perform multi-channel high-speed sampling with different gain, SD and BU values for each channel. SD: Single-Ended/Differential Analog Input
BU: Bipolar/Unipolar
Flexible Triggering and Clocking Capabilities
The PCI-1712/1712L provides flexibility in triggering action, both in the available trigger modes and trigger events for analog input. Y ou can acquire data using post-trigger, pre-trigger, delay-trigger and about- trigger modes. The trigger source could be either analog or digital signal. The analog trigger could originate from a dedicated input pin. In fact, you can designate any of the analog input channels as the analog trigger input. You can also set the analog trigger level within a voltage range from zero to A/D FSR. When trigger signal being digital, you can pace A/D and D/A conversion using software interrupt, internal or external clock.
PCI-1712/1712L User’ s Manual
– 2 –
Advantech Co., Ltd. www.advantech.com
Chapter 1
Continuous Analog Output
The PCI-1712 provides two analog output channels. Both of them can perform continuous waveform output. The analog output can be up to 500kS/s for each analog output channel. Or you can load a cyclic waveform into an on-board FIFO, which will continuously output the cyclic waveform. The on-board FIFO of the PCI-1712 can store 2 to 32K samples for the waveform output.
On-board Programmable Multifunction Counter/Timer
The PCI-1712/1712L is equipped with three programmable multifunc­tion counters/timers, which can serve as a pacer trigger for A/D conversion. The counter chip is an 82C54 or equivalent, which incorporates three 16-bit channels on a 10 MHz clock. And then we enhance the gate and clock input function for more applications, of event counting, pulse generation, duty cycle frequency generation, one shot, frequency measurement and pulse width measurement.
Note:
Pace trigger determines how fast A/D conversion will be done in pacer
trigger mode.
For detailed specifications of the PCI-1712/1712L, please refer to
Appendix A, Specifications.

1.2 Installation Guide

Before you install your PCI-1712/1712L card, please make sure you have the following necessary components:
q PCI-1712/1712L DAS card q PCI-1712/1712L User’s Manual q Driver software Advantech DLL drivers
(included in the companion CD-ROM)
q Wiring cable PCL-10168 q Wiring board PCLD-8712, ADAM-3968 q Computer Personal computer or workstation with a
PCI-bus slot
Some other optional components are also available for enhanced operation:
Advantech Co., Ltd. www.advantech.com
– 3 –
PCI-1712/1712L User’ s Manual
Chapter 1
Figure 1-1: Installation Flow Chart
PCI-1712/1712L User’ s Manual
– 4 –
Advantech Co., Ltd. www.advantech.com
q Application software ActiveDAQ, GeniDAQ or other third-party
software packages
After you have got the necessary components and maybe some accessories for enhanced operation of your DAS card, you can then begin the Installation procedures. Figure 1-1 on the next page pro­vides a concise flow chart to give users a broad picture of the software and hardware installation procedures:

1.3 Accessories

Advantech offers a complete set of accessory products to support the PCI-1712/1712L cards. These accessories include:
Wiring Cable
q PCL-10168 The PCL-10168 shielded cable is specially designed
for PCI-1712/1712L card to provide higher 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 crosstalk and noise from other signal sources. Furthermore, its analog and digital lines are separately sheathed and shielded to neutralize EMI/EMC problems.
Chapter 1
Wiring Boards
q ADAM-3968 The ADAM-3968 is a 68-pin SCSI wiring terminal
module for DIN-rail mounting. This terminal module can be readily connected to the Advantech PC-Lab cards and allow easy yet reliable access to individual pin connections for the PCI-1712/1712L card.
qPCLD-8712 The PCLD-8712 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-8712 features the following functions:
l One additional 20-pin flat-cable connectors for digital input and
output
l Reserved space on the board to meet future needs for signal-
conditioning circuits (low-pass filter, voltage attenuator and current shunt)
Advantech Co., Ltd. www.advantech.com
– 5 –
PCI-1712/1712L User’ s Manual
Chapter 1
l Industrial-grade screw-clamp terminal blocks for heavy-duty and
reliable connections.
PCI-1712/1712L User’ s Manual
– 6 –
Advantech Co., Ltd. www.advantech.com
Chapter 1
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.

2.1 Unpacking

After receiving your PCI-1712/1712L package, please inspect its contents first. The package should contain the following items:
þ PCI-1712/1712L card þ Companion CD-ROM (DLL driver included) þ User’s Manual þ Quick Start
The PCI-1712/1712L 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:
l 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.
l Touch the antistatic bag to a metal part of your computer
chassis before opening the bag.
l 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:
l 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.
Also pay extra caution to the following aspects to ensure proper installation:
2
Avoid physical contact with materials that could hold static electricity such as plastic, vinyl and Styrofoam.
Advantech Co., Ltd. www.advantech.com
– 7 –
PCI-1712/1712L User’ s Manual
Chapter 2
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.

2.2 Driver Installation

We r ecommend you to install the driver before you install the PCI­1712/1712L card into your system, since this will guarantee a smooth installation process.
The 32-bit DLL driver Setup program for the 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 Windows Run command to execute SETUP.EXE on the companion CD-ROM.

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

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

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)/Driver Manual

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-1712/1712L 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 removing any components on the computer.
Advantech Co., Ltd. www.advantech.com
– 9 –
PCI-1712/1712L User’ s Manual
Chapter 2
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 PCI-1712/1712L 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 .
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 reboot, and will prompt you to provide 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 Installa- tion.
After the PCI-1712/1712L 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-1712/1712L should be listed on the
Device Manager tab on the System Property Page.
PCI-1712/1712L User’ s Manual
– 10 –
Advantech Co., Ltd. www.advantech.com
Chapter 2

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.
Advantech Co., Ltd. www.advantech.com
– 11 –
PCI-1712/1712L User’ s Manual
Chapter 2

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)/Device Installa­tion).

Figure 2-4: The Advantech Device Installation utility program

Step 2: On the Device Installation program window, select the Device
menu item on the menu bar, and click the Setup command (Fig. 2-4) to bring up the I/O Device Installation dialog box (Fig. 2-
5). You can then view the device(s) already installed on your system (if any) on the Installed Devices list box.

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

PCI-1712/1712L User’ s Manual
– 12 –
Advantech Co., Ltd. www.advantech.com
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 Fig. 2-6. The Device(s) Found dialog box lists all the installed devices 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 Fig. 2-7.
Figure 2-6: The “Device(s) Found” dialog box
Configuring the Device
Step 4: On the Device Setting dialog box (Fig. 2-7), you can configure
the parameters of A/D, D/A, DIO and Counter functions.
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 then select for the unipolar or the bipolar
Advantech Co., Ltd. www.advantech.com
– 13 –
PCI-1712/1712L User’ s Manual
Chapter 2
output voltage range. When selecting voltage source as Internal, users will have options for the output voltage ranges : 0 ~ 5V and 0 ~ 10V for unipolar; -5 ~ 5V and -10 ~ 10V for bipolar. 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 0<=x<=10, you will get a output voltage range: 0 to xV for unipolar; and -x to xV for bipolar
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 name000:PCI-1712 I/O=6600H”
begins with a device number “000”, which is specifically assigned to each card cifically. 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.
PCI-1712/1712L User’ s Manual
– 14 –
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 (Fig. 2-8). A Device T est dialog box will appear accordingly:

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

On the Device Test dialog box, users are free to test various functions of PCI-1712/1712L on the Analog input, Analog output, Digital input, Digital output or Counter tabs.
Chapter 2
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) /T est Utility.
Testing Analog Input Function
Click the Analog Input tab to bring it up to 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.
Advantech Co., Ltd. www.advantech.com
– 15 –
PCI-1712/1712L User’ s Manual
Chapter 2

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

Testing Analog Output Function (PCI-1712 only)
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

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.
PCI-1712/1712L User’ s Manual
– 16 –
Advantech Co., Ltd. www.advantech.com

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 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

Testing Counter Function
Click the Counter Tab to bring its test panel forth. In the test utility, 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 . Y ou can
Advantech Co., Ltd. www.advantech.com
– 17 –
PCI-1712/1712L User’ s Manual
Chapter 2
configure the Pulse Frequency by the scroll bar right below it.

Figure 2-14: Digital output 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 now safely proceed to the next chpater, Signal Connections.
PCI-1712/1712L User’ s Manual
– 18 –
Advantech Co., Ltd. www.advantech.com
Loading...
+ 84 hidden pages