Keithley KPCMCIA-12AIAOH User Manual Download Page 12

 

1-2

Introduction

KPCMCIA-12AIAOH User’s Manual

 

Getting started

 

The KPCMCIA-12AIAOH PC card is a PCMCIA type II data acquisition system with four dif-
ferential or eight single-ended analog input channels. The number of input channels can be 
expanded to 128 with input expansion cards. Each channel has a bipolar input range from ±0.01V 
(gain = 1000), ±0.1V (gain =100), ±1V (gain =10), and ±10V (gain = 1) with programmable gains 
of 1, 10, 100, and 1000. The KPCMCIA-12AIAOH PC card supports sampling rates up to 100 
kHz at either 12-bit or 16-bit resolution.

Equipped with a data FIFO of 2048 samples, the KPCMCIA-12AIAOH PC card can achieve full 
speed data acquisition under Windows 95/98 and Windows NT. It also has a scan FIFO of the 
same size that supports full-speed, random-order channel scanning and gain selection for all the 
input channels (up to 128 channels when using the input expansion cards).

The KPCMCIA-12AIAOH PC card has a 24-bit pacer clock and a programmable divided-by-2, 
by-10, or by-100 pre-scaler. The pacer clock can also be used with an external clock source. With 
the 10MHz internal clock source, the pacer clock can generate accurate sampling rates from 
0.006Hz to 100kHz.

The KPCMCIA-12AIAOH PC cards are also equipped with two independent 12-bit D/A output 
channels with a bipolar output range from -5 to +5V. The D/A channels can be updated directly 
when writing to the corresponding D/A port (direct mode) or simultaneously when a synchroni-
zation signal (timer overflow, gate control goes low to high, or pacer clock fires) comes.

The analog trigger and pre-trigger are two new features added to the KPCMCIA-12AIAOH PC 
cards. One of the D/A channels (channel 1) can be used to set up the analog trigger level anywhere 
in the full input range of the A/D converter (±10V). The pre-trigger mode, when enabled, keeps 
the most recently received data samples in the data FIFO before the actual trigger comes so these 
samples can be recorded together with those after the trigger.

The 16-bit timer/counter with auto-reload and read-out latch provides independent timing for the 
D/A channels. It can also be used as an independent timer/counter for other purposes. The timer/
counter operates with internal or external clock sources and with internal or external gate control. 
Its latched read-out guarantees the integrity whenever the timer/counter’s content is referenced.

The KPCMCIA-12AIAOH PC card also has four digital input and four digital output channels, 
all are TTL compatible, which may be used for controlling or monitoring in addition to analog 
data acquisition.

The DriverLINX software drivers provided support various programming languages including 
Visual C/C++, Visual Basic and Delphi. A Dynamic Link Library (DLL) is provided for all types 
of programming languages under Microsoft Windows and Visual Basic Controls (VBX). The 
KPCMCIA-12AIAOH PC card also has turn-key software support for TestPoint with optional 
software support for LabView.

The KPCMCIA-12AIAOH PC card is packaged with a cable terminating in a 37-pin 
D-type female connector. Refer to Section 6 for a description of the connector pin assignments. 
For applications requiring discrete wire hook-ups, an optional screw terminal adapter is also 
available to convert the D-37 connector into 37 discrete screw terminal blocks.

Summary of Contents for KPCMCIA-12AIAOH

Page 1: ...KPCMCIA 12AIAOH Type II PCMCIA Card User s Manual A G R E A T E R M E A S U R E O F C O N F I D E N C E...

Page 2: ...ss such nonconformity in the Keithley Software Failure to notify Keithley of a nonconformity during the warranty shall relieve Keithley of its obligations and liabilities under this warranty Other Sof...

Page 3: ...KPCMCIA 12AIAOH Type II PCMCIA Card User s Manual 1999 Keithley Instruments Inc All rights reserved Cleveland Ohio U S A Second Printing July 2002 Document Number 98936 Rev B...

Page 4: ...into the manual Addenda are num bered sequentially When a new Revision is created all Addenda associated with the previous Revision of the manual are incorporated into the new Revision of the manual E...

Page 5: ...s that a shock hazard exists when voltage levels greater than 30V RMS 42 4V peak or 60VDC are present A good safety practice is to expect that hazardous voltage is present in any unknown circuit befor...

Page 6: ...components in mains circuits including the power transformer test leads and input jacks must be purchased from Keithley Instru ments Standard fuses with applicable national safety approvals may be use...

