PCI-9812/10

20M Ultra-high Speed

Analog Input Card

User’s Guide

 

@Copyright 1997 ADLink Technology Inc.

All Rights Reserved.

 

Manual first edition: 20, Oct. 1997

 

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

PCI-9812 is registered trademarks of ADLink Technology Inc., IBM PC is a registered trademark of International Business Machines Corporation. Intel is a registered trademark of Intel Corporation. Other product names mentioned herein are used for identification purposes only and may be trademarks and/or registered trademarks of their respective companies.

 

CONTENTS

How to Use This Guide

Chapter 1 Introduction

1.1 Features

1.2 Applications

1.3 Specifications

Chapter 2 Installation

2.1 What You Have

2.2 Unpacking

2.3 PCI-9812/10's Layout

2.4 PCI Configuration

Chapter 3 Signal Connection

3.1 Connectors

3.2 Input Characteristics And Switch Setting

3.2.1 Analog Input

3.2.2 External Clock 0

3.2.3 External Clock 1

3.2.4 Digital Input

Chapter 4 Registers Structure & Format

4.1 I/O Port Address

4.2 ADC Channel Enable Register

4.3 ADC Clock Divisor Register

4.4 Trigger Mode Register

4.5 Trigger Level Register

4.6 Trigger Source Register

4.7 Post Trigger Counter Register

4.8 FIFO Control Register

4.9 FIFO Status Register

4.10 Acquisition Enable Register

4.11 Clock Source Register

4.12 High Level Programming

4.13 Low-Level Programming

Chapter 5 Operation Theorem

5.1 A/D conversion

5.2 A/D conversion Procedure

5.3 A/D signal source control

5.4 Triggers

5.4.1 Trigger Sources

5.4.2 Trigger Modes

5.5 A/D transfer Mode

5.6 Conversion Modes

5.7 Buffering Mode

5.8 AD Data Format

Chapter 6 C/C++ Software Library

6.1 Installation

6.1.1 Backup Your Disk

6.1.2 Installation

6.2 C/C++ Programming Library

6.2.1 _9812_Initial

6.2.2 _9812_Close

6.2.3 _9812_AD_DMA_Start

6.2.4 _9812_AD_DMA_Status

6.2.5 _9812_AD_DMA_Stop

6.2.6 _9812_Set_Clk_Src

6.2.7 _9812_Set_Clk_Rate

6.2.8 _9812_Set_Trig

Chapter 7 Calibration

7.1 What do you need

7.2 VR Assignment

7.3 A/D Adjustment

7.3.1 AD Channel 0 Calibration

7.3.2 AD Channel 1 Calibration

7.3.3 AD Channel 2 Calibration

7.3.4 AD Channel 3 Calibration

Chapter 8 Software Utility

8.1 Running 9812util.exe

8.2 System Configuration

8.3 Calibration

8.4 Functional Testing

Product Warranty/Service

 

How to Use This Guide

This manual is designed to help you use the PCI-9812/10. The manual describes how to modify various settings on the PCI-9812/10 card to meet your requirements. It is divided into six chapters:

 

· Chapter 1, "Introduction", gives an overview of the product features, applications, and specifications.

· Chapter 2, "Installation", describes how to install the PCI-9812/10. In addition, The layout of PCI-9812/10 is shown.

· Chapter 3, "Signal Connection", describes the connectors' pin assignment and how to connect the outside signal and devices with the PCI-9812/10.

· Chapter 4, "Registers Structure & Format", describes the details of register format and structure of the PCI-9812/10, this information is very important for the programmers who want to control the hardware by low-level programming.

· Chapter 5, "Operation Theorem", describes how to operate the PCI-9812/10. The A/D functions are introduced. Also, some programming concepts are specified.

· Chapter 6, " C/C++ Software Library", describes high-level programming interface in C/C++ language. It helps programmer to control PCI-9812/10 in high level language style.

· Chapter 7, "Calibration", describes how to calibrate the PCI-9812/10 for accurate measurement.

· Chapter 8, "Software Utility", describes how to run the utility program included in the software disk.

 

 

1

Introduction

PCI-9812/10 is an advanced performance, data acquisition card based on 32-bit PCI Bus architecture. The maximum sampling rate of PCI-9812/10 is up to 20M sample per second. With an emphasis on continuous, non-stop, high-speed, streaming of A/D samples to host memory or disk. The high performance designs and the state-of-art technology make this card is ideal for DSP, FFT, digital filtering, and image processing applications.

 

Software Supporting :

For the customer who are writing their own programs, we provide MS-DOS C/C++ programming library for PCI-9812/10.

 

 

1.1 Features

PCI-9812 PCI Bus Advanced Data Acquisition Card provides the following advanced features:

· 32-bit PCI-Bus

· 12-bit (9812) or 10-bit (9810) analog input resolution

· On-board A/D FIFO memory

· Up to 20MHz A/D sampling rates

· 4 single-ended analog input channels

· Bipolar input signals

· 4 A/D converters, one converter for each analog channel

· Five A/D trigger modes : software trigger, Pre-trigger, Post-trigger, Middle trigger and Delay trigger.

· Bus Mastering DMA mode

 

 

1.2 Applications

· IF and BASEBAND Digitization

· ULTRASOUND IMAGING

· GAMMA CAMERAS

· TEST INSRTUMENT

· CCD IMAGING

· VIDEO DIGITALING

 

 

1.3 Specifications

¨ Analog Input (A/D)

· Converter : B.B. ADS800 series

· Input Channels : 4 single-ended

· Resolution : 12-bit (9812), 10-bit (9810)

· Input Range : Bipolar : ± 1V, ± 5V

· Max. sampling rate : * 20 MHz samples/sec

 

* : For single channel enabled, the maximum sampling rate is 20 MHz. For two channels enabled, the 20 MHz sampling rate can be reached only when the number of samples accessed for each channel is smaller than 16K.

For four channels enabled, the 20 MHz sampling rate can be reached only when the number of samples accessed for each channel is smaller than 8K.

· Input Impedance : 50/1.25K/15M W

· Trigger Source :

Software, Analog threshold comparator using internal D/A to set trigger level, and External digital trigger

· Trigger Mode :

Software-trigger, Pre-trigger, Post-trigger, Middle-trigger and Delay-trigger

· Data Transfer : DMA (Bus mastering)

· Clock Source :

Internal clock, External digital clock, external sine wave.

· Accuracy : Gain Error ± 1.5% at 25° C

· Dynamic Characteristic:

Differential Linearity Error:

± 0.4 LSB(Typ.) ± 1.0 LSB(Max.) at 25° C

Integral Linearity Error:

± 1.9 LSB at 25° C

 

¨ Digital Input (DIN)

· Channel :

