NuDAQ PCI-6308 Series User manual

NuDAQ
PCI-6308 Series
Isolated Analog Output Board
User's Guide


@Copyright 1999~2000 ADLINK Technology Inc.
All Rights Reserved.
Manual Rev. 1.11: September 4, 2000
The information in this document is subject to change without prior
notice in order to improve reliability, design and function and does not
represent a commitment on the part of the manufacturer.
In no event will the manufacturer be liable for direct, indirect, special,
incidental, or consequential damages arising out of the use or inability
to use the product or documentation, even if advised of the possibility
of such damages.
This document contains proprietary information protected by copyright.
All rights are reserved. No part of this manual may be reproduced by
any mechanical, electronic, or other means in any form without prior
written permission of the manufacturer.
Trademarks
NuDAQ, DAQBench are registered trademarks of ADLINK Technology
Inc.
Other product names mentioned herein are used for identification
purposes only and may be trademarks and/or registered trademarks of
their respective companies.

Gettingservice fromADLINK
Customer Satisfaction is always the most important thing for ADLINK
Tech Inc. If you need any help or service, please contact us and get it.
ADLINK Technology Inc.
Web Site http://www.adlink.com.tw
http://www.adlinktechnology.com
Sales & Service
NuDAQ [email protected]
NuDAM [email protected]
NuIPC [email protected]
NuPRO [email protected]
Technical
Support
Software [email protected]
TEL +886-2-82265877 FAX +886-2-82265717
Address 9F, No. 166, Jian Yi Road, Chungho City, Taipei, 235 Taiwan, R.O.C.
Please inform or FAX us of your detailed information for a prompt,
satisfactory and constant service.
Detailed Company Information
Company/Organization
Contact Person
E-mail Address
Address
Country
TEL FAX
Web Site Questions
Product Model
„OS:
„Computer Brand:
Environment to Use
„M/B: „CPU:
„Chipset: „Bios:
„Video Card:
„Network Interface Card:
„Other:
Challenge Description
Suggestions for ADLINK

Table of Contents i
Table of Contents
How to Use This Guide..............................................iii
Chapter 1 Introduction...............................................1
1.1 Features .............................................................................2
1.2 Applications .......................................................................2
1.3 Specifications.....................................................................2
1.4 Software Supporting...........................................................4
1.4.1 Programming Library........................................................................4
1.4.2 PCIS-LVIEW: LabVIEWRDriver.....................................................5
1.4.3 PCIS-VEE: HP-VEE Driver..............................................................5
1.4.4 DAQBenchTM: ActiveX Controls......................................................5
1.4.5 DASYLabTM PRO..............................................................................5
1.4.6 PCIS-DDE: DDE Server and InTouchTM......................................6
1.4.7 PCIS-ISG: ISaGRAFTM driver .........................................................6
1.4.8 PCIS-ICL: InControlTM Driver..........................................................6
1.4.9 PCIS-OPC: OPC Server..................................................................6
Chapter 2 Installation................................................7
2.1 What You Have...................................................................7
2.2 Unpacking ..........................................................................8
2.3 PCI-6308V Layout ...............................................................9
2.4 Hardware Installation Outline...........................................10
2.4.1 Hardware configuration..................................................................10
2.4.2 PCIslotselection............................................................................10
2.4.3 Installation Procedures...................................................................10
2.5 Device Installation for Windows Systems.........................10
2.6 Connector Pin Assignment...............................................11
2.7 Jumper Setting.................................................................12
2.8 Termination Board Connection ........................................13
Chapter 3 Registers Format.....................................14
3.1 PCI PnP Registers ............................................................14
3.2 I/O Address Map...............................................................15
3.2 DA Output Register ..........................................................15

ii Table of Contents
3.3 Digital Output Register.....................................................16
3.4 Digital Input Ports.............................................................16
Chapter 4 Operation Theorem.................................17
4.1 Voltage Output .................................................................17
4.1.1 Voltage Output Range Selection..................................................17
4.1.2 DA data format................................................................................17
4.2 Analog Output Status Register.........................................18
4.3 Current Output and Range Control...................................19
4.4 Isolated Digital Output......................................................20
4.5 Isolated Digital Input.........................................................20
Chapter 5 C/C++ Library...........................................21
5.1 Libraries Installation........................................................21
5.2 Programming Guide.........................................................22
5.2.1 Naming Convention........................................................................22
5.2.2 Data Types.......................................................................................22
5.3 _6308_Initial.....................................................................23
5.4 _6308_Software_Reset .....................................................23
5.5 _6308_DA.........................................................................24
5.6 _6308_DA_0_3 .................................................................25
5.7 _6308_DA_4_7 .................................................................26
5.8 _6308_Get_DA_Status .....................................................27
5.9 _6308_DI..........................................................................28
5.10 _6308_DO ........................................................................29
5.11 _6308_I2V_Control...........................................................30
Product Warranty/Service.........................................31