Page 7: ...of Operation Introduction 3 2 DC DC power supply 3 2 Analog input multiplexer 3 3 Programmable gain control 3 3 Scan list 3 3 Trigger circuit 3 4 A D converter and data FIFO 3 4 Interrupt and status 3...

Page 8: ...read only C 10 Digital output register base 3 write only C 11 Digital input register base 3 read only C 11 Pacer clock base 4 5 6 write only C 12 Command register base 7 write only C 12 Trigger arm co...

Page 9: ...eory of Operation Figure 3 1 State transition diagram of A D conversion process 3 6 4 I O Connections Figure 4 1 KPCMCIA 12AIAOH PC card D 37 output connector KCAB AIAO 4 3 C I O Registers Figure C 1...

Page 10: ...list queue entry bit definitions C 6 Table C 7 Scan list queue programming example 1 C 7 Table C 8 Scan list queue programming example 2 C 7 Table C 9 Control register bit definitions C 8 Table C 10 S...

Page 11: ...1 Introduction...

Page 12: ...rigger and pre trigger are two new features added to the KPCMCIA 12AIAOH PC cards One of the D A channels channel 1 can be used to set up the analog trigger level anywhere in the full input range of t...

Page 13: ...te sampling rates from 0 006Hz to 100kHz 0 to 100kHz with external clock source Software TTL or analog trigger with programmable threshold Pre trigger capability up to the size of the data FIFO Two 12...

Page 14: ...nt for repair include the following information Your name address and telephone number The invoice or order number and date of equipment purchase A description of the problem or its symptoms The RMA n...

Page 15: ...2 Installation...

Page 16: ...the adapter into any type II PCMCIA socket All other configuration options are determined by the DriverLINX software and operating system as discussed in your DriverLINX documentation Software setup...

Page 17: ...3 Theory of Operation...

Page 18: ...eatures are programmable Functionally the KPCMCIA 12AIAOH PC card consists of the following components DC DC power supply Analog input multiplexer Programmable gain control A D converter Data FIFO Sca...

Page 19: ...list entry via software The settling time of the analog front end meets the speed requirement However if the amplifier is saturated it may need a longer time to recover which may cause distortion in t...

Page 20: ...clock fires and the scan results are placed in the data FIFO However once the almost full threshold programmed as an integer multiple of the scan list length of the data FIFO is reached the least rece...

Page 21: ...e 3 write only of four output bits bits 0 to 3 The output port is latched but the input port is not Four input lines are connected to the digital input port each represents one bit in the port When re...

Page 22: ...ine moves from S1 to S4 which can be set to 10 s 20 s or 40 s If there are more channels to scan in the list the state machine will skip to S1 for another conversion loop Other wise it will return to...

Page 23: ...s In mode 1 the event is the timer overflow In mode 2 it is the external gate control going from low to high In mode 3 the event comes from the pacer clock In the synchronous update modes the data wor...

Page 24: ...lue written into the reload register denoted as X for the sake of the discussion determines the divisor or modulus for timing and counting Since the final count before reloading is always 65535 hexade...

Page 25: ...4 I O Connections...

Page 26: ...tput 22 27 DA1 D A channel 1 output 20 7 GND Power supply ground return 19 24 ExtClk shared with A D Timer Counter external clock input 18 8 ExtGate Timer Counter external gate control 17 11 ExtOut Ti...

Page 27: ...7 pin D shell connector If the cable is not identified as such do not use it with the KPCMCIA 12AIAOH PC cards Figure 4 1 KPCMCIA 12AIAOH PC card D 37 output connector KCAB AIAO 1 2 3 4 5 6 7 8 9 10 1...

Page 28: ...5 Optional Accessories...

Page 29: ...5 2 Optional Accessories KPCMCIA 12AIAOH User s Manual The following optional accessories are available from Keithley STP 37 STA U EXP 1600...

Page 30: ...A Specifications...

Page 31: ...eshold set in full A D input range 10V Rising falling directions 10mV hysteresis Sampling rate 0 006Hz to 100kHz with internal clock source External clock rate DC 5MHz NOTE In Paced mode the same inpu...

Page 32: ...ower consumption 210mA full power 70mA power down Operating temperature 0 to 50 C Storage temperature 0 to 70 C Humidity 0 to 95 non condensing Size cable not included Standard PCMCIA type II Weight 1...

Page 33: ...B PCMCIA Interface...

Page 34: ...hat is routable to any system interrupt via the PCMCIA socket controller Two sets of registers are on the KPCMCIA 12AIAOH PC card the configuration registers and program registers The configuration re...