3 TTL compatible inputs with 10K Ohm. pull down resistor

· Input Voltage :

Low : Min. 0V; Max. 0.8V

High : Min. +2.0V

Input Load :

Low : +0.5V@-0.2mA max..

High : +2.7V min.@20mA max.

 

¨ General Specifications

· Connector : 5 BNC-type

· Operating Temperature : 0° C ~ 50° C

· Storage Temperature : -20° C ~ 80° C

· Humidity : 5 ~ 85%, non-condensing

· Power Consumption : +5 V @ 1.5 A

· Dimension : Compact size only 101mm(H) X 173mm(L)

 

2

Installation

This chapter describes how to install the PCI-9812/10. At first, the contents in the package and unpacking information that you should be careful are described.

 

The PCI-9812/10 does an automatic configuration of the IRQ, port address, and BIOS address. So, you do not need to set above configuration as you use ISA form factor DAS card. For system reliability, some critical settings for analog input and output need to be assigned manually, because these settings will not be changed after your data acquisition system configuration is decided. It will let your system get more reliability and safety (user can not change the configuration by software directly) when your system is running.

 

 

2.1 What You Have

In addition to this User's Guide, the package includes the following items:

· PCI-9812/10 Enhanced Multi-function Data Acquisition Card

· PCI-9812/10 Utility & Library Diskette

 

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.

 

2.2 Unpacking

Your PCI-9812/10 card contains sensitive electronic components that can be easily damaged by static electricity.

 

The card should be handled 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, extract the system module and place it only on a grounded anti-static surface with component side up.

 

Again inspect the module for damage. Press down on all the socketed IC's to make sure that they are properly seated. Do this only with the module place on a firm flat surface.

 

Note : DO NOT APPLY POWER TO THE CARD IF IT HAS BEEN DAMAGED.

You are now ready to install your PCI-9812/10.

 

2.3 PCI-9812/10's Layout





Figure 2.1 PCB Layout of the PCI-9812/10

2.4 PCI Configuration

1. Plug and Play :

As an plug and play component, the interrupt level is set by PCI plug and play BIOS and saved in the PCI controller. The system BIOS assigns the interrupt level based on the board information and on known system parameters. These system parameters are determined by the installed drivers and the hardware load seen by the system.

 

2. Configuration :

The board configuration is done on a board-by-board basis for all PCI form factor boards on your system. Because configuration is controlled by the system and software, so there is no jumpers for base-address, DMA, and interrupt IRQ need to be set by the user.

The configuration is subject to change with every boot of the system as new boards are added or boards are removed. So, there is no idea what‘s going on to be installed.

 

3. Trouble shooting :

If your system won‘t boot or if you experience erratic operation with your PCI board in place, it’s likely caused by an interrupt conflict (perhaps because you incorrectly described the ISA setup). In general, the solution, once you determine it is not a simple oversight, is to consult the BIOS documentation that come with your system.

 

 

3

Signal Connection

This chapter describes the connector of the PCI-9812/10, the signal connection between the PCI-9812/10 and external devices, and the switch setting for different applications.

 

 

3.1 Connectors

The PCI-9812/10 connects to external devices through five BNC connectors and one 10-pin dual-in-line header. Fig. 3.1 shows the location of these connector.





Figure 3.1 Location of connectors

 

· J1 : The J1 BNC connector is used for the input signal of channel 0 A/D converter.

· J2 : The J2 BNC connector is used for the input signal of channel 1 A/D converter.

· J3 : The J3 BNC connector is used for the input signal of channel 2 A/D converter.

· J4 : The J4 BNC connector is used for the input signal of channel 3 A/D converter.

· J5 : The J5 BNC connector is used for the input signal of external clock 0.

· JP1 : The 10-pin connector is used for digital input signal, including 1 digital clock, 1 digital trigger, and 3 digital input.

 

The pin-out of JP1 is listed below:

Pin 1 : External Clock Input 1 Pin 2 : Ground

Pin 3 : External Digital Trigger Input Pin 4 : Ground

Pin 5 : Digital Input 0 Pin 6 : Ground

Pin 7 : Digital Input 1 Pin 8 : Ground

Pin 9 : Digital Input 2 Pin 10 : Ground

 

Note : If the JP1 is connected to a 9-pin D-type connector through a robin cable, the pin out of the D-type connector is changed to :

 

Pin 1 : External Clock Input 1 Pin 6 : Ground

Pin 2 : External Digital Trigger Input Pin 7 : Ground

Pin 3 : Digital Input 0 Pin 8 : Ground

Pin 4 : Digital Input 1 Pin 9 : Ground

Pin 5 : Digital Input 2

 

 

 

3.2 Input Characteristics And Switch Setting

This section describes the characteristics of different input of the PCI-9812/10.

 

3.2.1 Analog Input

PCI-9812/10 has four analog input channels which are connected through connectors J1 ~ J4. The input impedance and input amplitude range can be changed through solder gap switches. A solder gap switch consists of two cooper pads, the switch can be turned on by soldering these two pads together. All the four channels have the same way to configure their input characteristics, only channels 0 is discussed here. There are 2 solder gap switches, named C0LO (channel 0 low impedance) and C05V (channel 0 5V input), to setup the input characteristics of channel 0. (Please refer to fig. 2.1 in section 2.3)

 

C0LO

C05V

Input Impedance

Input Range

Open

Open

High (~15M Ohm)

+/- 1V

Open

Close

1.25K Ohm

+/- 5V

Close

Open

Low (50 Ohm)

+/- 1V

Close

Close

Low (50 Ohm)

+/- 5V

 

CAUTION : When the input channel was configured as a high impedance input, DO NOT leave the input connector unconnected, the input connector must be connected to a low impedance signal source to provide a return path for the input bias current (<= 15 m A), otherwise a high voltage will build up in the input of A/D converter. That could damage the A/D converter.

 

Note : 75 ohm input impedance can be achieved by either :

1. Replace R95 by a 75 ohm resistor and close C0LO.

2. Place a T-connector with a 75 ohm terminator on J1 and open C0LO.

 

The corresponding switches and resistors of other channels are shown below:

 

Channel

Switches

Resistor

Channel 0

C0LO

C05V

R95

Channel 1

C1LO

C15V

R96

Channel 2

C2LO

C25V

R97

Channel 3

C3LO

C35V

R98

 

3.2.2 External Clock 0

The external clock 0 (J5) is a sine wave signal which is converted to a TTL signal inside the PCI-9812/10. The input impedance of external clock 0 is 50 ohms and the input level is 2 volts peak-to -peak.

 

3.2.3 External Clock 1

The external clock 1 (JP1 pin 1) is a digital clock. The input impedance is 50 ohms and the input level should be 2.4V ~ 5V into the 50-ohm load.

 