How to Use This Guide iii
How to Use This Guide
This manual is designed to help you use the PCI-6308. It describes
how to modify and control various functions on the PCI-6308 card to
meet your requirements. It is divided into three chapters:
Chapter 1, "Introduction", gives an overview of the product
features, applications, and specifications.
Chapter 2, "Installation", describes how to install the PCI-6308.
The layout of PCI-6308 is shown, the connectors specifications,
and the notes for installation are described.
Chapter 3, "Register Format", describes details on-board register
format. It is very useful to understand the lowest level of
controlling the boards.
Chapter 4, "Operation Theorem", describes more details about the
operation of versatile functions, including DIO and DA systems.
Chapter 5, "C/C++ Library", describes the functions in the DOS
C/C++ Library and Windows 95 DLL.
Chapter 6, "Software Utility", describes how to run the utility
program included in the software CD.


Introduction 1
1
Introduction
The PCI-6308 series products are isolated analog output cards. The
PCI-6308 series includes three cards:
PCI-6308V: Isolated 8-CH voltage output card
PCI-6308A: Isolated 8-CH voltage and current output card
PCI-6304V: Isolated 4-CH voltage output card
The PCI-6308V is high-performance, 12-bit analog output boards with
PCI interface. The PCI-6308V provide 8-CH identical voltage output
channels, each of channel has: (1) bipolar 10V voltage outputs; (2)
unipolar 0~+10V voltage output; and (3) unipolar 0 to user defined
voltage output. The DA chip is the DAC-4814AP that is a state-of-the-
art, fully monotonic, digital to analog converter. This device employs
ultra-stable nichrome (NiCr) thin-film resistors to provide monotonicity,
low distortion, and low differential linearity error over long period of
time.
The PCI-6304V is for large quantity OEM only. It is fully compatible
with PCI-6308V, but with four voltage-output channels only. The
functionality, software interface and detail operation of PCI-6304V is
exactly the same as PCI-6308V. Therefore, there will have no more
description about PCI-6304V in this manual.
The PCI-6308A is the combination of PCI-6308V with an 8-CH current
output extended board called EXP-8A. The EXP-8A board includes 8
precision voltage-to-current converters/transmitters, which convert
voltage output of PCI-6308V to current source output. The EXP-8A is
piggy back on the PCI-6308V. Therefore, the PCI-6308A provides not
only voltage output but also current output. The total number of analog
output channel is still 8.

2Introduction
1.1 Features
ƒƒ32-bit PCI-Bus, Plug and Play, complies with PCI local bus
specification Rev 2.1
ƒƒ8-CH 12-bit voltage output
ƒƒFully isolation protection from PC power to external device
ƒƒ2500Vrms isolation voltage
ƒƒUnipolar or bipolar voltage output range
ƒƒCurrent output available on PCI-6308A,
ƒƒOn board DC-to-DC converter provide voltage and current source
ƒƒ4 Isolated digital input channels
ƒƒ4 Isolated digital output channels
1.2 Applications
ƒƒIndustrial Process Control
ƒƒPressure / Temperature Transmitter
ƒƒCurrent Source for Testing Equipment
ƒƒServo Control
1.3 Specifications
Voltage Output
ƒƒNumbers of channel:
8 channel for PCI-6308V and PCI-6308A
ƒƒConverter: DAC4814AP or equivalent
ƒƒConversion type: Monolithic multiplying
ƒƒResolution: 12-bit no missing code (11-bit guarantee)
ƒƒVoltage output range: (jumper selectable)
ƒBipolar: 10V
ƒUnipolar: 0~10V
ƒUser defined unipolar: 0~ user defined voltage.
ƒƒVoltage output driving capability: 5mA min.
ƒƒSettling time: 16 second (-10V to +10V)
ƒƒDA update time: 90 second for four channels simultaneously
ƒƒGain error: 0.2 % (max, without trimming, with internal 10.0V
reference voltage)

