Home
Eagle Tech PCI30G32 User's Manual
Contents
1. Copyright 2002 22 PCI30FG User Manual Long EDREADX Start API CALL Long EDRE_ADStop ulng Sn Parameter Description Sn Unsigned long Board s serial number Return Long Error Code ACTIVEX CALL Long EDREADX Stop Parameter _ Description Return Long Error Code Getting data from the driver buffer A single call is necessary copy data from the driver buffer to the user buffer API CALL Long EDRE ADGetData ulng Sn plong Buf pulng BufSize Parameter _ Description Sn Unsigned long _ Board s serial number Buf Pointer to a long _ Buffer to copy micro voltages too buffer BufSize Pointer to an _ Size of buffer must be passed or number of unsigned long samples requested The returned value will indicate the number of actual samples copied to the buffer Return Long _ Error Code ACTIVEX CALL Long EDREADX GetData plong Buffer plong Size Parameter Description Buf Pointer to a long Buffer to copy micro voltages too buffer BufSize Pointer to a long Size of buffer must be passed or number of samples requested The returned value will indicate the number of actual samples copied to the buffer Return Long Error Code Querying the ADC subsystem The driver can be queried to check the status of the ADC subsystem The number of unread samples is one example Eagle Technology Copyright 2002 23 PCI30FG User Manual API CALL Lo
2. Check number times interrupted Error Codes Digital I O Codes DIOOUT DIOIN DIOINOROUT DIOINANDOUT 0 EDRE_OK EDRE_FAIL 1 _ Function call failed EDRE_BAD_FN 2 Invalid function call EDRE_BAD_SN 3 Invalid serial number EDRE_BAD_DEVICE 4 Invalid device EDRE_BAD_OS 5 _ Function not supported by operating system EDRE_EVENT_FAILED 6 Wait on event failed EDRE_EVENT_TIMEOUT 7 Event timed out EDRE_INT_SET 8 Interrupt in use EDRE_DA_BAD_RANGE 9 _ DAC value out of range EDRE_AD_BAD_CHANLIST 10 _ Channel list size out of range EDRE_BAD_FREQUECY 11 Frequency out of range EDRE_BAD_BUFFER_SIZE 12 Data passed by buffer incorrectly sized EDRE_BAD_PORT 13 Port value out of range EDRE_BAD_PARAMETER 14 Invalid parameter value specified EDRE_BUSY 15 System busy EDRE 10 FAIL 16 1O call failed EDRE_BAD_ADGAIN 17 ADC gain out of range EDRE_BAD_QUERY 18 Query value not supported EDRE_BAD_CHAN 19 Channel number out of range EDRE_BAD_VALUE 20 Configuration value specified out of range EDRE_BAD_CT 21 Counter timer channel out of range EDRE_BAD_CHANLIST 22 Channel list invalid EDRE_BAD_CONFIG 23 Configuration invalid EDRE_BAD_MODE 24 Mode not valid EDRE HW ERROR 25 Hardware error occurred EDRE_HW_BUSY 26 Hardware busy EDRE_BAD_BUFFER 27 _ Buffer invalid EDRE_REG_ERROR 28 _ Registry error occurred EDRE_OUT_RES 29 Out of resources
3. EDRE 10 PENDING 30 Waiting on I O completion Function successfully Port is an output Description Description Port is an input Port can be configured as in or out Portis an input and an output Eagle Technology Copyright 2002 30 PCI30FG User Manual C Layout Diagram Eagle Technology Copyright 2002 31 PCI30FG User Manual D Ordering Information For ordering information please contact Eagle Technology directly or visit our website www eagle co za They can also be emailed at eagle eagle co za PCI 30 G PCI 30 GA PCI 30 G32 PCI 30 GA32 PCI 30 F PCI 30 FA PCI 30 F32 PCI 30 FA32 Table D 1 Ordering Information Description 6 Channel analog input board 100 KHz 6 Channel analog input and 4 channel analog output oard 100 KHz 2 Channel analog input board 100KHz 2 Channel analog input and 4 channel analog output oard 100 KHz 6 Channel analog input board 330 KHz 6 Channel analog input and 4 channel analog output oard 330 KHz 2 Channel analog input board 330 KHz 32 Channel analog input and 4 channel analog output oard 330 KHz Please visit our website to have a look at our wide variety of data acquisition products and accessories Eagle Technology Copyright 2002 32
4. PCI30FG Series PCI PnP Analog Input Board J User s Manual PCI30G PCI30GA PCI30G32 PCI30GA32 PCI30F PCI30FA PCI30F32 PCI30FA32 Eagle Technology Cape Town South Africa Copyright 1999 2002 www eagledaq com PCI30FG User Manual Analog Input Boards Data Acquisition and Process Control Eagle Technology 31 35 Hout Street e Cape Town e South Africa Phone 27 21 423 4943 e Fax 27 21 424 4637 Email eagle eagle co za Eagle Technology Copyright 2002 i PCI30FG User Manual Copyright All rights reserved No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or any means electronic mechanical by photographing recording or otherwise without prior written permission Copyright Eagle Technology South Africa August 2002 Revision 1 2 Information furnished in this manual is believed to be accurate and reliable however no responsibility is assumed for its use or any infringements of patents or other rights of third parties which may result from its use Trademarks and Logos in this manual are the property of their respective owners Product Warranty Eagle Technology South Africa warrants its products from defect in material and workmanship from confirmed date of purchase for a period of one year if the conditions listed below are met The product warranty will call the Eagle Technology Data Acquisition Device short as ETDAQD
5. Query a board s type Query a board s revision Query a board s manufactured year Query a board s manufactured month Query a board s manufactured day Query a board s serial number Query a driver s major version number Query a driver s minor version number Query a driver s build version number Query number of ADC channel Query number of samples and hold channels Query maximum sampling frequency Check if ADC system is busy Get ADC hardware FIFO size lt Check for FIFO overrun condition Check software buffer size Check for circular buffer overrun Check if software buffer is allocated Get number of samples available Get status of external clock line PCI30FG Get status of external trigger line PCI30FG Check if burst mode is enabled Get ADC range Query number of DAC channels Query maximum DAC output frequency Check if DAC system is busy Get DAC FIFO size Query number of counter timer channels Check if counter timer system is busy Query number of digital I O ports Query a specific port for capabilities Get a specific port s width Query number of interrupts sources Eagle Technology Copyright 2002 29 PCI30FG User Manual INTSTATUS 501 Queries interrupt system s status INTBUSCONNECT 502 Connect interrupt system to bus INTISAVAILABLE 503 Check if an interrupt is available INTNUMTRIG 504
6. e The warranty does not apply to an ETDAQD that has been previously repaired altered extended by any other company or individual outside the premises of Eagle Technology e That a qualified person configure and install the ETDAQD and damages caused to a device during installation shall make the warranty void and null e The warranty will not apply to conditions where the ETDAQD has been operated in a manner exceeding its specifications Eagle Technology South Africa does not take responsibility or liability of consequential damages project delays damaging of equipment or capital loss as a result of its products Eagle Technology South Africa holds the option and final decision to repair or replace any ETDAQD Proof of purchase must be supplied when requesting a repair Eagle Technology Copyright 2002 ii PCI30FG User Manual TABLE OF CONTENTS 1 INTRODUCTION Features Applications Key Specifications Software Support 2 INSTALLATION Package Hardware Installation Software Installation Windows 98 Post installation Windows NT 2000 Configuration Accessories 3 INTERCONNECTIONS External Connectors Pin Assignments Signal Definitions Analog Input Single Ended Inputs Differential Inputs Analog Output Digital Input Output Counter Timer 4 PROGRAMMING GUIDE EDR Enhanced API 22 on A 10 10 10 12 12 12 13 14 14 14 15 15 Eagle Technology Copyright 2002 PCI30FG
7. User Manual Digital Inputs Outputs 16 Reading the Digital Inputs 16 Writing to the Digital Outputs 16 Counters 17 Writing the initial counter value 17 Reading a counter 17 Configuring a counter 18 Analog Output 19 Writing to a DAC channel 19 Analog Input 20 Reading a single voltage from a channel 20 Configuring the ADC subsystem for scanning 20 Starting and Stopping the ADC process 22 Getting data from the driver buffer 23 Querying the ADC subsystem 23 5 CALIBRATION 25 Requirements 25 Software 25 Connection 26 Variable Resistor Description 26 A D Calibrating Procedure 27 Calibrating the PCI30Gx series ZI A SPECIFICATION 28 B CONFIGURATION CONSTANTS 29 Query Codes 29 Error Codes 30 Digital I O Codes 30 C LAYOUT DIAGRAM 31 D ORDERING INFORMATION 32 Eagle Technology Copyright 2002 iv PCI30FG User Manual Table of Figures Figure 2 1 Add New Hardware Wizard Step1 sssnseesesoensennseseeeseseeeseeseeseseeene 4 Figure 2 2 Add New Hardware Wizard Step2 5 Figure 2 3 Add New Hardware Wizard Step3 cccccccccceeeeeeeeeeeeeeeeeeeeeeeeeees 5 Figure 2 4 Add New Hardware Wizard Step4 6 Figure 2 5 Add New Hardware Wizard Step5 6 Figure 2 6 Restart Your Computer 7 Figure 2 7 System Properties 7 Figure 2 8 Eagle DA ent ent Ne nat eee ee
8. channel Make sure to set the Gain and Range properties of the ADC ActiveX control This will in turn set the range and gain when reading the ADC channel Configuring the ADC subsystem for scanning This is the most complicated part of configuring the PCI703 for auto scanning Make sure that you use the correct format when applying the channel list configuration There are many loopholes and care should be taken when implementing code to configure the PCI703 API CALL Long EDRE_ADConfig ulng Sn pulng Freq ulng CikSrc ulng Burst ulng Range pulng ChanList pulng GainList ulng ListSize The following parameters must be specified when configuring the ADC sub system Eagle Technology Copyright 2002 20 PCI30FG User Manual Parameter Unsigned long Pointer to an unsigned long Unsigned long Sn Freq ClkSrc ChanList GainList ListSize Unsigned long Unsigned long Pointerto lt an unsigned long Pointer to an unsigned long Unsigned long _ Description Board s serial number Sampling frequency The actual sampling frequency will be returned with this parameter _ 0 Internal and to External Gate 1 Internal 2 External Clock _ 3 External Clock and Gate 0 Normal Mode 1 Burst Mode _ 0 5V to 5V Single Ended 1 0 to 10V Single Ended 2 10V to 10V Single Ended 3 5V to 5V Differential lt 4 0 to 1
9. male Pin Assignments The table below shows the pin assignments for the PCI30FG 5V EXT TRIG DGND DAC3 DAC2 DAC1 DACO AGND AGND CHANO CHAN2 CHAN4 CHANG CHAN8 CHAN10 CHAN12 CHAN13 Eagle Technology Copyright 2002 10 PCI30FG User Manual CHAN14 CHAN15 CHAN16 CHAN17 CHAN18 CHAN19 CHAN20 CHAN21 CHAN22 CHAN23 CHAN24 CHAN25 CHAN26 CHAN27 CHAN28 CHAN29 CHAN30 CHAN31 Table 3 3 External DIO CT Connector DB 37M Eagle Technology Copyright 2002 PCI30FG User Manual Signal Definitions This sections deal with all the signals abbreviations Signal _ Description CHANO 31 Analog input channel DACO 3 _ Analog output channel SENSE0 3 Sensing line for analog output channel PAO 7 Port on PPI PBO 7 Port Bon PPI PCO 7 Port C on PPI CNTO 2 User counter clock input COUTO 2 User counter clock output CGTE0O 2 User counter gate CLK2 Internal counter input OUT2 Internal counter output Table 3 4 Signal definitions OVERLOADING ANY ANALOGUE INPUT BY MORE THAN 10 MAY CAUSE OTHER INPUT CHANNELS TO BECOME INACCURATE OR NOISY FOR PCI30FG INPUTS OPERATING AT MAXIMUM GAIN THIS CORRESPONDS TO AN INPUT VOLTAGE OF 5 5 mV Analog Input Analog signals are connected either as single ended or differential inputs Single Ended Inputs With single ended inputs connections share a common low reference that is connected to analog ground See figure below The advantage
10. of such a connection is that you have a maximum number of inputs Its major disadvantage is the loss of common mode rejection obtainable from differential mode Single ended inputs are very sensitive to noise lead lengths should be kept as short as possible Eagle Technology Copyright 2002 12 PCI30FG User Manual vo Figure 3 1 Single ended analog input Differential Inputs In differential input mode two multiplexer switches per channel are used The A D converter measures the difference in potential between the two channels Channels are paired to form a single differential input Channel 0 and channel 8 is used as channel 0 channels 1 and 9 etc To connect see diagram below It is also very important to know that each return connection must be referenced to analog ground O x i eS CHO RET X NANA gt CH7 RET AGND Figure 3 2 Differential Analog Inputs Eagle Technology Copyright 2002 13 PCI30FG User Manual In differential mode all signal inputs to the PCI30FG must be referred to ground This can be done by connecting a 1 to 10 k3 resistor from the low end of each input to ground Analog Output The analog outputs come with sense lines and it is important to make sure that they are connected to the correct channel If left unconnected the output will simple float at 10V or 10V The analog output range is 10V and is fully software co
11. the S models for the are always differential Eagle Technology Copyright 2002 21 PCI30FG User Manual WARNING N In normal sampling mode channels are sampled sequentially according to the given channels list The time spacing between each channel is the same as the frequency in normal mode The maximum frequency is the same as the maximum speed of the board N In burst mode the all channels in the channel list is converted as fast as possible depends on the A D converter speed every period The period is the same as the sampling frequency The maximum sampling frequency is the maximum frequency of the board divided by the number of channels in the channel list Frequency Example Normal Mode Burst Mode Frequency 100 000 Hz Max of Board 100 000 Hz Channel List Length 10 Frequency 20 000 Hz Time 10 uS Channel List Length 10 Time between channels 10 uS Max Frequency 2 000 Hz Time 500 uS Time between channels 10 uS ADC Rating Time between sets 50 uS EDREADX ClockSource ClockSource 0 Internal and to External Gate 1 Internal _ 2 External Clock 3 External Clock and Gate Starting and Stopping the ADC process A single call is necessary to start or stop the ADC process API CALL Long EDRE_ADStart ulng Sn Parameter Type Description Sn Unsigned long _ Board s serial number Return Long Error Code ACTIVEX CALL Eagle Technology
12. 0V Differential ACTIVEX CALL Parameter Channels Gains ListSize Type Pointerto an unsigned long Pointerto lt an unsigned long Unsigned long Long EDREADX Configure plong Channels plong Gains long ListSize Description This is an array of unsigned longs that contains the gains of channels to be and bipolar The Frequency and ClockSource ADC ActiveX control must be setup before calling the configure function EDREADX Frequency 5 10V to 10V Differential This is an array of unsigned longs that contains the gains of channels to be sampled when scanning the ADC sub system The max size of the channel list is 64 This is an array of unsigned longs that contains the channels to be sampled when scanning the ADC sub system The max size of the channel list is half the FIFO depth _ This parameter determines the length the two previous arrays This is also the depth of the channel list that is programmed to the board sampled when scanning the ADC sub system The max size of the channel list is half the FIFO depth This is an array of unsigned longs that contains the channels to be sampled when scanning the ADC sub system The max size of the channel list is half the FIFO depth This parameter determines the length the two previous arrays This is also the depth of the channel list that is programmed to the board The range code does not apply to
13. 1 Counter Assignment Writing the initial counter value A single call is necessary to write a counter s initial load value API CALL Long EDRE_CTWrite uIng Sn ulng Ct ulng Value The serial number counter number and a value must be passed by the calling function A return code will indicate if any errors occurred ACTIVEX CALL Long EDRECTX Write long Port ulng Value The port number and value to be written needs to be passed and the returned value holds an error or the value read If the value is negative an error did occur Reading a counter A single call is necessary to read a counter s current value API CALL Long EDRE_CTRead uIng Sn ulng Ct pulng Value The serial number counter number and a pointer must be passed by the calling function A return code will indicate if any errors occurred The value buffer will hold the value read from the counter ACTIVEX CALL Long EDRECTX Read long Port The port number needs to be passed The returned value will either hold the error code or the value read from the counter If negative it means an error occurred otherwise it is the value read from the counter Eagle Technology Copyright 2002 17 PCI30FG User Manual Configuring a counter A single call is necessary to configure a counter An external clock must clock the first three counters but the internal 8MHz clock clocks the fourth counter API CALL Long EDRE CTConfig ulng Sn ulng Ct ulng Mode ulng
14. 8 Figure 2 9 A D Span Jumper street later 9 Figure 3 1 Single ended analog input 44444444 13 Figure 3 2 Differential Analog Inputs 13 Figure 4 A EDR Enhanced Design 15 Figure 6 1 A D Calibration Connections 26 Eagle Technology Copyright 2002 V PCI30FG User Manual Table of Tables Table 3 1 External Analog Connector SCSI II 50F CENT 11 Table 3 2 Internal DIO CT Connector IDC 40M ccecceseeeeeeeeeeeeeeeeeeee 11 Table 3 3 External DIO CT Connector DB 37M ssssssssssnnnseseessennnnrrrreeennnnnn 11 Table 3 4 Signal definitions nnna 12 Table 4 1 Counter Assignment 17 Table 4 2 Counter Configuration 18 Table 6 1 VR Assignment ss 26 Table D 1 Ordering Information ss 32 Eagle Technology Copyright 2002 Vi PCI30FG User Manual 1 Introduction The PCI30FG series are 32 bit bit PCI bus architecture data acquisition boards They are available in two basic models the G and F series They can samples at 100kHz or 330kHz respectively Addition to analog input they also have analog output digital input output and counter timer capabilities For this reason the PCI30FG is an excellent all purpose
15. Type ulng CikSrc ulng GateSrc The serial number counter number mode type clock source and gate source is needed to specify a counter s configuration A return code will indicate if any errors occurred ACTIVEX CALL Long EDRECTX Configure long ct long mode long type ulng source ulng gate The counter number mode type clock source and gate source is needed to specify a counter s configuration A return code will indicate if any errors occurred Only the counter mode parameter is used by the PCI30FG The table below shows the options for each parameter Parameter __ Description lt Serial Number Counter Number _ 0 User Counter 0 _ 1 User Counter 1 2 User Counter 2 3 User Counter 3 8254 Counter Mode See 8254 datasheet for details _ Not Used _ Not Used Not Used Table 4 2 Counter Configuration How to latch all counters The 8254 counters support a function where all counters can be latched at the same time The PCI30FG driver supports this function through a query call to the driver This will only work on the first 3 user counters Example Unsigned long sn 1000000001 EDRE_Query sn CTLATCALL 302 0 Eagle Technology Copyright 2002 18 PCI30FG User Manual Analog Output The PCI30FG A version has 4 x 12 bit DAC channels that support single write Writing to a DAC channel A single call is necessary to set a voltage on a DAC channel API CALL Long EDRE_DAWrite ulng Sn u
16. able interrupt controller gt ai CL 4 gt Properties Refresh Remove Print Cancel Figure 2 7 System Properties e Clearly you can see that the PCI36C is listed and working properly Eagle Technology Copyright 2002 7 PCI30FG User Manual e Further open the control panel and then the EagleDAQ folder This dialog should list all installed hardware Verify your board s properties on this dialog See picture below EDRE DAQ Board Configuration amp Information x EDA Enhanced Software Development Kit E D R Eagle Technology ENHANCED Copyright c 1994 2000 GS D K Cape Town South Afica http www eagle co za email eagle eagle co za EDRE API Information EDRE API Version fB 30 Opering System Windows 95 98 xD Installed Boards Board Information A PCI36C 24 Ch DIO Board 16 O C Outputs 100000001 Board Type F2 Driver Version fi 1 6 Manufactured On 27 6 2000 Revision F2 Figure 2 8 EagleDAQ Now the first part of your installation has been completed and ready to install the EDR Enhanced Software Development Kit e Run setup exe found on the EDR Enhanced SDK CD Rom and follow the on screen instructions Windows NT 2000 Windows NT 2000 does not require any special setup procedure The Windows NT driver does not support plug and play If Windows 2000 detects a new device simply install a default driver or so called p
17. ain pot F Version 5V A D Bipolar gain pot F Version 10V A D Bipolar offset pot F Version 10V Table 5 1 VR Assignment Eagle Technology Copyright 2002 26 PCI30FG User Manual A D Calibrating Procedure Calibrating the PCI30Gx series Bipolar Mode 1 Adjust A D for maximum gain ie 1000 and apply 0 00mV to channel 1 All other channels must be connected to analog ground Adjust VR1 the instrumentation amplifier offset pot for 800H 2 Set A D for a gain of 1 and apply FS 2LSB to channel 1 ie 4 9988V for Eagle Technology Copyright 2002 27 PCI30FG User Manual A Specification Specifications where not available on day of print Please visit our website or request a product datasheet from us Eagle Technology Copyright 2002 28 PCI30FG User Manual B Configuration Constants Query Codes APIMAJOR APIMINOR APIBUILD APIOS APINUMDEV BRDTYPE BRDREV BRDYEAR BRDMONTH BRDDAY BRDSERIALNO DRVMAJOR DRVMINOR DRVBUILD ADNUMCHAN ADNUMSH ADMAXFREQ ADBUSY ADFIFOSIZE ADFIFOOVER ADBUFFSIZE ADBUFFOVER ADBUFFALLOC ADUNREAD ADEXTCLK ADEXTTRIG ADBURST ADRANGE DANUMCHAN D3AMAXFREQ DABUSY DAFIFOSZ CTNUM CTBUSY DIONUMPORT DIOQRYPORT DIOPORTWIDTH INTNUMSRC Description Query EDRE API major version number Query EDRE API minor version number Query EDRE API build version number Query EDRE API OS type Query number of devices installed
18. configure the PCI30FG for the first time Minimal configuration is necessary almost all settings are done through software The PCI BIOS will assign an I O base address and interrupt level Package PCI30FG package will contain the following e PCI30FG PCI board e EDR Enhanced Software Development Kit CD Rom Hardware Installation This section will describe how to install your PCI30FG into your computer e Switch off the computer and disconnect from power socket Failure to disconnect all power cables can result in hazardous conditions as there may be dangerous voltage levels present in externally connected cables e Remove the cover of the PC e Choose any open PCI slot and insert PCI30FG e Insert bracket screw and ensure that the board sits firmly in the PCI socket Install digital I O connector cable Replace the cover of the PC Reconnect all power cables and switch the power on The hardware installation is now completed Eagle Technology Copyright 2002 3 PCI30FG User Manual Software Installation Windows 98 Installing the Windows 98 device driver is a very straightforward task Because it is plug and play Windows will detect the PCI30FG as soon as it is installed No setup is necessary You simply only have to supply Windows with a device driver Wait until Windows detects the new hardware Add New Hardware Wizard Figure 2 1 Add New Hardware Wizard Step1 Select Next Eagle Tech
19. data acquisition device with extensive analog input capabilities Features The PCI30FG does have some very unique features and are short listed below e 32 bit PCI bus Revision 2 1 compliant e 8 16 differential or 16 32 single ended A D inputs e 2K word A D FIFO e Auto channel scanning e Software controlled input ranges and gains e 3 x 8 bit I O ports e 4x 16 bit user counter timers Applications The PCI30FG can be used in the following applications Voltage monitoring Voltage control FFT signal calculation General process control Frequency measurement Pulse counting Eagle Technology Copyright 2002 1 PCI30FG User Manual Key Specifications A D resolution 12 bits D A resolution 12 bits DIO width 8 bits CT width 16 bits A D non linearity less than 0 75LSB A D ranges 5V 10V 0 10V A D scan rate 100kHz or 330kHz A D D A interfaces via a 50 way SCSI right angle female centronics connector e Digital l O Counter timer via IDC40 Header Software Support The PCI30FG is supported by EDR Enhanced and comes with an extensive range of examples The software will help you to get your hardware going very quickly It also makes it easy to develop complicated control applications quickly All operating system drivers utility and test software are supplied on a CD Rom Eagle Technology Copyright 2002 2 PCI30FG User Manual 2 Installation This chapter describes how to install and
20. e hardware The EDRE API make it possible to write one application that can be used on all hardware with common sub systems The PCI30FG can also be programmed at register level but it is not recommended A detailed knowledge of the PCI30FG is needed and some knowledge about programming Plug and Play PCI devices We recommend that you only make use of the software provided by Eagle Technology EDR Enhanced API The EDR Enhanced SDK comes with both ActiveX controls and a Windows DLL API Examples are provided in many different languages and serve as tutorials EDRE is also supplied with a software manual and user s guide The EDRE API hides the complexity of the hardware and makes it really easy to program the PCI30FG It has got functions for each basic sub system and is real easy to learn Figure 4 A EDR Enhanced Design Eagle Technology Copyright 2002 15 PCI30FG User Manual Digital Inputs Outputs The PCI30FG has 24 digital I O lines configured as 3 x 8 bit ports The EDRE API supports auto direction configuration By writing to or reading from a port it is automatically configured as an output or input A port is defined as a collection of simultaneous configurable entities Thus in the case of the PCI30FG each port is only 8 bits wide Reading the Digital Inputs A single call is necessary to read a digital I O port API CALL Long EDRE_DioRead ulng Sn ulng Port ulng Value The serial number port and a po
21. installing the software that your new hardware device requires Figure 2 5 Add New Hardware Wizard Step5 Click on the finish button to complete the installation Click Yes to restart your computer Eagle Technology Copyright 2002 6 PCI30FG User Manual System Settings Change EZ To finish setting up your new hardware you must restart your computer Do you want to restart your computer now Figure 2 6 Restart Your Computer Post installation After your installation was complete there is a few steps that can be followed to check that your installation was successful e First make sure that the driver is working properly by opening the system folder in the control panel e Check under the system device list if your board is listed and working properly See picture below System Properties x General Device Manager Hardware Profiles Performance View devices by type C View devices by connection m System devices a m Advanced Power Management support Direct memory access controller m Intel 82371EB PCI to ISA bridge ISA mode Ml Intel 82371EB Power Management Controller m Intel 82443BX Pentium r I Processor to AGP controller m Intel 82443BX Pentiumir Il Processor to PCI bridge with G m 10 read data port for ISA Plug and Play enumerator m Motherboard resources m Numeric data processor m PCI bus m PCI36C Digital 1 0 Board m Plug and Play BIOS m Processor support m Programm
22. inter to variable to hold the result must be passed by the calling function A return code will indicate if any errors occurred ACTIVEX CALL Long EDREDioX Read long Port Only the port number needs to be passed and the returned value will either hold an error or the value read If the value is negative an error did occur Writing to the Digital Outputs A single call is necessary to write to a digital I O port API CALL Long EDRE_DioWrite uIng Sn uing Port ulng Value The serial number port and a value must be passed by the calling function A return code will indicate if any errors occurred ACTIVEX CALL Long EDREDioX Write long Por ulng Value The port number and value to be written needs to be passed and the returned value holds an error or the value read If the value is negative an error did occur Eagle Technology Copyright 2002 16 PCI30FG User Manual Counters The counter sub system is supported by functions to Write Read and Configure There are 4 counters that are available to the user and are compatible with the industry standard 8254 counter timer The table below shows all counters and their assigned function on the board Please note that only some are available for the user The 8254 datasheet has more information on the counter timer modes Counter Software Assigned Description ADC clock _ ADC prescaler User Counter 3 User Counter 0 User Counter 1 _ User Counter 2 Table 4
23. laceholder To install the Windows NT 2000 drivers simply run setup exe on the EDR Enhanced CD Rom This will automatically install the device drivers Restart your computer when done Open the EagleDAQ folder in the control panel to check if your installation was successful Figure 2 8 shows a successful installation Eagle Technology Copyright 2002 8 PCI30FG User Manual Configuration Only the PCI30Gx series allows one manual setting The PCI30Gx series has one jumper LK1 to change the voltage span The figure below shows the two different jumper settings LK1 10 VS PAN ses 20 VS PAN Figure 2 9 A D Span Jumper Accessories The PCI30FG does have a wide variety of accessories that it can be connected too See chapter on accessories Eagle Technology Copyright 2002 9 PCI30FG User Manual 3 Interconnections The PCI30FG is designed so that there is a connector for analog signals and digital signals The analog connector is on the bracket attached to the board and the other a connector on the PCB internal to the PC External Connectors The PCI30FG does have two connectors a SCSI II 50 female centronics and an IDC40 male The ICD40M can also be extended to the computer casing by making use of an extender cable and bracket that is supplied with the PCI30FG package The extender cable will make the digital I O and counter timer signals available outside the computer casing The connector is a DB37
24. lng Channel long uVoltage The serial number DAC channel and micro voltage is needed to set a DAC channels voltage A return code will indicate if any errors occurred ACTIVEX CALL Long EDREDAX Write long Channel long uVoltage The DAC channel and micro voltage is needed to set a DAC channel s voltage A return code will indicate if any errors occurred Eagle Technology Copyright 2002 19 PCI30FG User Manual Analog Input The PCI30FG s ADC subsystem is fully configurable and supports single channel reading and out scanning While scanning a channel list and gain list can be provided Channels are scanned in the same sequence provided in the channel list Reading a single voltage from a channel To read a single ADC channel you need to know the voltage range and gain API CALL Long EDRE_ADSingle ulng Sn ulng Channel ulng Gain ulng Range plong uVoltage Parameter Sn Unsigned long oard s serial number Channel Unsigned long DC Channel Gain Unsigned long Gain x 1 Gain x 10 Gain x 100 Gain x 1000 Range Unsigned long 5V to 5V Single Ended 0 to 10V Single Ended 10V to 10V Single Ended 5V to 5V Differential 0 to 10V Differential 10V to 10V Differential uVoltage Pointer to a long oltage read from channel Return Long Error Code ACTIVEX CALL Long EDREADX SingleRead long Channel Parameter Description Return Long Voltage returned from
25. nfigurable The EDR Enhanced driver support auto ranging and will always select the range with the best possible resolution For normal operation simply connect SENSEO to DACO Digital Input Output The PCI30FG has got 3x8 bit digital I O ports that are fully configurable as inputs or outputs The digital I O uses a chip that is fully compatible with the Intel 8255 programmable peripheral interface Make sure not to overload the PPI because it will cause serious damage and will need to be repaired OVERLOADING ANY DIGITAL I O LINE WILL CAUSE SERIOUS DAMAGE TO THE DIGITAL 1 0 CHIP OPERATING OUTSIDE THE TTL VOLTAGE RANGE WILL CAUSE PERMANENT DAMAGE TO THE DIGITAL I O CONTROL CIRCUIT Counter Timer There are six counter timers on the PCI30FG of which four are available for the user Two are used for A D timing The timers are compatible with the Intel 8254 counter timer device The 8254 counter timer datasheets can be used as reference for configuring the counter timer sub system There is no onboard clock for the user counter timers and an external clock is required Eagle Technology Copyright 2002 14 PCI30FG User Manual 4 Programming Guide The PCI30FG is supplied with a complete software development kit EDR Enhanced EDRE SDK comes with drivers for many operating systems and a common application program interface API The API also serves as a hardware abstraction layer HAL between the control application and th
26. ng EDRE_Query ulng Sn ulng QueryCode ulng Param Parameter _ Description Sn Unsigned long Board s serial number QueryCode Unsigned long Query code See appendix Example ADUNREAD This will tell you the number of available samples ADBUSY Is the ADC subsystem busy Param Unsigned long _ Extra parameter Return _ Long _ Returned query code ACTIVEX CALL Long EDREADX GetUnread This function automatically queries the ADC driver buffer for the number of available samples Eagle Technology Copyright 2002 24 PCI30FG User Manual 5 Calibration This chapter contains information to calibrate the A D and D A sub systems of the PCI30FG The PCI30FG is calibrated during the manufacturing test and therefore does not require recalibration under normal conditions However under extreme conditions or to optimize accuracy the board needs to be recalibrated Allow the host PC and the board to warm up for at least one hour before calibration Requirements 1 Precision voltage source Range 10V to 10V with an absolute accuracy better than 0 005 resolution 100nV or better 2 Precision digital multimeter with 10V range absolute accuracy better than 0 0005 resolution 100nV or better 3 Calibration software This is supplied with the software package 4 Calibration is only done on channel 1 5 Use the recommended connector wiring as in figure 7 1 6 Calibration is performed
27. nology Copyright 2002 4 PCI30FG User Manual Add New Hardware Wizard What do you want Windows to do Display a list of all the drivers in a specific location so you can select the driver you want Back Cancel Figure 2 2 Add New Hardware Wizard Step2 Select default option search for best driver and select next Add New Hardware Wizard Windows will search for new drivers in its driver database on your hard drive and in any of the following selected locations Click Next to start the search T Floppy disk drives I CD ROM drive T Microsoft Windows Update IV Specify a location JENDRIVERSSWINSX PCI36C v Browse pe Figure 2 3 Add New Hardware Wizard Step3 Select specify a location and enter the directory location of the driver on your EDR Enhanced SDK CD Rom lt CDROM gt EDRE DRIVERS WDM PCI30FG Select Next to proceed Eagle Technology Copyright 2002 5 PCI30FG User Manual Add New Hardware Wizard Windows driver file search for the device PCI36C Digital 1 0 Board Windows is now ready to install the best driver for this device Click Back to select a different driver or click Next to continue Location of driver Figure 2 4 Add New Hardware Wizard Step4 Windows should have detected the proper driver and ready to install it Select Next to proceed Add New Hardware Wizard L PCI36C Digital 1 0 Board Windows has finished
28. with the board jumpered into its intended operating mode 7 Use screened cable and make them as short as possible to reduce noise and loss Software A special software program is required to calibrate the PCI30FG This software program comes with the PCI30FG and can be found on the EDR Enhanced Software CD The software is located in the utils pci30fg directory Eagle Technology Copyright 2002 25 PCI30FG User Manual The program runs under dos and make sure that you do not run it ina Windows command box or on Windows NT Follow the on screen instructions or the directions in the calibration section Connection Figure 7 1 shows the connection diagram for calibrating your PCI30FG It is very important that channels that are not used be grounded to analog ground Also make sure that your voltage source is in perfect working order because the accuracy of the board will depend on the accuracy of you calibration equipment PCI30FG VOLTAGE CALIBRATOR Figure 5 1 A D Calibration Connections Variable Resistor Description Below is a table that shows the function of each pot on the PCI30FG Only a few are used at a time depending on the version of PCI30FG Description A D OpAmp offset pot F amp G Version A D Bipolar offset pot G Version A D Monopolar offset pot G Version Bipolar F 5V D A Reference Voltage A D Bipolar gain pot G Version A D Monopolar gain pot G Version A D Bipolar g
Download Pdf Manuals
Related Search
Related Contents
Nikon D700 User Manual CMF Furnace DUVRI Standard 2 - Regione Autonoma della Sardegna Samsung SGH-D500 Korisničko uputstvo UC-7420/7410 User`s Manual Ton Multilivre Mode d`emploi - Hachette Philips AccentColor 872790084456600 energy-saving lamp Wildview TK30 Owner`s Manual Copyright © All rights reserved.
Failed to retrieve file