3.2.4 Digital Input

PCI-9812/10 has four digital input : one external digital trigger (JP1 pin3) and three general purpose digital input (JP1 pin 5, 7, and 9). These input are TTL with 10K-ohm pull down.

 

4

Registers Structure & Format

The detailed descriptions of the register format and structure of the PCI-9812 are specified in this chapter. This information is quite useful for the programmer who wish to handle the card by low-level program.

 

In addition, the low level programming syntax is introduced. This information can help the beginners to operate the PCI-9812 in the shortest learning time.

 

 

4.1 I/O Port Address

The PCI-9812 functions as 32-bit PCI target device to any master on the PCI bus. It supports burst transfer to memory space by using 32-bit data. So, all data read and write will base on 32-bit data. The Table 4.1 shows the I/O address of each register with respect to the base address. The function of each register also be shown.

 

 

 

 

 

 

I/O Address

Read

Write

Base + 0

-------------

ADC Channel Enable Reg.

Base + 4

-------------

ADC Clock Divisor Reg.

Base + 8

-------------

Trigger Mode Reg.

Base + C

-------------

Trigger Level Reg.

Base + 10

-------------

Trigger Source Reg.

Base + 14

-------------

Post Trigger Counter Reg.

Base + 18

FIFO Control & Status Reg.

FIFO Control & Status Reg.

Base + 1C

-------------

Acquisition Enable Reg.

Base + 20

-------------

Clock Source Register

 

Table 4.1 I/O Address

 

 

4.2 ADC Channel Enable Register

The PCI-9812/PCI-9810 has 4 analog input channels, named CH0, CH1, CH2, and CH3. CH0 ~ CH3 can be enabled or disabled by bit 0 ~ 3 of the ADC channel enable register.

 

Address : BASE + 0

Attribute : write only

Data Format :

 

Bit

7

6

5

4

3

2

1

0

BASE+0

---

---

---

---

CH3EN

CH2EN

CH1EN

CH0EN

BASE+1

---

---

---

---

---

---

---

---

BASE+2

---

---

---

---

---

---

---

---

BASE+3

---

---

---

---

---

---

---

---

 

bit 31..4 -- don't care (---: Don‘t care)

bit 3 -- CH3EN

bit 2 -- CH2EN

bit 1 -- CH1EN

bit 0 -- CH0EN

 

All the legal combinations of these four bits are :

0000 -- no channel is enabled

0001 -- only CH0 is enabled

0011 -- CH0 and CH1 are enabled

1111 -- all channels are enabled

 

 

4.3 ADC Clock Divisor Register

The ADC sampling clock is generated by feeding the ADC source clock to a clock frequency divider, the output of the frequency divider becomes the sampling clock. The frequency of the ADC sampling clock is :

 

Frequency of source clock / ADC clock divisor

 

Address : BASE + 04h

Attribute : write only

Data Format :

 

Bit

7

6

5

4

3

2

1

0

Base + 4

DIV7

DIV6

DIV5

DIV4

DIV3

DIV2

DIV1

DIV0

Base + 5

DIV15

DIV14

DIV13

DIV12

DIV11

DIV10

DIV9

DIV8

Base + 6

---

---

---

---

---

---

---

---

Base + 7

---

---

---

---

---

---

---

---

 

DIV15..0 : The AD clock frequency devisor

--- don't care

Note : the minimum value of this register is 2, and the DIV0 is hardwired to 0.

 

 

4.4 Trigger Mode Register

The PCI-9812/9810 has five trigger modes : software trigger, post trigger, pre-trigger, middle trigger and delay trigger. The trigger mode register is used to specify which trigger mode is currently used.

 

Address : BASE + 08h

Attribute : write only

Data Format :

 

Bit

7

6

5

4

3

2

1

0

Base + 8

---

---

---

---

---

TRGMOD2

TRGMOD1

TRGMOD0

Base + 9

---

---

---

---

---

---

---

---

Base + A

---

---

---

---

---

---

---

---

Base + B

---

---

---

---

---

---

---

---

 

TRGMOD2..0: Trigger mode

--- : don't care

 

The 5 triger modes are list as the following table:

 

TRGMOD2

TRGMOD1

TRGMOD0

Trigger Mode

0

0

0

software trigger

0

0

1

post trigger

0

1

1

pretrigger

0

1

1

delay trigger

1

0

0

middle trigger

 

 

Note: that all the other values of this register are illegal, and the PCI-9812/PCI-9810 will not acquire data if illegal value is set.

 

4.5 Trigger Level Register

The trigger condition of the PCI-9812/PCI-9810 includes trigger level and trigger slope. The trigger level is set by this register, and the trigger slope is set by the trigger source register described in the next paragraph.

 

Address : BASE + 0ch

Attribute : write only

Data Format :

 

Bit

7

6

5

4

3

2

1

0

BASE+Ch

TRGLVL7

TRGLVL6

TRGLVL5

TRGLVL4

TRGLVL3

TRGLVL2

TRGLVL1

TRGLVL0

BASE+Dh

---

---

---

---

---

---

---

---

BASE+Eh

---

---

---

---

---

---

---

---

BASE+Fh

---

---

---

---

---

---

---

---

 

TRGLVL7..0: trigger level

--- : don’t care.

 

The relationship between the 8-bit trigger level and the trigger voltage is :

 

TRGLVL7..0(bit 7..0)

trigger voltage(± 1V)

trigger voltage(± 5V)

0xFF

0.992V

4.96V

0xFE

0.984V

4.92V

---

---

---

0x81

0.008V

0.04V

0x80

0.000V

0.00V

0x7F

-0.008V

-0.04V

---

---

---

0x01

-0.992V

-4.96V

0x00

-1.000V

-5.00V

 

 

4.6 Trigger Source Register

PCI-9812/10 supports five trigger sources. They are CH0, CH1, CH2, CH3 and external digital trigger.

 

Address : BASE + 10h

Attribute : write only

Data Format :

 

Bit

7

6

5

4

3

2

1

0

Base + 10

---

---

---

---

TRGSLP

TRGSRC2

TRGSRC1

TRGSRC0

Base + 11

---

---

---

---

---

---

---

---

Base + 12

---

---

---

---

---

---

---

---

Base + 13

---

---

---

---

---

---

---

---

 

TRGSLP : trigger slope.

0 : positive slope trigger

1 : negative slope trigger

TRGSRC2..TRGSRC0 : trigger source.

 

TRIGSRC2

TRIGSRC2

TRIGSRC2

trigger source

0

0

0

CH0

0

0

1

CH1

0

1

0

CH2

0

1

1

CH3

1

X

X

EX_DIG_trigger

 

When the external digital trigger is selected, the positive slope trigger equals to rising edge trigger, the negative slope trigger equals to falling edge trigger, and the value of trigger level register is meaningless.

 

 

4.7 Post Trigger Counter Register

The post trigger counter is a 16-bit down counter. The counter is pre-loaded with the value in post trigger counter register and it will count down on the rising edge of ADC sampling clock after the trigger condition was met. When the count reaches 0, the counter stops. The counter is used to control the delay time in delay trigger mode and to control the post trigger sampling count in middle trigger mode.

 

Address : BASE + 14h

Attribute : write only

Data Format :

 

Bit

7

6

5

4

3

2

1

0

BASE+Ch

PSTCN 7

PSTCN 6

PSTCN 5

PSTCN 4

PSTCN 3

PSTCN 2

PSTCN 1

PSTCN0

BASE+Dh

PSTCN15

PSTCN14

PSTCN13

PSTCN12

PSTCN11

PSTCN10

PSTCN9

PSTCN8

BASE+Eh

---

---

---

---

---

---

---

---

BASE+Fh

---

---

---

---

---

---

---

---

PSTCNT15..0 : This value is pre-loaded to the post trigger counter when the post trigger counter register is written.

--- : don't card

 

 

4.8 FIFO Control Register

This register is used to control the on-board FIFO memory of the PCI-9812/PCI-9810.

 

Address : BASE + 18h

Attribute : read

Data Format:

 

Bit

7

6

5

4

3

2

1

0

BASE+18h

---

---

ACQ

TD

PTCO

FIFOOR

FIFOHF

FIFOIR

BASE+19h

---

---

---

---

---

---

---

---

BASE+1Ah

---

---

---

---

---

---

---

---

BASE+1Bh

---

---

---

---

---

---

---

---

 

bit 0 -- FIFOIR, FIFO input ready flag.

0 : The FIFO is not ready for input, that means the FIFO is full

1 : The FIFO is ready for input (not full).

 

bit 1 -- FIFOHF, FIFO half full flag.

0 : The FIFO is not half full yet.

1 : The FIFO is at least half full.

 

bit 2 -- FIFOOR, FIFO output ready flag

0 : The FIFO is not ready for output, that means the FIFO is empty.

1 : The FIFO is ready for output (not empty).

 

bit 3 -- PTC0, post trigger counter is 0

0 : The post trigger counter is not 0.

1 : The post trigger counter reaches 0.

 

bit 4 -- TD, trigger detection flag

0 : The trigger condition is not met yet, no trigger is detected.

1 : Trigger is detected.

 

bit 5 -- ACQ, acquisition flag

0 : The PCi-9812/PCI-9810 is not acquiring data. May be the card is disabled or the card is waiting for trigger.

1 : The PCI-9812/PCI-9810 is acquiring data.

 

bit 6..31 -- don't card

 

 

4.9 FIFO Status Register

This register is used to monitor some status of the PCI-9812/PCI-9810.

 

Address : BASE + 18h

Attribute : write

Data Format:

 

Bit

7

6

5

4

3

2

1

0

BASE+18h

---

---

---

---

---

---

CLRTRG

CLRFIFO

BASE+19h

---

---

---

---

---

---

---

---

BASE+1Ah

---

---

---

---

---

---

---

---

BASE+1Bh

---

---

---

---

---

---

---

---

 

bit 0 -- CLRFIFO, clear the on_board FIFO

When a "1" is written to this bit, the entire on-board FIFO is cleared.

 

bit 1 -- CLRTRG, clear trigger detection flag

When a "1" is written to this bit, the trigger detection bit is cleared.

 

bit 2..31 -- don't care

 

 

4.10 Acquisition Enable Register

The register enables or disables the ADC acquisition.

 

Address : BASE + 1ch

Attribute : write only

Data Format :

 

Bit

7

6

5

4

3

2

1

0

BASE+18h

---

---

---

---

---

---

---

ACQEN

BASE+19h

---

---

---

---

---

---

---

---

BASE+1Ah

---

---

---

---

---

---

---

---

BASE+1Bh

---

---

---

---

---

---

---

---

 

bit 31..1 -- don't care

bit 0 -- ACQEN, acquisition enable

When a "1" is written to this bit, the PCI-9812/PCI-9810 is ready to sample data. When a "0" is written, the PCI-9812/PCI-9810 is disabled.

 

 

4.11 Clock Source Register

The register is used to select the ADC clock source.

 

Address : BASE + 20h

Attribute : write only

Data Format :

 

Bit

7

6

5

4

3

2

1

0

BASE+18h

---

---

---

---

---

CLKSRC0

CLKSRC0

Freq_Sel

BASE+19h

---

---

---

---

---

---

---

---

BASE+1Ah

---

---

---

---

---

---

---

---

BASE+1Bh

---

---

---

---

---

---

---

---

 

bit 31..3 -- don't care

bit 2..1 -- CLKSRC1..0, ADC clock source

bit 0: --- Freq_Sel, Frequency selection.

Freq_Sel : 1: frequency of A/D clock source is higher than PCI clock frequency

0: frequency of A/D clock source is lower than PCI clock frequency

 

CLKSRC2

CLKSRC1

selected clock source

0

0

internal clock (40 MHz)

0

1

external sine wave clock

1

0

external digital clock

1

1

illegal

 

Note : that when external clock is selected, this external clock is also divided by the frequency divider mentioned before, so the frequency of the external clock should be at least twice as the desired sampling frequency.

 

 

4.12 High Level Programming

To operate the PCI-9812, you can by-pass the detailed register structures and via the high level application programming interface (API) to control your PCI-9812 card directly. The software libraries, DOS library for Microsoft C/C++ and Borland C/C++, DLL drivers for Windows 3.11, Win-95 and Win-NT are included in the software diskette. For more detailed information, please refer to the PCI-9812 software utility user‘s manual.

 

 

4.13 Low-Level Programming

To operate the PCI-9812, users do not need to understand how to write a hardware dependent low-level program. Because it is more complex to control the PCI controller and the information is not described in the manual. We do not recommend users to program its applications based on low-level programming. If user does need to program in low-level programming, you can contact the dealer from whom you purchased the PCI-9812, for further PCI controller programming information.

5

Operation Theorem

The operation theorem of the functions on PCI-9812/10 card is described in this chapter. The functions include the A/D conversion and digital I/O. The operation theorem can help you to understand how to manipulate and to program the PCI-9812/10.

 

 

5.1 A/D conversion

Before programming the PCI-9812/10 to perform the A/D conversions, you have to understand the following issues:

 

 

 

 

5.2 A/D conversion Procedure

For using the A/D converter, uses should know about the propery of the siginal to be measured at first. The users can decide which channels to be used and connect the signals to the PCI-9812/10. In addition, users should define and ocntrol the A/D signal sources, including the A/D channels, A/D gains, and A/D siginal types. Please refer to 5.1.2 for A/D siginal control.

After deciding the A/D siginal aource, the user must decide how to trigger the A/D conversion and define /control the trigger source. The A/D converter will start to convert the siginal to a digital value when a trigger siginal is rising. The PCI-9812/10 provides five trigger modes, please refer to section .

 

At the ending of A/D conversion, the A/D data is buffered in the FIFO. The FIFO size on PCI_9812/10 is 1K samples.

 

The A/D data should be transferred into PC’s memory for further using or processing. The CPI-9812/10 uses DMA to transfer the input data to memory. Please refer to section 5.1.

 

To process A/D data, programmer shouldd know about the A/D data format. Please refer ot section 5.1..

 

 

5.3 A/D signal source control

To control the A/D siginal cource, three concepts should be understand, They are siginal type, siginal channel and siginal reange.

 

Signal Type

The A/D siginal sources of PCI-9812/10 is single ended(SE).

 

Siginal Channels

There are four channels in SE mode. The channell number is controlled by the ADC Channel Enable Register. Please refer to section.

Signal Range

The proper signal range is important fr data acquisition. The input signal may be saturated if the A/D gain is too large. The resolution of data may be not enough if the signal is small and gain is not enough. The available signal input ranges for 9812/10 are ± 5V and ± 1V.

 

 

5.4 Triggers

Performing the trigger acquisition in PCI-9812, the following items have to be specified before DMA operation starts:

 

    • clock source: refer to section 5.6
    • clock rate: refer to section 5.6
    • trigger source: refer to section 5.4.1.
    • trigger level: The trigger event occurs when the trigger signal changes from a voltage that is less than the trigge level to a voltage that is greater than the specified trigger level. The relationship between the 8-bit trigger level and the trigger voltage is the following:

 

TRGLVL7..0(bit 7..0)

trigger voltage(± 1V)

trigger voltage(± 5V)

0xFF

0.992V

4.96V

0xFE

0.984V

4.92V

---

---

---

0x81

0.008V

0.04V

0x80

0.000V

0.00V

0x7F

-0.008V

-0.04V

---

---

---

0x01

-0.992V

-4.96V

0x00

-1.000V

-5.00V

 

 

 

The trigger is detected while the trigger event occurs. For Post-trigger and Middle-trigger, the data acquisition is performed after the trigger event; however, the time when the AD conversion starts is 350 ns slower than the time when the trigger is detected. This 350ns delay will have minor effect for high speed data acquisition.

    • trigger polarity: trigger slope. This ‘0’ value means positive trigger and the ‘1’ value means negative trigger.
    • trigger mode: refer to section 5.4.2.

 

5.4.1 Trigger Sources

Internal Trigger

An internal trigger is a software trigger. The trigger event occurs when you call 9812_DMA_Start function to start the operation.

 

External Analog Trigger

You can use the signal on any analog input channel (CH0, CH1, CH2 or CH3) as the trigger signal for external analog trigger. The trigger conditions for analog triggers are described as follows;

 

 





External Digital Trigger

An external digital trigger occurs when a rising edge or a falling edge is detected on the digital signal connected to the fifth connector for external digital trigger.





5.4.2 Trigger Modes

Software-Trigger Acquisition

The trigger mode does not need any external trigger source. The trigger event occurs when you call 9812_DMA_Start function to start the operation.

 

 

Post-Trigger Acquisition

Use post-trigger acquisition in application where you want to collect data after a specified trigger event. The trigger can be either an external analog trigger or digital trigger.





Pre-Trigger Acquisition

Use pre-trigger acquisition in application where you want to collect data before a specified trigger event. The trigger can be either an external analog trigger or digital trigger.

 

The data acquisition starts when DMA operation starts. The operation stops when the external trigger event occurs. If the external trigger occurs before the specified count of data (specified by _9812_AD_DMA_Starta() function, refer to section 6.2.3) is read, the number of retrieved data will be fewer than the specified count. However if the external trigger occurs after the specified count of data is read, the program only samples the specified count of data.

 





Middle-Trigger Acquisition

Use pre-trigger acquisition in application where you want to collect data before and after a specified trigger event. Acquiring data before trigger event occurs for Middle trigger might not get the specified count of data the ,just as Pre-trigger mode meets. The desired number of samples after trigger event is pre-loaded in post trigger counter register and it will count down on the rising edge of ADC sampling clock after the trigger condition was met. When the count reaches 0, the counter stops. The trigger can be either an external analog trigger or digital trigger.





Delay Trigger Acquisition

Use Delay trigger acquisition in application where you want to delay to collect data after a specified trigger event occurs. The delay time is controlled by the counter which is pre-loaded with the value in post trigger counter register. The counter counts down on the rising edge of ADC sampling clock after the trigger condition was met.

 

When the count reaches 0, the counter stops and start to acquire data.







5.5 A/D transfer Mode

DMA Transfer

DMA (Direct Memory Access) bus master mode allows data to be transferred directly between the PCI-9812 and the PC memory. Hence, DMA mode provides the fastest data transfer rates. Once the analog input operation begins, control returns to your program. The hardware temporarily stores the acquired data in the onboard A/D FIFO and then transfers the data to a user-defined DMA buffer in the computer.

 

The DMA transfer mode is very complex to program. It is recommended to use the high level program library to operate this card. If you wish to program the software which can handle the DMA bus master data transfer, please refer to more information about PCI controller.

 

 

5.6 Conversion Modes

The conversion mode determines how the board regulates the timing of conversions when you are acquiring multiple samples from a single channel or from a group of multiple channels. PCI-9812 uses paced conversion mode in DMA-mode analog input operations.

Paced mode

Paced mode uses pacer conversion clock for A/D conversion at fixed rate. PCI-9812/10 support three clock source for analog input conversions: the internal A/D pacer clock, the external sine wave clock and external square clock. The description of these three clock sources are in the following sections.

Internal A/D Pacer Clock

An onboard timer/counter is used as the internal A/D pacer clock. The frequency of the pacer is software controllable. The maximum pacer signal rate is 40Mz/2=20MHz, the maximum sampling rate of 9812/10. The ADC sampling frequency is generated by feeding the source clock a clock frequency divider. The following formula is used to determine the ADC sampling frequency:

 

frequency of source clock / ADC clock divider

 

The internal A/D pacer clock is the default pacer clock.

 

External Pacer Clock

Connecting an external pacer clock to the EXTCLK1 (pin 1) on JP1. A rising edge of external signal trigger an A/D conversion. Because the users can handle the external signal with outside device, the conversion rate of this mode is more flexible than the previous mode. when external clock is selected, this external clock is also divided by the frequency divider mentioned before. Therefore the frequency of the external clock should be at least twice as the desired sampling frequency.

Note: The clock divider must be an even number and the minimum value is 2. Please refer to section 6.2.6 and section 6.2.7 for the setting of clock source and frequency divider.

 

 

5.7 Buffering Mode

The buffering mode determines how the driver stores the converted data in the buffer. The conversion operation stops as the board converts the specified number of samples and stores them in the buffer or the board received a stop function.

 

 

5.8 AD Data Format

The A/D data of 12 bits PCI-9812 is on the 12 MSBs of the A/D data. The 4 LSB of the 16 bits A/D data are for must be truncated by software (please refer to section 6.2.3). The relationship between the voltage and the value is shown in the following table:

 

A/D Data (Hex)

Decimal Value

V (Volts, -1V~1V)

V (Volts, -5V~5V)

7FF 0

+32752

+1.0000

+5.0000

400 0

+16384

+0.5002

+2.5010

001 0

+16

+0.0005

+0.0025

000 0

0

0.0000

0.0000

FFF 0

-16

-0.0005

-0.0025

C00 0

-16384

-0.5002

-2.5010

801 0

-32752

-1.0000

-5.0000

800 0

-32768

-1.0049

-5.0024

 

The A/D data of 10 bits PCI-9810 is on the 10 MSBs of the A/D data. The 6 LSB of the 16 bits A/D data must be truncated by software. The relationship between the voltage and the value is shown in the following table:

 

A/D Data (Hex)

Decimal Value

V (Volts, -1V~1V)

V (Volts, -5V~5V)

7FC 0

+32704

+1.0000

+5.0000

400 0

+16384

+0.5002

+2.5010

0040

+64

+0.0005

+0.0025

000 0

0

0.0000

0.0000

FFC 0

-64

-0.0005

-0.0025

C00 0

-16384

-0.5002

-2.5010

804 0

-32704

-1.0000

-5.0000

800 0

-32768

-1.0020

-5.0098


The formula between the A/D data and the analog value is

where gain is 1 and K is a coefficient. For PCI-9812, K=2047x16=32752; for PCI-9810, K=511x64=32704.

 

 

6

C/C++ Software Library

There are 12 function calls provided by the C Language library. This library includes all the functions of PCI-9812/10. The capabilities of these function calls include A/D conversion, D/A conversion, Digital Input and Output, etc. In addition, there are some sample programs in this disk to help you use this library.

 

 

6.1 Installation

6.1.1 Backup Your Disk

The Utility Software and Library supplied with PCI-9812/10 is in DOS format which is compatible with DOS 3.0 or higher versions. It is advisable to make a back up copy before using the software.

 

For a direct back up, use the DISKCOPY or alternatively XCOPY *.* to a pre-formatted disk under DOS environment. The back up procedures are specified as follows:

step 1. Insert " Utility and Library" diskette into floppy drive A:

step 2. Insert your back-up diskette into floppy drive B:

step 3. XCOPY A: *.* B: /s or

DISKCOPY A: B:

6.1.2 Installation

step 1. Place "PCI-9812/10 Utility & Library" diskette into the appropriate 3.5" floppy drive ( A: or B:).

step 2. Type the command

A:\>SETUP or B:\>SETUP

step 3. An installation completed message will be showned on the screen.

 

 

6.2 C/C++ Programming Library

We defined some data type in 9812.h. These data types are used by PCI-9812/10 library. We suggest you to use these data types in your application programs. The following table shows the data type names and their range.

 

Type Name

Description

Range

U8

8-bit ASCII character

0 to 255

I16

16-bit signed integer

-32768 to 32767

U16

16-bit unsigned integer

0 to 65535

I32

32-bit signed integer

-2147483648 to 2147483647

U32

32-bit single-precision floating-point

0 to 4294967295

F32

32-bit single-precision floating-point

-3.402823E38 to 3.402823E38

 

6.2.1 _9812_Initial

@ Description

This function is used to initialize PCI_9812/10. Every PCI_9812/10 has to be initialized by this function before calling other functions.

@ Syntax

int _9812_Initial(int card_number, U16 *op_base_address,

U16 *pt_base_address, U8 *irq_no, U8 *pci_master)

@ Argument

card_number: the card number of PCI-9812/10 to be initialized, totally 4 cards can be initialized, the valid card numbers are CARD_1, CARD_2, CARD_3, CARD_4.

op_base_address : the physical location of S5933 operation Registers in I/O space.

pt_base_address : the physical location of add-on registers in pass-through I/O space

irq_no : the interrupt IRQ level of your PCI-9812 card, this available irq value is automatically assigned by system BIOS.

pci_master : BIOS enables or disables bus mastering in PCI Command Register

@ Return Code

PCICardNumErr

PCIBiosNotExist

PCIBaseAddrErr

NoError

 

6.2.2 _9812_Close

@ Description

This function is used to close a previously initialized 9812 card.

@ Syntax

int _9812_Close (int card_number)

@ Argument

card_number: the card number of PCI-9812 to be initialized, the valid card numbers are CARD_1, CARD_2, CARD_3, CARD_4.

@ Return Code

PCICardNumErr

PCICardNotInit

NoError

 

6.2.3 _9812_AD_DMA_Start

@ Description

This function will perform A/D conversion N times with DMA data transfer by using the pacer trigger (internal timer trigger). It will takes place in he background which will not stop until the Nth conversion has been completed or your program execute _9182_AD_DMA_Stop the process. After executing this function, it is necessary to check the status of the operation by using the function _9812_AD_DMA_Status().

@ Syntax

int _9812_AD_DMA_Start(int card_number, int ch_cnt, U32 *buff, U32 count)

@ Argument

card_number: the card number of PCI-9812 to be initialized, the valid card numbers are CARD_1, CARD_2, CARD_3, CARD_4.

ch_cnt: number of A/D channel enabled. The valid values are:

0: no channel is enabled

1: only channel 0 is enabled

2: channel 0, 1 are enabled, and the sequence of channel scan is 0, 1, 0, 1, …….

4: all channels are enabled, and the sequence of channel scan is 0, 1, 2, 3, 0, 1, 2, 3, …..

buff: the start address of the memory buffer to store the A/D data. The buffer size must be larger than the number of AD conversion. This memory should be double word alignment. The resolution of A/D data is 12-bits (for 9812) and 10-bits (for 9810). Please refer to section 5.8 for the A/D data format. The buff format is:

 

DATA 1

DATA 2

DATA 3

DATA 4

............

DATA N-1

DATA N

16-bit 16-bit 16-bit 16-bit 16-bit 16-bit 16-bit

 

Every 16-bit data:

D11 D10 D9 ................... D1 D0 b3 b2 b1 b0

 

where D11, D10, ... , D0 : A/D converted data (9812) or