Page 35: ...rd I O card Card configuration and status register CCSR Refer to Table B 3 The KPCMCIA 12AIAOH PC card uses two bits in this register When bit 1 is set to 1 it indicates a pending interrupt The bit wi...

Page 36: ...C I O Registers...

Page 37: ...rs can be accessed as 16 bit I O registers They can also be accessed with 8 bit I O instructions The remaining registers are 8 bit wide Each entry in Table C 1 is discussed in detail in the following...

Page 38: ...ation the 16 bit word read from or written into the register has different meanings as described in Table C 3 The selection bit in Table C 3 is also called the program access control bit as defined in...

Page 39: ...written into the FIFO will be returned The data FIFO reg ister is read only under this mode You cannot write data bytes into the data FIFO through I O instructions Mode setting The FIFO operation mode...

Page 40: ...e data FIFO register provided no more data bytes are written into the FIFO by the A D converter under mode 1 or 3 The same happens to the FIFO almost full flag if the data bytes available in the FIFO...

Page 41: ...aranteed The scan list queue is write only The scan list queue should be flushed before writing any entries into it Refer to Command reg ister base 7 write only for information about the scan list que...

Page 42: ...7 should always be set properly The internal channel is selected by bits 8 through 11 MSB while the internal gain for the selected channel is specified by bits 12 and 13 MSB The internal gain can onl...

Page 43: ...ng also indicates that all digital output lines bits 0 to 3 will be used for external channel selection and two of the four digital input lines bits 1 and 3 will be used for external gain selection A...

Page 44: ...r signal is chosen as the trigger edge if the bit is set to 1 Otherwise the rising edge is selected The edge selection will be ignored if the internal trigger source is specified For the analog trigge...

Page 45: ...flag It is 0 when the PC card is in the process of scan ning the input channels specified by the scan list and 1 when it is finished Bit 6 is the A D running flag A 1 here indicates that the A D is bu...

Page 46: ...egister base 3 read only As mentioned before two of the digital input lines are shared with external trigger bit 0 and external clock bit 2 The other two lines are also used for external gain control...

Page 47: ...counter is reloaded The pacer clock generation continues until the KPCMCIA 12AIAOH PC card receives the stop command represented by writing a 1 at bit 4 of the command register Refer to Com mand regis...

Page 48: ...up The flush command may also be followed by FIFO threshold programming After the FIFO is flushed the FIFO empty flag is set to 1 and the almost full and full flag reset to 0 The flush FIFO command al...

Page 49: ...his bit to 0 by writing an all 0 byte to the auxiliary control register Then send a flushA D FIFO command with the same bit setting by writing a byte of 40H hex 40 to the same register This setting wi...

Page 50: ...o 15 select the D A channel in which bits 13 14 and 15 must all be set to 0 and bit 12 is either set at 0 to select D A channel 0 or 1 to select D A channel 1 Refer to Table C 15 for bit definitions D...

Page 51: ...ay either be passed immediately into the output register direct update mode or loaded into the output register upon receiving the synchronous event synchronous update modes Bits 1 and 0 of the auxilia...

Page 52: ...Bits 3 and 4 in the auxiliary control register base 15 write determine the timer modes as sum marized in Table C 17 Mode 0 is used to reload the up counter Note that the reloading only takes place wh...

Page 53: ...s 65535 or hexadecimal FFFF Suppose D is the divisor also called modulus for counter of the timer and X is the value written into the reload register The relation between the two is D 65536 X The up c...

Page 54: ...mer counter port base 10 base 11 in this section for more information Bits 1 and 0 specify the D A update modes Refer to Section 3 and D A update modes in this section for more information Table C 18...

Page 55: ...by writing a 0 into bit 5 of the auxiliary control register Refer to Section 3 and Timer counter port base 10 base 11 in this section for more information Bit 5 tells whether the D A port buffer regis...

Page 56: ...CCSR B 3 Channel configuration C 7 Clock source C 8 Command register base 7 write only C 12 Configuration and option register COR B 3 Control register base 2 write only C 8 D D A channel output C 15 D...

Page 57: ...control 3 3 R Reading the contents of the timer counter C 18 S Scan list 3 3 Scan list queue programming C 6 Scan list queue register base 1 write only C 6 Scan rate selection C 15 Software setup 2 2...

Page 58: ...e 65 82110 Germering 089 84 93 07 40 Fax 089 84 93 07 34 GREAT BRITAIN Unit 2 Commerce Park Brunel Road Theale Berkshire RG7 4AB 0118 929 7500 Fax 0118 929 7519 INDIA Flat 2B Willocrissa 14 Rest House...

Reviews: