Advantech PCIE-1810 User guide

User Manual
PCIE-1810
12-bit Multifunction Card with PCI Express Bus
Copyright
Part No. 2003181000 Edition 1
Printed in Taiwan October 2013
This documentation and the software included with this product are copyrighted 2013 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
Intel and Pentium are trademarks of Intel Corporation. Microsoft Windows and MS-DOS are registered trademarks of Microsoft Corp.
All other product names or trademarks are properties of their respective owners.
Product Warranty (2 years)
Advantech warrants to you, the original purchaser, that each of its products will be free from defects in materials and workmanship for two years from the date of pur­chase.
This warranty does not apply to any products which have been repaired or altered by persons other than repair personnel authorized by Advantech, or which have been subject to misuse, abuse, accident or improper installation. Advantech assumes no liability under the terms of this warranty as a consequence of such events.
Because of Advantech’s high quality-control standards and rigorous testing, most of our customers never need to use our repair service. If an Advantech product is defec­tive, it will be repaired or replaced at no charge during the warranty period. For out­of-warranty repairs, you will be billed according to the cost of replacement materials, service time and freight. Consult your dealer for more details.
If you think you have a defective product, follow these steps:
1. Collect all the information about the problem encountered. (For example, CPU
speed, Advantech products used, other hardware and software used, etc.) Note anything abnormal and list any onscreen messages you get when the problem occurs.
2. Call your dealer and describe the problem. Have your manual, product, and any
helpful information readily available.
3. If your product is diagnosed as defective, obtain an RMA (return merchandize
authorization) number from your dealer. This allows us to process your return more quickly.
4. Carefully pack the defective product, a fully-completed Repair and Replacement
Order Card and a photocopy proof of purchase date (such as your sales receipt) in a shippable container. A product returned without proof of the purchase date is not eligible for warranty service.
5. Write the RMA number visibly on the outside of the package and ship it prepaid
to your dealer.
PCIE-1810 User Manual ii
CE
This product has passed the CE test for environmental specifications when shielded cables are used for external wiring. We recommend the use of shielded cables. This kind of cable is available from Advantech. Please contact your local supplier for ordering information.
Technical Support and Assistance
1. Visit the Advantech web site at http://support.advantech.com.tw/ where you
can find the latest information about the product.
2. Contact your distributor, sales representative, or Advantech's customer service
center for technical support if you need additional assistance. Have the follow­ing information ready before you call:
Product name and serial numberDescription of your peripheral attachmentsDescription of your software (operating system, version, application software,
etc.)
A complete description of the problemThe exact wording of any error messages
Packing List
Before setting up the system, check that the items listed below are included and in good condition. If any item does not accord with the table, Contact your dealer imme­diately.
PCIE-1810 DA&C card Startup or User Manual Companion DVD-ROM with DAQNavi drivers included
Safety Precaution - Static Electricity
Follow these simple precautions to protect yourself from harm and the products from damage.
1. To avoid electrical shock, always disconnect the power from your PC chassis
before you work on it. Don't touch any components on the CPU card or other cards while the PC is on.
2. Disconnect power before making any configuration changes. The sudden rush
of power as you connect a jumper or install a card may damage sensitive elec­tronic components.
iii PCIE-1810 User Manual
PCIE-1810 User Manual iv
Contents
Chapter 1 Introduction..........................................1
1.1 Features .................................................................................................... 2
1.2 Applications............................................................................................... 3
1.3 Installation Guide ...................................................................................... 3
Figure 1.1 Installation Flow Chart ................................................ 4
1.4 Software Overview .................................................................................... 5
1.5 DAQNavi Device Driver Programming Roadmap ..................................... 5
1.6 Accessories............................................................................................... 6
Chapter 2 Installation............................................7
2.1 Unpacking ................................................................................................. 8
2.2 Driver Installation ...................................................................................... 9
Figure 2.1 Setup Screen of Advantech Automation Software ..... 9
Figure 2.2 Different Options for Driver Setup ............................ 10
2.3 Hardware Installation ............................................................................. 10
2.4 Device Setup & Configuration ................................................................. 12
Figure 2.3 The Device Setting of PCIE-1810............................. 12
Figure 2.4 The Device Setting page .......................................... 13
Figure 2.5 The Device Testing of PCIE-1810 ............................ 13
Chapter 3 Signal Connections ...........................15
3.1 Overview ................................................................................................. 16
3.2 Switch and Jumper Settings.................................................................... 16
Figure 3.1 Connector and Switch Locations .............................. 16
3.2.1 Board ID (SW1)........................................................................... 17
Table 3.1: Board ID Setting (SW1) ............................................ 17
3.2.2 Power On Configuration(JP1) ..................................................... 17
Table 3.2: Power on Configuration after Hot Reset (JP1) ......... 17
3.3 Signal Connections ................................................................................. 18
Figure 3.2 68-pin I/O Connector Pin Assignments .................... 18
3.3.1 I/O Connector Signal Description................................................ 19
Table 3.3: I/O Connector Signal Descriptions ........................... 19
3.3.2 Analog Input Connections........................................................... 20
Figure 3.3 Analog Output Connections...................................... 22
3.3.3 Digital Signal Connections .......................................................... 22
3.4 Field Wiring Considerations .................................................................... 23
Appendix A Specifications ....................................25
A.1 Analog Input ............................................................................................ 26
A.2 Analog Output ......................................................................................... 27
A.3 Digital Input/Output ................................................................................. 27
A.4 Counter/Timer ......................................................................................... 28
A.5 General ................................................................................................... 28
Appendix B Operation Theory...............................29
B.1 Analog Input Operation ........................................................................... 30
B.1.1 A/D Hardware Structure.............................................................. 30
v PCIE-1810 User Manual
B.1.2 Analog Input Ranges and Gains................................................. 31
Table B.1: Gains and Analog Input Range ................................ 31
B.1.3 Analog Input Acquisition Mode ................................................... 31
B.1.4 A/D Trigger Modes...................................................................... 35
B.1.5 A/D SCAN/CONV Clock Source ................................................. 38
B.1.6 A/D Trigger Source ..................................................................... 39
Table B.2: Analog Input Data Format ........................................ 40
Table B.3: Full Scale Values for Input Voltage Ranges............. 40
B.2 PCIE-1810 Analog Output Operation...................................................... 40
B.2.1 Analog Output Ranges ............................................................... 40
B.2.2 Analog Output Operation Modes ................................................ 41
B.2.3 D/A Clock Sources...................................................................... 42
B.2.4 D/A Trigger Sources ................................................................... 42
Table B.4: Analog Output Data Format ..................................... 42
Table B.5: Full Scale Values for Output Voltage Ranges.......... 42
B.3 Digital Input/Output Operation ................................................................ 43
B.4 Counter Input and PWM Input/Output..................................................... 43
PCIE-1810 User Manual vi
Chapter 1

1 Introduction

This chapter introduces PCIE­1810 and and its typical applica­tions. Sections include:
FeaturesApplicationsInstallation GuideSoftware OverviewRoadmapAccessories
The PCIE-1810 is a PCI Express multifunction card for IBM X86 or compatible com­puters. It offers the five most desired measurement and control functions:
12-bit A/D conversion 12-bit D/A conversion Digital input Digital output Timer/counter.
A programmable-gain instrument amplifier lets you acquire different input signals without external signal conditioning. An onboard 4k word FIFO buffer provides high­speed data transfer and predictable performance under Windows. Automatic channel scanning circuitry and onboard SRAM let you perform multiple-channel A/D conver­sion and individual gains for each channel.
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 infor­mation on software and accessories for the PCIE-1810 cards.

1.1 Features

16 single-ended or 8 differential A/D inputs, programmable 12-bit A/D converter, up to 800 kHz sampling rate Instant software polling,1.25 μs high-speed response Double-Clock acquisition operation for analog input Start-, Delay to Start-, Delay to Stop-, Stop-event trigger capable Programmable gain for each input channel, automatic channel/gain scanning 4K onboard ring buffer for analog input and output Two independent 12-bit analog output channels with continuous waveform out-
put function of maximum 500KHz throughput rate
Auto-Calibration for analog input and output channels 24 digital Input and output channels, TTL compatible Two 32-bit independent full function counters BoardID switch
PCIE-1810 offers the following main features:
PCIe-Bus Plug & Play
The PCIE-1810 card uses a PCIe controller to interface the card to the PCI Express bus. The controller fully implements the PCI bus specification Rev 2.2. All configura­tions related to the bus, such as base address and interrupt assignment, are auto­matically controlled by software. No jumper or switch is required for user configuration.
Automatic Channel/Gain Scanning The PCIE-1810 features an automatic channel/gain scanning circuit. This circuit,
instead of your software, controls multiplexer switching during sampling. On-board SRAM stores different gain values for each channel. This combination lets user per­form multi-channel high-speed sampling (up to 500 kHz) for each channel.
Onboard Ring Buffer Memory
There are 4k samples ring buffer for A/D and D/A on PCIE-1810. This is an important feature for faster data transfer and more predictable performance under Windows system.
PCIE-1810 User Manual 2
Onboard Programmable Timer/Counter
The PCIE-1810 features two 32-bit timer/counters to provide one shot out-put, PWM output, periodic interrupt output, time-delay output, and the measurement of fre­quency and pulse width.
BoardID Switch
The PCIE-1810 has a built-in DIP switch that helps define each card’s ID when multi­ple PCIE-1810 cards have been installed on the same PC chassis. The BoardID set­ting function is very useful when building a system with multiple PCIE-1810 cards. With the correct BoardID settings, you can easily identify and access each card dur­ing hardware configuration and software programming.
Note! For detailed specifications and operation theory of the PCIE-1810,
please refer to Appendix A and B.