D9, D8, ... , D0 : A/D converted data (9810).

b2, b1, b0 : digital input data from channel DI2, DI1, DI0.

b3: trigger detection flag,

0: no trigger is detected

1: trigger is detected

 

count: the number of A/D conversion.

@ Return Code

PCICardNumErr

PCICardNotInit

InvalidDMACnt

BufNotDWordAlign

DMATransferNotAllowed

NoError

 

6.2.4 _9812_AD_DMA_Status

@ Description

Since the _9812_AD_DMA_Start is executed on background, you can issue the function _ 9812_AD_DMA_Status to check its operation status.

@ Syntax

int _9812_AD_DMA_Status(int card_number, int *status, U32 *count, U32 *start_idx)

@ Argument

card_number: the card number of PCI-9812/10 to be initialized, the valid card numbers are CARD_1, CARD_2, CARD_3, CARD_4.

count: the number of A/D data that has been transferred.

status: status of DMA data transfer

0: DMA_done

1: DMA_continue

2: DMA_wait_trig

3: DMA_wait_delay

start_idx: The index where the data start from in user’s buffer, i.e the sequence of read data is:

buff[start_idx], buff[start_idx+1], _, buff[0], buff[1],_.,buff[start_idx-1].

@ Return Code

PCICardNumErr

PCICardNotInit

NoError

 

6.2.5 _9812_AD_DMA_Stop

@ Description

This function is used to stop the DMA data transferring. After executing this function, the _9812_AD_DMA_Start function stop. The function returns the number of data which has been transferred, no matter if the A/D DMA data transfer is stopped by this function or by the DMA terminal count ISR.

@ Syntax

int _9812_AD_DMA_Stop(int card_number, U32 *count)

@ Argument

card_number: the card number of PCI-9812 to be initialized, the valid card numbers are CARD_1, CARD_2, CARD_3, CARD_4.

count: the number of A/D data that has been transferred.

@ Return Code

PCICardNumErr

PCICardNotInit

NoError

 

6.2.6 _9812_Set_Clk_Src

@ Description

This function is used to specify the ADC clock source.

@ Syntax

_9812_Set_Clk_Src(int card_number, int clk_src, int ftpci)

@ Argument

card_number: the card number of PCI-9812/10 to be initialized, the valid card numbers are CARD_1, CARD_2, CARD_3, and CARD_4.

clk_src : the ADC clock source, the valid values are as follows:

0: INT_CLK: internal clock

1: SIN_CLK: external sin wave clock

2: SQR_CLK: external square clock

ftpci : Frequency selection.

AD2_GT_PCI: the frequency of A/D clock source is higher than PCI clock frequency.

AD2_LT_PCI: the frequency of A/D clock source is lower than PCI clock frequency.

@ Return Code

PCICardNumErr

PCICardNotInit

InvalidClkSrc

NoError

 

6.2.7 _9812_Set_Clk_Rate

@ Description

This function is used to specify the clock dividor for ADC clock.

@ Syntax

int _9812_Set_Clk_Rate(int card_number, U16 clk_div)

@ Argument

card_number: the card number of PCI-9812 to be initialized, the valid card numbers are CARD_1, CARD_2, CARD_3, and CARD_4.

clk_div: the ADC clock divisor, this value must be an even number and the minimum value is 2.

 

@ Return Code

PCICardNumErr

PCICardNotInit

InvalidClkDiv

NoError

 

6.2.8 _9812_Set_Trig

@ Description

This function is used to set up a trigger. The function specifies the trigger mode, trigger level (voltage), trigger source, trigger slope and post trigger count. Please refer to section 4.4~4.7 for the detailed description of trigger setting.

@ Syntax

int _9812_Set_Trig (int card_number, int trig_mode, int trig_src, int trig_pol, int trig_lvl, U16 post_trig_cnt)

@ Argument

card_number: the card number of PCI-9812 to be initialized, the valid card numbers are CARD_1, CARD_2, CARD_3, and CARD_4.

Trig_mode: selected trigger mode. The valid values are the following:

SOFT_TRIG: Software trigger

POST_TRIG: Post trigger

PRE_TRIG :Pre-trigger

DLY_TRIG : Delay trigger

MID_TRIG : Middle trigger

trig_src: selected trigger source, the valid trigger sources are:

CH0_TRIG : Channel 0

CH1_TRIG : Channel 1

CH2_TRIG : Channel 2

CH3_TRIG : Channel 3

AUX_TRIG : External digital trigger

 

trig_pol: trigger slope.

0: positive slope trigger

1: negative slope trigger

trig_lvl: trigger level. The relationship between the 8-bit trigger level and the trigger voltage is :

TRGLVL7..0(bit 7..0)

trigger voltage(± 1V)

trigger voltage(± 5V)

0xFF

0.992V

4.96V

0xFE

0.984V

4.92V

---

---

---

0x81

0.008V

0.04V

0x80

0.000V

0.00V

0x7F

-0.008V

-0.04V

---

---

---

0x01

-0.992V

-4.96V

0x00

-1.000V

-5.00V

 

post_trig_cnt: The post trigger count. This value is preloaded to the post trigger counter when the post trigger counter register is written. it will count down on the rising edge of ADC sampling clock after the trigger condition was met. When the count reaches 0, the counter stops. The counter is used to control the delay time in delay trigger mode and to control the post trigger sampling count in middle trigger mode.

@ Return Code

PCICardNumErr

PCICardNotInit

InvalidClkDiv

NoError

 

 

7

Calibration

In data acquisition process, how to calibrate your measurement devices to maintain its accuracy is very important. Users can calibrate the analog input and analog output channels under the users' operating environment for optimizing the accuracy. This chapter will guide you to calibrate your PCI-9812/10 to an accuracy condition.

 

7.1 What do you need

Before calibrating your PCI-9812/10 card, you should prepare some equipment’s for the calibration:

 

· Calibration program : Once the program is executed, it will guide you to do the calibration. This program is included in the delivered package.

· A voltage calibrator or a very stable and noise free DC voltage generator.

 

 

 

 

7.2 VR Assignment

There are five variable resistors (VR) on the PCI-9812/10 board to allow you making accurate adjustment on A/D and D/A channels. The function of each VR is specified as Table 7.1.

 

VR1

A/D channel 0 offset adjustment

VR2

A/D channel 1 offset adjustment

VR3

A/D channel 2 offset adjustment

VR4

A/D channel 3 offset adjustment

VR5

A/D channel 0 full scale adjustment

VR6

A/D channel 1 full scale adjustment

VR7

A/D channel 2 full scale adjustment

VR8

A/D channel 3 full scale adjustment

 

Table 7.1 Function of VRs

 

 

7.3 A/D Adjustment

7.3.1 AD Channel 0 Calibration