Introduction 3
ƒƒDifferential Linearity Error: 0.002 % Full Scale Range
ƒƒData Transfer: Programmed I/O
ƒƒIsolation voltage: 2500Vrms (photo isolation PC9D10)
ƒƒOutput initial status: 0V (after RESET or POWER-ON)
Current Output
ƒƒNumbers of channel: 8 channel for PCI-6308A
ƒƒCurrent output range: (software programmable)
ƒ0~20mA, 4~20mA, 5~25mA.
ƒƒVoltage to current converter: B.B. XTR110 or equivalent
ƒƒSettling time:17 second (0~20mA)
ƒƒSlew rate: 1.3mA / s
ƒƒNon-linearity: 0.01 % of Span
ƒƒSpan error: 0.3% of initial Span
ƒƒOutput resistance: 10 Ohms maximum
ƒƒOutput initial status: 0mA (after RESET or POWER-ON)
Digital Input
ƒƒNumbers of digital input channel: 4 isolated input channel
ƒƒPhoto isolator: PC814 or equivalent
ƒƒIsolation voltage: 5000Vrms
ƒƒInput voltage: up to 34Vdc
Logic "L": 0~3.0V
Logic "H": 3.2~34V
ƒƒInput resistance: 4.7K@ 0.5W
Digital Output
ƒƒNumbers of digital output channel: 4 isolated output channel
ƒƒPhoto isolator: PC817 or equivalent
ƒƒIsolation voltage: 5000Vrms
ƒƒOutput type: Photo-coupler transistors, open collector up to 35Vdc
ƒƒSink current: 50mA maximum
Power Supply source
ƒƒ+15V output (Pin #7 on CN1):
200mA maximum (for PCI-6308V)
20mA maximum (for PCI-6308A, when all current output channel
is 25mA)
ƒƒ-15V output (Pin #25 on CN1):

4Introduction
200mA maximum (for PCI-6308V)
20mA maximum (for PCI-6308A, when all current output channel
is 25mA)
General Specifications
ƒƒOperating temperature: 0~ 55C
ƒƒStorage temperature: -20~ 80C
ƒƒHumidity: 5 ~95% non-condensing
ƒƒConnector: 37-pin D-sub connector (female)
ƒƒBus interface: 32-bit slave PCI bus
ƒƒPower consumption:
PCI-6308V: +5VDC @ 220mA typical
+12VDC @ 175mA typical
PCI-6308A: +5VDC @ 220mA typical
+12VDC @ 250mA typical
or +12VDC @ 530mA (when all current output
channels are 25mA)
ƒƒPCB Dimension: Half-sized 172 mm x 105 mm
1.4 Software Supporting
ADLINK provides versatile software drivers and packages for users¡¦
different approach to built-up a system. We not only provide
programming library such as DLL for many Windows systems, but also
provide drivers for many software package such as LabVIEWR, HP
VEETM, DASYLabTM, InTouchTM, InControlTM, ISaGRAFTM, and so on.
All the software options are included in the ADLink CD. The non-free
software drivers are protected with serial licensed code. Without the
software serial number, you can still install them and run the demo
version for two hours for demonstration purpose. Please contact with
your dealer to purchase the formal license serial code.
1.4.1 Programming Library
For customers who are writing their own programs, we provide
function libraries for many different operating systems, including:
ƒƒ DOS Library: Borland C/C++ and Microsoft C++, the functions
descriptions are included in this user¡¦s guide
ƒƒ Windows 95 DLL: For VB, VC++, Delphi, BC5, the functions
descriptions are included in this user¡¦s guide
ƒƒ PCIS-DASK: Include device drivers and DLL for Windows 98,
Windows NT and Windows 2000. DLL is binary compatible

Introduction 5
across Windows 98, Windows NT and Windows 2000. That
means all applications developed with PCIS-DASK are
compatible across Windows 98, Windows NT and Windows
2000. The developing environment can be VB, VC++, Delphi,
BC5, or any Windows programming language that allows calls to
a DLL. The user¡¦s guide and function reference manual of PCI-
DASK are in the CD. Please refer the PDF manual files under
\\Manual_PDF\Software\PCIS-DASK
ƒƒ PCIS-DASK/X: Include device drivers and shared library for
Linux. The developing environment can be Gnu C/C++ or any
programming language that allows linking to a shared library.
The user's guide and function reference manual of PCIS-
DASK/X are in the CD. (\Manual_PDF\Software\PCIS-DASK-X.)
The above software drivers are shipped with the board. Please refer
to the ¡§Software Installation Guide¡¨ to install these driver
1.4.2 PCIS-LVIEW: LabVIEWRDriver
PCIS-LVIEW contains the VIs, which are used to interface with NI¡¦s
LabVIEWRsoftware package. The PCIS-LVIEW supports Windows
95/98/NT/2000. The LabVIEWRdrivers are free shipped with the
board. You can install and use them without license. For detail
information about PCIS-LVIEW, please refer to the user¡¦s guide in th
CD.
(\\Manual_PDF\Software\PCIS-LVIEW)
1.4.3 PCIS-VEE: HP-VEE Driver
The PCIS-VEE includes the user objects, which are used to interface
with HP VEE software package. PCIS-VEE supports Windows
95/98/NT. The HP-VEE drivers are free shipped with the board. You
can install and use them without license. For detail information about
PCIS-VEE, please refer to the user¡¦s guide in the CD
(\\Manual_PDF\Software\PCIS-VEE)
1.4.4 DAQBenchTM: ActiveX Controls
We suggest the customers who are familiar with ActiveX controls and
VB/VC++ programming use the DAQBenchTM ActiveX Control
components library for developing applications. The DAQBenchTM is
designed under Windows NT/98. For more detailed information about
DAQBench, please refer to the user¡¦s guide in the CD.
(\\Manual_PDF\Software\DAQBench\DAQBench Manual.PDF)
1.4.5 DASYLabTM PRO
DASYLab is an easy-to-use software package, which provides easy-
setup instrument functions such as FFT analysis. Please contact us to

6Introduction
get DASYLab PRO, which include DASYLab and ADLink hardware
drivers.
1.4.6 PCIS-DDE: DDE Server and InTouchTM
DDE stands for Dynamic Data Exchange specifications. The PCIS-
DDE includes the PCI cards¡¦ DDE server. The PCI-DDE server is
included in the ADLINK CD. It needs license. The DDE server can be
used conjunction with any DDE client under Windows NT.
1.4.7 PCIS-ISG: ISaGRAFTM driver
The ISaGRAF WorkBench is an IEC1131-3 SoftPLC control program
development environment. The PCIS-ISG includes ADLink products¡¦
target drivers for ISaGRAF under Windows NT environment. The
PCIS-ISG is included in the ADLINK CD. It needs license.
1.4.8 PCIS-ICL: InControlTM Driver
PCIS-ICL is the InControl driver which support the Windows NT. The
PCIS-ICL is included in the ADLINK CD. It needs license.
1.4.9 PCIS-OPC: OPC Server
PCIS-OPC is an OPC Server, which can link with the OPC clients.
There are many software packages on the market can provide the
OPC clients now. The PCIS-OPC supports the Windows NT. It needs
license.

Installation 7
2
Installation
This chapter describes how to install the PCI-6308. Please follow the
follow steps to install the PCI-6308 family products.
Check what you have (section 2.1)
Unpacking (section 2.2)
Check the PCB and jumper location(section 2.3)
Install the hardware and setup and jumpers (section 2.4, 2.7)
Install the software drivers and run utility to test (section 2.5)
Cabling with external devices (section 2.6, 2.8)
2.1 What You Have
In addition to this User's Manual, the package includes the following
items:
ƒƒPCI-6308V (or PCI-6308A) Board
ƒƒADLINK CD
ƒƒSoftware Installation Guide
If any of these items is missing or damaged, contact the dealer from
whom you purchased the product. Save the shipping materials and
carton in case you want to ship or store the product in the future.

8Installation
2.2 Unpacking
Your PCI-6308 series card contains sensitive electronic components
that can be easily damaged by static electricity.
The card should be done on a grounded anti-static mat. The operator
should be wearing an anti-static wristband, grounded at the same
point as the anti-static mat.
Inspect the card module carton for obvious damage. Shipping and
handling may cause damage to your module. Be sure there are no
shipping and handing damages on the module before processing.
After opening the card module carton, exact the system module and
place it only on a grounded anti-static surface component side up.
Note: DO NOT APPLY POWER TO THE CARD IF IT HAS BEEN
DAMAGED.
You are now ready to install your PCI-6308 series card.

Installation 9
2.3 PCI-6308V Layout
Figure 2.1 PCI-6308V Layout

10 Installation
2.4 Hardware Installation Outline
2.4.1 Hardware configuration
The PCI cards (or CompactPCI cards) are equipped with plug and play
PCI controller, it can requests base addresses and interrupt according
to PCI standard. The system BIOS will install the system resource based
on the PCI cards¡¦ configuration registers and system parameters (which
are set by system BIOS). Interrupt assignment and memory usage (I/O
port locations) of the PCI cards can be assigned by system BIOS only.
These system resource assignment is done on a board-by-board basis.
It is not suggested to assign the system resource by any other methods.
2.4.2 PCI slot selection
The PCI card can be inserted to any PCI slot without any configuration
for system resource.
2.4.3 Installation Procedures
1. Turn off your computer
2. Turn off all accessories (printer, modem, monitor, etc.) connected
to your computer.
3. Remove the cover from your computer.
4. Setup jumpers on the PCI or CompactPCI card.
5. Select a 32-bit PCI slot. PCI slot are short than ISA or EISA slots,
and are usually white or ivory.
6. Before handling the PCI cards, discharge any static buildup on your
body by touching the metal case of the computer. Hold the edge
and do not touch the components.
7. Position the board into the PCI slot you selected.
8. Secure the card in place at the rear panel of the system.
2.5 Device Installation for Windows Systems
Once Windows 95/98/2000 has started, the Plug and Play function of
Windows system will find the new NuDAQ/NuIPC cards. If this is the first
time to install NuDAQ/NuIPC cards in your Windows system, you will be
informed to input the device information source. Please refer to the
¡Software Installation Guide¡¨ for the steps of installing the device

Installation 11
2.6 Connector Pin Assignment
The pin assignment of PCI-6308V/6308A/6304V are shown in Figure 2.2
DI3
DI2
DI1
DI0
GND
ExtVref
+15V
A.GND
(A6)
V6
A.GND
(A4)
V4
A.GND
(A2)
V2
A.GND
(A0)
V0
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
DO3
DO2
DO1
DO0
GND
-15V
A.GND
(A7)
V7
A.GND
(A5)
V5
A.GND
(A3)
V3
A.GND
(A1)
V1
(20)
(21)
(22)
(23)
(24)
(25)
(26)
(27)
(28)
(29)
(30)
(31)
(32)
(33)
(34)
(35)
(36)
(37)
Figure 2.2 Pin Assignment of CN1 connector
Legend:
Vn: the voltage output of channel n
for PCI-6308V/6308A, n=0~7
for PCI-6304V, n=0~4
An: the current output of channel n
Anis used for PCI-6308A only, n=0~7
ExtVref: external reference voltage for voltage output
AGND : Ground of analog output channels and +/-15V
-15V : -15V voltage output
+15V: +15V voltage output
DIx : Digital input channel x
DOx : Digital Output channel x
GND : Isolated ground of digital input and output

12 Installation
2.7 Jumper Setting
The PCI-6308¡¥s voltage output channels can be configured as different
voltage range. Each output channel and its corresponding jumpers are
listed as follow.
Channel
NO. Corresponding Jumper
For output mode
(Unipolar/Bipolar)
Corresponding Jumper
For reference voltage
sources (external/internal)
CH0 JP1 JP9 JP11
CH1 JP2 JP9 JP11
CH2 JP3 JP9 JP11
CH3 JP4 JP9 JP11
CH4 JP5 JP10 JP12
CH5 JP6 JP10 JP12
CH6 JP7 JP10 JP12
CH7 JP8 JP10 JP12
The output range is dependent on D/A converter's reference voltage
source and output mode (Bipolar or Unipolar). The JP11 and JP12 are
used to set reference voltage sources comes internally or externally.
The external reference voltage input (ExtVref) is on the connector CN1.
The JP1~8 and JP9/10 set the output mode to be unipolar or bipolar.
The different output ranges of output CH0 are shown as the following
table. The settings for reminder channels(CH1 ~ CH7) should follow
the same rules as CH0. The example setting of CH0 is shown the
Table 2.1.
Output Range JP1 JP9 JP11
-10V to +10V
Bipolar
(Default)
0V to +10V
Unipolar
0V to ExtRef
Voltage
Unipolar
Table 2.1 Example setting of CH0
1
2
3
1
2
3
1
2
3
1
2
3
1
2
3
1
2
3
1
2
3
1
2
3
1
2
3
Other manuals for PCI-6308 Series
1
This manual suits for next models
3
Table of contents
Other NuDAQ PCI Card manuals
Popular PCI Card manuals by other brands

Wistron NeWeb
Wistron NeWeb DNMA-91 user manual

Synway
Synway DST Series Hardware manual

KAIOMY
KAIOMY WA-54P Pro user manual

Acces I/O products
Acces I/O products mPCIe-ICM485 Series Hardware manual

Addonics Technologies
Addonics Technologies AD2SA3GPX1 user guide

Compaq
Compaq iPAQ Networking 10/100 Fast Internet PCI... troubleshooting guide