1.2 Applications

Transducer and sensor measurements Waveform acquisition and analysis Process control and monitoring Vibration and transient analysis
Chapter 1 Introduction

1.3 Installation Guide

Before you install your PCIE-1810 card, please make sure you have the following necessary components:
PCIE-1810 DA&C card PCIE-1810 User Manual Driver software Advantech DAQNavi software (included in the companion DVD-
ROM)
Personal computer or workstation with a PCI Express interface (running Win-
dows 7/XP)
Shielded Cable PCL-10168 or Shielded Cable with Noise Rejecting
PCL-10168H (optional)
Wiring Board ADAM-3968 (optional)
Other optional components are also available for enhanced operation:
DAQ Navi, LabView or other 3rd-party software
After you get the necessary components and maybe some of the accesso-ries for enhanced operation of your multifunction card, you can then begin the installation procedure. Figure 1.1 on the next page provides a concise flow chart to give users a broad picture of the software and hard-ware installation procedures:
3 PCIE-1810 User Manual

Figure 1.1 Installation Flow Chart

PCIE-1810 User Manual 4

1.4 Software Overview

Advantech offers a rich set of DLL drivers, third-party driver support and application software to help fully exploit the functions of your PCIE-1810 card:
Device Drivers (on the companion DVD-ROM) LabVIEW driver Advantech DAQ NAVi Datalogger
Programming choices for DA&C cards
You may use Advantech application software such as Advantech Device Drivers. On the other hand, advanced users can use register-level programming, although this is not recommended due to its laborious and time-consuming nature.
DAQNavi Software
Advantech DAQNavi software includes device drivers and SDK which features a complete I/O function library to help boost your application performance. This soft­ware is included in the companion DVD-ROM at no extra charge and comes with all Advantech DA&C cards. The Advantech DAQNavi software for Windows XP/Vista/7 works seamlessly with development tools such as Visual Studio .Net, Visual C++, Visual Basic and Borland Delphi.
Chapter 1 Introduction

1.5 DAQNavi Device Driver Programming Roadmap

This section will provide you a roadmap to demonstrate how to build an application from scratch using Advantech DAQNavi Device Driver with your favorite develop­ment tools such as Visual Studio .Net, Visual C++, Visual Basic, Delphi and C++ Builder. The step-by-step instructions on how to build your own applications using each development tool will be given in the Device Drivers Manual. Moreover, a rich set of example source code is also given for your reference.
Programming Tools
Programmers can develop application programs with their favorite development tools:
Visual Studio.Net Visual C++ and Visual Basic Delphi C++ Builder
For instructions on how to begin programming works in each development tool, Advantech offers a Tutorial Chapter in the DAQNavi SDK Manual for your reference. Please refer to the corresponding sections in this chapter on the DAQNavi SDK Man- ual to begin your programming efforts. You can also look at the example source code provided for each programming tool, since they can get you very well oriented.
The DAQNavi SDK Manual can be found on the companion DVD-ROM. Alternatively, if you have already installed the Device Drivers on your system, The DAQNavi SDK Manual can be readily accessed through the Start button:
Start/Programs/Advantech Automation/DAQNavi/DAQNavi Manuals/DAQNavi SDK Manual
The example source code could be found under the corresponding installation folder such as the default installation path:
\Advantech\DAQNavi\Examples
5 PCIE-1810 User Manual
For information about using other function groups or other development tools, please refer to the Using DAQNavi SDK chapter in the DAQNavi SDK Manual, or the video tutorials in the Advantech Navigator.
Programming with DAQNavi Device Drivers Function Library
Advantech DAQNavi Device Drivers offer a rich function library that can be utilized in various application programs. This function library consists of numerous APIs that support many development tools, such as Visual Studio .Net, Visual C++, Visual Basic, Delphi and C++ Builder.
According to their specific functions or services, APIs can be categorized into several function groups:
Analog Input Function Group Analog Output Function Group Digital Input/Output Function Group Counter Function Group Port Function Group (direct I/O) Event Function Group
For the usage and parameters of each function, please refer to the Using DAQNavi SDK chapter in the DAQNavi SDK Manual.
Troubleshooting DAQNavi Device Drivers Error
Driver functions will return a status code when they are called to perform a certain task for the application. When a function returns a code that is not zero, it means the function has failed to perform its designated function. To troubleshoot the Device Drivers error, you can pass the error, you can check the error code and error descrip­tion within the Error Control of each function in the DAQNavi SDK Manual.

1.6 Accessories

Advantech offers a complete set of accessory products to support the PCIE-1810 card. These accessories include:
Wiring Cables
PCL-10168-1E 68-pin SCSI Shielded Cable, 1 m PCL-10168-2E 68-pin SCSI Shielded Cable, 2 m PCL-10168H-1E 68-pin SCSI Shielded Cable with Noise Rejecting, 1 m PCL-10168H-2E 68-pin SCSI Shielded Cable with Noise Rejecting, 2 m
Wiring Boards
ADAM-3968 68-pin DIN-rail SCSI Wiring Board
PCIE-1810 User Manual 6
Chapter 2

2 Installation

This chapter provides a packaged item checklist, proper instructions for unpacking and step-by-step procedures for both driver and card installation. Sections include:
UnpackingDriver InstallationHardware InstallationDevice Setup & Configuration

2.1 Unpacking

After receiving your PCIE-1810 package, inspect the contents first. The package should include the following items:
PCIE-1810 card Companion DVD-ROM (Device Drivers included) Startup Manual
The PCIE-1810 card harbor certain electronic components vulnerable to electrostatic discharge (ESD). ESD can easily damage the integrated circuits and certain compo­nents if preventive measures are ignored.
Before removing the card from the antistatic plastic bag, you should take following precautions to ward off possible ESD damage:
Touch the metal part of your computer chassis with your hand to discharge the
static electricity accumulated on your body. Alternatively, one can also use a grounding strap.
Touch the anti-static bag to a metal part of your computer chassis before open-
ing the bag.
Take hold of the card only by the metal bracket when removing it out of the bag.
After taking out the card, you should first:
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. Do not install a dam­aged card into your system.
Also pay extra attention to the followings to ensure a proper installation:
Avoid physical contact with materials that could hold static electricity such as
plastic, vinyl and Styrofoam.
exposed metal pins of the connector or the electronic components.
Note! Keep the anti-static bag for future use. You might need the original bag
to store the card if you have to remove the card from a PC or transport it elsewhere.
PCIE-1810 User Manual 8

2.2 Driver Installation

We recommend you to install the driver before you install the PCIE-1810 card into your system, since this will guarantee a smooth installation process.
The Advantech DAQNavi Device Drivers Setup program for the PCIE-1810 card is included in the companion DVD-ROM that is shipped with your DA&C card package. Please follow the steps below to install the driver software:
1. Insert the companion DVD-ROM into your DVD-ROM drive.
2. The Setup program will be launched automatically if you have the autoplay func-
tion enabled on your system. When the Setup Program is launched, you will 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 autorun.exe on the companion DVD-ROM.
Chapter 2 Installation

Figure 2.1 Setup Screen of Advantech Automation Software

3. Select the Installation option.
4. Select the Legacy SDK and Drivers option to install.
5. Select the Individual Drivers option.
6. Select the PCIE series and the specific device then follow the installation
instructions step by step to complete your device driver installation and setup.
7. Back and select the Windows SDK and Drivers install the Advantech Navigator.
9 PCIE-1810 User Manual

Figure 2.2 Different Options for Driver Setup

For further information on driver-related issues, an online version of the DAQNavi SDK Manual is available by accessing the following path:
Start/Programs/Advantech Automation/DAQNavi/DAQNavi Manuals/DAQNavi SDK Manual

2.3 Hardware Installation

Note! Make sure you have installed the driver first before you install the card (refer to
2.2 Driver Installation)
After the Device Drivers installation is completed you can install the PCIE-1810 card on your computer. However, it is suggested that you refer to the computer’s user manual or related documentation if you have any doubts. Please follow the steps below to install the card onto your system.
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.
2. Remove the cover of your computer.
3. Remove the slot cover on the back panel of your computer.
4. Touch the metal part on the surface of your computer to neutralize the static
electricity that might be on your body.
5. Insert the PCIE-1810 card into the PCI Express interface. 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.
6. Connect appropriate accessories (68-pin SCSI Shielded Cable, wiring termi-
nals, etc. if necessary) to the card.
7. Replace the cover of your computer chassis. Re-connect the cables you
removed in step 2.
8. Plug in the power cord and turn on the computer.
After your card is properly installed on your system, you can now configure your device using the Advantech Navigator Program that has itself already been installed
PCIE-1810 User Manual 10
Loading...
+ 36 hidden pages