1. Apply a +1V input signal to A/D channel 0, and trim the VR5 to obtain the average reading of channel 0 between 2046~2047 (9812) or 510~511(9810).

2. Apply a +0V input signal to A/D channel 0, and trim the VR1 to obtain the average reading of channel 0 flickers between 0 to 1.

3. Repeat step 1 and step 2, adjust VR5 and VR1.

 

7.3.2 AD Channel 1 Calibration

1. Apply a +1V input signal to A/D channel 1, and trim the VR6 to obtain the average reading of channel 1 between 2046~2047 (9812) or 510~511(9810).

2. Apply a +0V input signal to A/D channel 1, and trim the VR2 to obtain the average reading of channel 1 flickers between 0 to 1.

    1. Repeat step 1 and step 2, adjust VR6 and VR2.

 

7.3.3 AD Channel 2 Calibration

1. Apply a +1V input signal to A/D channel 2, and trim the VR7 to obtain the average reading of channel 2 between 2046~2047 (9812) or 510~511(9810).

2. Apply a +0V input signal to A/D channel 2, and trim the VR3 to obtain the average reading of channel 2 flickers between 0 to 1.

3. Repeat step 1 and step 2, adjust VR7 and VR3.

 

7.3.4 AD Channel 3 Calibration

1. Apply a +1V input signal to A/D channel 3, and trim the VR8 to obtain the average reading of channel 3 between 2046~2047 (9812) or 510~511(9810).

2. Apply a +0V input signal to A/D channel 3, and trim the VR4 to obtain the average reading of channel 3 flickers between 0 to 1.

3. Repeat step 1 and step 2, adjust VR8 and VR4.

 

 

A calibration utility is supported in the software diskette which is included in the product package. The detailed calibration procedures and description can be found in the utility. Users only need to run the software calibration utility and follow the procedures. You will get the accurate measure data.

 

In normal condition, the PCI-9812/10 already calibrated by factor before it is shipped out. So, users do not need to calibrate your PCI-9812/10 when you get it.

 

8

Software Utility

This software disk provides a utility program, 9812util.exe. This program provides three functions, System Configuration, Calibration, and Functional Testing. This utility is designed as menu-driven based windowing style. Not only the text messages are shown for operating guidance, but also has the graphic to indicate you how to set right hardware configuration. This utility is described in the following sections.

 

 

8.1 Running 9812util.exe

After finishing the DOS installation, you can execute the utility by typing as follows (assume your utility is located in \ADLINK\DOS\9812\Util directory) :

 

C> cd \ADLINK\DOS\9812\Util

C> 9812UTIL

 

the following diagram will be displayed on you screen. The message at the bottom of each window guides you how to select item, go to next step and change the default settings.

 

 

 

 

 

****** PCI-9812/10 Utility Rev. 1.0 ******

Copyright © 1995-1997, ADLink Technology Inc. All rights reserved.

 

<F1> : Configuration.

<F2> : Calibration.

<F3> : Function testing.

<Esc>: Quit.

>>> Select function key F1 ~ F3, or press <Esc> to quit. <<<

 

 

 

8.2 System Configuration

This function guides you to configure the PCI-9812/10 card, and set the right hardware configuration. The configuration window shows the setting items that you have to set before using the PCI-9812/10 card.

 

The following diagram will be displayed on the screen as you choose the Configuration function from main menu.

 

 

 

 

 

 

 

 

****** Calibration of PCI9812/10 ******

 

<1> Card Type 9812

<2> ADC Trigger Source CH0

<3> Timer Clock Source Internal

<6> AD Input Range Bipolar(-1V~1V)

>>> <Up/Down>: Select Item, <PgUp/PgDn>: Change Setting <<<

 

 

 

8.3 Calibration

This function guides you to calibrate the PCI-9812/10. The calibration program serves as a useful test of the PCI-9812/10's A/D,D/A and DIO functions and can aid in troubleshooting if problems arise.

 

Note : For an environment with frequently large changes of temperature and vibration, a 3 months re-calibration interval is recommended. For laboratory conditions, 6 months to 1 year is acceptable

 

When you choose the calibration function from the main menu list, a calibration items menu is displayed on the screen. After you select one of the calibration items from the calibration items menu, a calibration window shows. The upper window shows the detailed procedures which have to be followed when you proceed the calibration. The instructions will guide you to calibrate each item step by step. The bottom window shows the layout of PCI-9812/10. In addition, the proper Variable Resister (VR) will blink to indicate the related VR which needs to be adjusted for the current calibration step.

 

****** PCI-9812 Calibration ******

 

<1> A/D channel 0 adjusting

<2> A/D channel 1 adjusting

<3> A/D channel 2 adjusting

<4> A/D channel 3 adjusting

<Esc> Quit

Select 1 to 4 or <Esc> to quit calibration.

 

 

If you select 3, the following figure displays on the screen:

 

8.4 Functional Testing

This function is used to test the functions of PCI-9812/10 A/D.

When you choose testing function from the main menu list, a function testing test window is displayed on the screen. The following is the figure of function testing window.

The message shown in the bottom indicates how to change the setting of trigger mode, trigger signal polarity, trigger level, channel number and post trigger count (for middle trigger and delay trigger). After you finish the setting mentioned above, push "Enter" key to start performing testing function. Using this function, you can test and view the different effect of various trigger modes. In addition, an arrow shown on the screen to indicate the trigger position. If the trigger source is also an enabled A/D channel, you can easily view the result of changing trigger level. The following figure is the snapshot of the post-trigger testing.

Product Warranty/Service

Seller warrants that equipment furnished will be free form defects in material and workmanship for a period of one year from the confirmed date of purchase of the original buyer and that upon written notice of any such defect, Seller will, at its option, repair or replace the defective item under the terms of this warranty, subject to the provisions and specific exclusions listed herein.

 

This warranty shall not apply to equipment that has been previously repaired or altered outside our plant in any way as to, in the judgment of the manufacturer, affect its reliability. Nor will it apply if the equipment has been used in a manner exceeding its specifications or if the serial number has been removed.

 

Seller does not assume any liability for consequential damages as a result from our products uses, and in any event our liability shall not exceed the original selling price of the equipment.

 

The equipment warranty shall constitute the sole and exclusive remedy of any Buyer of Seller equipment and the sole and exclusive liability of the Seller, its successors or assigns, in connection with equipment purchased and in lieu of all other warranties expressed implied or statutory, including, but not limited to, any implied warranty of merchant ability or fitness and all other obligations or liabilities of seller, its successors or assigns.

 

The equipment must be returned postage-prepaid. Package it securely and insure it. You will be charged for parts and labor if you lack proof of date of purchase, or if the warranty period is expired.

 



©1995 Circuit Specialists, Inc.