ADLINK Technology NuDAQ PCI-9111HR User's Guide

Browse online or download User's Guide for Motherboards ADLINK Technology NuDAQ PCI-9111HR. ADLINK Technology NuDAQ PCI-9111HR User`s guide User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 109
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
NuDAQ
PCI-9111DG/HR
Multi-Functions
Data Acquisition Card
User’s Guide
Recycled Paper
Page view 0
1 2 3 4 5 6 ... 108 109

Summary of Contents

Page 1 - PCI-9111DG/HR

NuDAQ PCI-9111DG/HR Multi-Functions Data Acquisition Card User’s Guide Recycled Paper

Page 2

vi • Outline of Chapters Outline of Chapters This manual is designed to help the user to understand and configure the PCI-9111. The manual describes t

Page 3

90 • Calibration 6 Calibration In data acquisition processes, how to calibrate your measurement devices to maintain its accuracy is very important. Us

Page 4 - Getting service from ADLINK

Calibration • 91 6.2 VR Assignment There are five variable resistors (VR) on the PCI-9111 board to allow you making accurate adjustment of the A/D an

Page 5 - Table of Contents

92 • Calibration 6.4 D/A Adjustment 6.4.1 Unipolar Analog Output 1. Set JP1 to select uni-polar. Connect the DVM (+) to CN3 pin-30 (DAOut) and DV

Page 6

Software Utility • 93 7 Software Utility The software CD provides two utility programs, the 9111util.exe and I_eeprom. The 9111util.exe provides three

Page 7

94 • Software Utility ****** PCI-9111 Utility Rev. 1.0 ****** Copyright © 1995-1996, ADLINK Technology Inc. All rights reserved. <F1>: Confi

Page 8

Software Utility • 95 7.1.3 Calibration This function is used to guide you though on how to calibrate the PCI-9111. The calibration program serves as

Page 9 - List of Figures

96 • Software Utility If option 3 is selected, the following figure will be displayed: If completed Step5 then press <Enter> to next step, <

Page 10 - Outline of Chapters

Software Utility • 97 Figure 22. A/D with Polling Test Window 7.2 I_EEPROM This file is used to enable or disable the interrupt of the PCI-9111 boa

Page 11 - Introduction

98 • Warranty Policy Warranty Policy Thank you for choosing ADLINK. To understand your rights and enjoy all the after-sales services we offer, pleas

Page 12 - 1.1 Features

Warranty Policy • 99 4. Customers are responsible for the fees regarding transportation of damaged products to our company or to the sales office. 5

Page 13 - 1.2 Applications

Introduction • 1 1 Introduction The PCI-9111 is an advanced data acquisition card based on the 32-bit PCI Bus architecture. High performance designs

Page 14 - 1.3 Specifications

2 • Introduction 1.1 Features The PCI-9111 PCI Bus Advanced Data Acquisition Card provides the following advanced features: • 32-bit PCI-Bus • 12

Page 15

Introduction • 3 1.2 Applications • Industrial and laboratory ON/OFF control • Energy management • Communication • 16 TTL/DTL compatible digital

Page 16

4 • Introduction 1.3 Specifications Analog Input (A/D) • Converter: B.B. ADS7805 / ADS7804 or equivalents, successive approximation type • Resoluti

Page 17 - 1.4 Supporting Software

Introduction • 5 Digital I/O (DIO) • Numbers of Channel: 16 TTL compatible inputs and outputs • Input Voltage: P Low: Min. 0V; Max. 0.8V P High:

Page 18

6 • Introduction Programmable Counter • Device: 8254 • A/D pacer: 32-bit timer (Two 16-bit counters cascaded together) with a 2MHz time base • Pace

Page 19 - 1.4.9 PCIS-OPC: OPC Server

Introduction • 7 1.4 Supporting Software ADLINK provides versatile software drivers and packages for users’ different approach to building a system.

Page 20 - Installation

8 • Introduction 1.4.2 PCIS-LVIEW: LabVIEW® Driver PCIS-LVIEW contains the VIs, which is used to interface with NI’s LabVIEW® software package. The P

Page 21 - 2.2 Unpacking

Introduction • 9 1.4.8 PCIS-ICL: InControlTM Driver PCIS-ICL is the InControl driver, which supports Windows NT. The PCIS-ICL is included in the ADL

Page 23

10 • Installation 2 Installation This chapter describes how to install the PCI-9111. Follow the steps carefully. • Check what you have (section 2.1)

Page 24

Installation • 11 2.1 What You Have In addition to this User's Guide, the package should include the following items: PCI-9111 Enhanced Multi-fu

Page 25

12 • Installation 2.3 PCI-9111 PCB Layout Figure 1. PCB Layout of the PCI-9111 2.4 Jumper Descriptions There is only one configurable jumper (JP1

Page 26

Installation • 13 2.5 Hardware Installation Outline PCI configuration The PCI cards (or CompactPCI cards) are equipped with plug and play PCI control

Page 27

14 • Installation 2.6 Device Installation for Windows Systems Once Windows 95/98/2000 has started, the Plug and Play function of Windows system wil

Page 28

Installation • 15 2.7.1 Digital Input Connector CN1 +5V GND DI 14 DI 12 DI 10 DI 8 DI 6 DI 4 DI 2 DI 0 CN1 +12V GND DI 15 DI 13 DI

Page 29 - Registers

16 • Installation 2.7.3 Analog Input/Output, Extended I/O Connector CN3 AI2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 21 22 23 24 25 26 27 28

Page 30 - 3.1 PCI PnP Registers

Installation • 17 2.8 Daughter Board Connection The PCI-9111 can be connected with five different daughter boards. The following are compatible: ACLD

Page 31 - 3.2 I/O Address Map

18 • Installation 2.8.4 Connect with ACLD-9185 The ACLD-9185 is a 16-channel SPDT relay output board. This board is connected to CN2 of the PCI-9111

Page 32 - 3.3 A/D Data Registers

Registers • 19 3 Registers The descriptions of the registers and structure of the PCI-9111 are outlined in this chapter. The information in this chapt

Page 33

©Copyright 1997~2003 ADLINK Technology Inc; All Rights Reserved. Manual Rev 2.50: April 4, 2003 Part No: 50-11110-102 The information in this docume

Page 34

20 • Registers 3.1 PCI PnP Registers The PCI-9111 functions as a 32-bit PCI target device to any master on the PCI bus. It supports burst transfer

Page 35

Registers • 21 3.2 I/O Address Map Most of the PCI-9111 registers are 16 bits. Users can access these registers using 16 bits I/O instructions. The

Page 36 - (Note 1)

22 • Registers 3.3 A/D Data Registers The PCI-9111 A/D data is stored in the FIFO after conversion. The data can be transferred to the host memory b

Page 37

Registers • 23 3.4 A/D Channel Control Register The PCI-9111 provides 16 single-ended analog input channels. The channel control register is used t

Page 38

24 • Registers There are 8 bits in this register. Under non-auto scan mode, the 4 LSB (CN0~CN3) stores the channel number setting with the 4 MSB (AS3

Page 39

Registers • 25 3.7 A/D Range and Status Read back Register The A/D range setting and A/D FIFO status can be read back from this regis ter. Address: B

Page 40 - 3.15 D/A Output Register

26 • Registers 3.9 A/D Trigger Mode Control Register This register is used to control the A/D trigger source and trigger method. Address: BASE + 0Ah

Page 41 - 3.16 Extended I/O Ports

Registers • 27 Note 1: The bits in this register can only control the A/D trigger source and trigger method. The trigger conditions are independent

Page 42 - 3.17 Digital I/O register

28 • Registers 3.11 Hardware Interrupt Clear Register Becaus e the PCI interrupt signal is level triggered, the interrupt clear register must be writ

Page 43 - Operation Theory

Registers • 29 3.13 ISC2 & Trigger Event Read Back Register The interrupt control setting ISC2 and the trigger event can be retrieved from this

Page 44

Getting service from ADLINK Customer Satisfaction is the most important priority for ADLINK Tech Inc. If you need any help or service, please contact

Page 45 - Floating

30 • Registers 3.14 Timer/Counter Register Each 82C54 chip occupies 4 I/O address locations on the PCI-9111 as shown below. Users may refer to the 82

Page 46

Registers • 31 3.16 Extended I/O Ports The PCI-9111 provides four extended input signals and four extended output signals. The signals are available

Page 47

32 • Registers 3.17 Digital I/O register There are 16 digital input and 16 digital output channels provided by the PCI-9111. The address Base+1C is

Page 48

Operation Theory • 33 4 Operation Theory The operation theory of the functions on PCI-9111 card is described in this chapter. The functions include t

Page 49 - 4.1.5 Pre-Trigger Control

34 • Operation Theory 4.1.1 A/D Conversion Procedure To use the A/D converter, users first need to know the properties of the signal being measured.

Page 50

Operation Theory • 35 Analog Input Signal Connection The PCI-9111 provides 16 single-ended analog input channels. The analog signal can be converted t

Page 51 - 4.1.6 Post-Trigger Control

36 • Operation Theory Signal Range A properly define signal range is important in any data acquisition process. The input signal may be saturated if

Page 52

Operation Theory • 37 It's recommended that this mode be used if the application requires a fixed and precise A/D sampling rate. External Trigger

Page 53 - 4.1.7 A/D Data Format

38 • Operation Theory FIFO Half-Full Polling The FIFO half-full polling mode is the most powerful AD data transfer mode. The 1 K words FIFO can store

Page 54 - Voltage AD data

Operation Theory • 39 FIFO Half-Full Interrupt Transfer Sometimes, the applications do not need real-time processing, but the foreground program is to

Page 55 - 4.2.3 Dual Interrupt System

Table of Contents • i Table of Contents List of Tables ...

Page 56 - 4.4 D/A Conversion

40 • Operation Theory To set up the Pre-Trigger mode, the following steps should be followed: 1. Set Pre-Trigger Mode Off: PTRG = OFF. 2. Set 8254 C

Page 57 - Outside Device

Operation Theory • 41 4.1.6 Post-Trigger Control Another useful trigger mode is the Post-Trigger. Under “Post-Trigger” mode, the post-trigger (POTRG)

Page 58 - 4.6 Timer/Counter Operation

42 • Operation Theory Figure 12. Post Trigger timing Under pre-trigger or post-trigger control schemes, the TRGEVENT flag signal (Base + 0Ch) can com

Page 59 - 4.6.4 I/O Address

Operation Theory • 43 4.1.7 A/D Data Format The A/D data read from the FIFO is in two’s complement format. As the A/D gain is 1, the A/D signal range

Page 60 - C/C++ Library

44 • Operation Theory The formula between the A/D converted data and the voltage value is: Voltage AD dataK gain= × ×_1 10 Where gain is the value of

Page 61 - 5.2 Programming Guide

Operation Theory • 45 4.2.3 Dual Interrupt System The PCI controller of the PCI-9111 can receive two hardware IRQ sources. However, a PCI controller

Page 62 - 5.4 _9111_DO

46 • Operation Theory 4.3 Extended Digital I/O Port There are 4 extended digital input (EDI) signals and 4 extended digital output (EDO) signals on C

Page 63 - 5.5 _9111_DO_Channel

Operation Theory • 47 Before performing the D/A conversion, users should take note of the D/A output range, which is set by JP1. Refer to section 2.4

Page 64 - 5.6 _9111_DI

48 • Operation Theory 4.6 Timer/Counter Operation 4.6.1 Introduction One 8254 programmable interval timer/counter chip is integrated on the PCI-911

Page 65 - 5.7 _9111_DI_Channel

Operation Theory • 49 4.6.4 I/O Address The 8254 in the PCI-9111 occupy 4 I/O address as shown below. BASE + 40 h LSB OR MSB OF COUNTER 0 BASE + 42

Page 66 - 5.8 _9111_EDI

ii • Table of Contents 3.7 A/D Range and Status Read back Register... 25 3.8 Software Trigger Register...

Page 67 - 5.9 _9111_EDO

50 • C/C++ Library 5 C/C++ Library This chapter describes the software library that operates the PCI-9111. Only the functions in DOS library and Windo

Page 68 - 5.11 _9111_Set_EDO_Function

C/C++ Library • 51 5.2 Programming Guide 5.2.1 Naming Convention The functions of the NuDAQ PCI or NuIPC CompactPCI card software drivers uses full-

Page 69 - 5.13 _9111_AD_Read_Data

52 • C/C++ Library 5.3 _9111_Initial @ Description This function is used to initialize the PCI_9111. Every PCI_9111 card must be initialized by this

Page 70

C/C++ Library • 53 5.5 _9111_DO_Channel @ Description This function is used to write data to the digital output ports. There are 16 digital output ch

Page 71 - 5.15 _9111_AD_Set_Channel

54 • C/C++ Library 5.6 _9111_DI @ Description This function is used to read data from the digital input ports. There are 16 digital input channels on

Page 72 - 5.16 _9111_AD_Get_Channel

C/C++ Library • 55 5.7 _9111_DI_Channel @ Description This function is used to read data from the digital input port. There are 16 digital input chan

Page 73 - 5.17 _9111_AD_Set_Range

56 • C/C++ Library 5.8 _9111_EDI @ Description There are 4 extended digital input channels on the PCI_9111. This function is used to read data from t

Page 74 - 5.18 _9111_AD_Get_Range

C/C++ Library • 57 5.9 _9111_EDO @ Description There are 4 extended digital output channels on the PCI_9111. This function is used to write data to t

Page 75 - 5.19 _9111_AD_Get_Status

58 • C/C++ Library 5.10 _9111_EDO_Read_Back @ Description This function is used to read back the output data that is written to the output port previ

Page 76 - 5.20 _9111_AD_Set_Mode

C/C++ Library • 59 5.12 _9111_DA @ Description This function is used to write data to the D/A converters. There is one Digital-to-Analog conversion c

Page 77 - 5.21 _9111_AD_Get_Mode

Table of Contents • iii 5.10 _9111_EDO_Read_Back... 58 5.11 _9111_Set_EDO_Funct

Page 78 - 5.22 _9111_INT_Set_Reg

60 • C/C++ Library 5.14 _9111_AD_Read_Data_Repeat @ Description This function is used to read the AD converted data n times continuously. @ Syntax C

Page 79 - 5.23 _9111_INT_Get_Reg

C/C++ Library • 61 5.15 _9111_AD_Set_Channel @ Description This function is used to set the AD channel by means of writing data to the multiplexer sc

Page 80 - 5.24 _9111_Reset_FIFO

62 • C/C++ Library 5.16 _9111_AD_Get_Channel @ Description This function reads from the multiplexer scan channel register and obtains the AD channel

Page 81 - 5.26 _9111_Set_8254

C/C++ Library • 63 5.17 _9111_AD_Set_Range @ Description This function is used to set the A/D range by means of writing data to the gain control reg

Page 82 - 5.27 _9111_Get_8254

64 • C/C++ Library 5.18 _9111_AD_Get_Range @ Description This function is used to get the A/D range from the gain control register. The relationship

Page 83 - 5.28 _9111_AD_Timer

C/C++ Library • 65 5.19 _9111_AD_Get_Status @ Description This function is used to get AD FIFO status from the gain control register. @ Syntax C/C+

Page 84 - 5.29 _9111_Counter_Start

66 • C/C++ Library 5.20 _9111_AD_Set_Mode @ Description This function is used to set AD trigger and channel scan mode. Please refer to section 5.1.3

Page 85 - 5.31 _9111_Counter_Stop

C/C++ Library • 67 5.21 _9111_AD_Get_Mode @ Description This function is used to get AD mode. Please refer to section 5.1.3 for the detailed descript

Page 86

68 • C/C++ Library 5.22 _9111_INT_Set_Reg @ Description This function is used to select the interrupt sources by writing data to interrupt control re

Page 87 - 5.34 _9111_Get_IRQ_Channel

C/C++ Library • 69 5.23 _9111_INT_Get_Reg @ Description This function is used to get the AD mode setting and interrupt control setting by reading dat

Page 88 - 5.35 _9111_Get_IRQ_Status

iv • Table of Contents Chapter 7 Software Utility... 93 7.1 9111util.exe

Page 89 - 5.36 _9111_AD_FFHF_Polling

70 • C/C++ Library 5.24 _9111_Reset_FIFO @ Description The PCI-9111 A/D data are stored in the FIFO after conversion. This function is used to reset

Page 90 - 5.37 _9111_AD_Aquire

C/C++ Library • 71 5.25 _9111_AD_Soft_Trigger @ Description This function is used to trigger the A/D conversion by software. When the function is cal

Page 91 - 5.38 _9111_AD_HR_Aquire

72 • C/C++ Library 5.27 _9111_Get_8254 @ Description This function is used to read PCI-9111 8254 Programmable Timer. The read value are stored in cou

Page 92 - 5.39 _9111_AD_INT_Start

C/C++ Library • 73 5.28 _9111_AD_Timer @ Description This function is used to set the Timer #1 and Timer#2. Timer#1 and Timer#2 are used as frequency

Page 93

74 • C/C++ Library 5.29 _9111_Counter_Start @ Description The counter #0 of the PCI-9111 Timer/Counter chip can be freely programmed by the users. T

Page 94

C/C++ Library • 75 5.30 _9111_Counter_Read @ Description This function is used to read the count value of the Counter#0. @ Syntax C/C++ (DOS) U16 _9

Page 95 - 5.41 _9111_AD_INT_Status

76 • C/C++ Library 5.32 _9111_INT_Source_Control @ Description The PCI-9111 has a dual interrupt system, two interrupt sources can be generated and

Page 96

C/C++ Library • 77 5.33 _9111_CLR_IRQ @ Description This function is used to clear interrupt request which is requested by PCI-9111. If you use EOC

Page 97 - ERR_NoError

78 • C/C++ Library 5.35 _9111_Get_IRQ_Status @ Description This function is used to get the status of the two IRQs (INT1 and INT2) in PCI-9111 card.

Page 98 - 5.44 _9111_AD_INT_Stop

C/C++ Library • 79 5.36 _9111_AD_FFHF_Polling @ Description This function is used to perform powerful AD data transfer by applying half-full polling

Page 99 - 5.45 _9111_AD_Get_TrigEvent

List of Tables and Figures • v List of Tables Table 1: I/O Address Map... 21

Page 100 - Calibration

80 • C/C++ Library 5.37 _9111_AD_Aquire @ Description This function is used to trigger the A/D conversion data for PCI-9111 by software trigger. It r

Page 101 - 6.3 A/D Adjustment

C/C++ Library • 81 5.38 _9111_AD_HR_Aquire @ Description This function is used to trigger the A/D conversion data for PCI-9111HR by software trigger.

Page 102 - 6.4 D/A Adjustment

82 • C/C++ Library 5.39 _9111_AD_INT_Start @ Description This function is used to initialize and start up the AD EOC (end-of-conversion) interrupt t

Page 103 - Software Utility

C/C++ Library • 83 If the auto_scan is set as enable, the selection sequence of A/D channel is: 0, 1, 2, 3, ... , [ad_ch_no], 0, 1, 2, 3, ... , [ad_

Page 104 - 7.1.2 System Configuration

84 • C/C++ Library W_9111_AD_FFHF_INT_Start (ByVal cardNo As Integer, ByVal auto_scan As Integer, ByVal ad_ch_no As Integer, ByVal ad_gain As Integer,

Page 105 - 7.1.3 Calibration

C/C++ Library • 85 5.41 _9111_AD_INT_Status @ Description This function is used to check the status of interrupt operation. The _9111_AD_INT_Start()

Page 106 - 7.1.4 Functional Testing

86 • C/C++ Library 5.42 _9111_AD_FFHF_INT_Status @ Description This function is used to check the status of interrupt operation using AD FIFO Half F

Page 107 - 7.2 I_EEPROM

C/C++ Library • 87 5.43 _9111_AD_FFHF_INT_Restart @ Description After calling _9111_AD_FFHF_INT_Start, the AD conversion and transfer won’t stop unt

Page 108 - Warranty Policy

88 • C/C++ Library 5.44 _9111_AD_INT_Stop @ Description This function is used to stop both the interrupt data transfer functions. After executing th

Page 109

C/C++ Library • 89 5.45 _9111_AD_Get_TrigEvent @ Description This function is used to get the trigger event status. Note that this function supports

Comments to this Manuals

No comments