Home
Dynex DX-WMSE Mouse User Manual
Contents
1. Series PCI PnP Analog Input Board User s Manual PCI30G PCI30GA PCI30G32 PCI30GA32 PCI30F32 PCI30FA32 Eagle Technology Cape Town South Africa Copyright 1999 2002 PCI30FG User Manual Analog Input Boards Data Acquisition and Process Control Eagle Technology 31 35 Hout Street Cape Town South Africa Phone 27 21 423 4943 e Fax 27 21 424 4637 E mail eagle eagle co za Eagle Technology Copyright 2002 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
2. 28 29 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 DAC0 3 Analog output channel SENSE0 3 Sensing line for analog output channel PAO 7 Port A on PPI PBO 7 Port B on PPI PCO 7 Port C on PPI CNTO 2 _ User counter clock input COUTO 2 User counter clock output 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 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 AG
3. 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 Generating a Waveform Generating a waveform is basically a two step process First configure a channel then start and stop it The board can output signals from a driver buffer at a maximum of 5KHz per channel Two modes are available non loop mode and pattern mode The non loop mode is will stream the values in the driver buffer only once and then stop where pattern only resides inside the buffer Please note that the diver buffer depth is only 1024 samples per channel API CALL Long EDRE_DAConfig ulng Sn ulng Channel ulng Frequency ulng ClkSrc ulng GateSrc ulng Continuous ulng Length long uVoltage Parameter Description Sn Unsigned long 1 Board s serial number Channel Unsigned long Channel 0 DAC Channel 0 lt 1 DAC Channel 1 2 DAC Channel 2 3 DAC Channel 3 Frequency Unsigned long Sample output frequency ClkS rc Unsigned long ALWAYS USE USER COUNNTER 3 GateSrc Unsigned long NOTE USED Continuous Unsigned long MODE i 0 non loop mode 1 loop mode Length Unsigned long Buffer length 1024 MAX uVolage Pointer to a long Buffer filled with micro voltages buffer Return Long Error Code Eagle Technology Copyright 2002 19 PCI30FG User Manual ACTIVEX CALL Long
4. Writing to the Digital Outputs A single call is necessary to write to a digital I O port API CALL Long EDRE DioWrite ulng Sn ulng 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 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 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 ulng 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 occurr
5. EDRDAX Configure long Channel long Frequency long CIkSrc long GateSrc long Continuous long Length long u Voltage Parameter Type Description Channel Channel 0 DAC Channel 0 1 DAC Channel 1 1 2 DAC Channel 2 3 DAC Channel 3 Frequency Long Sample output frequency ClkS rc Long ALWAYS USE USER COUNNTER 3 GateSrc Long NOTE USED Continuous Long MODE _ 0 non loop mode 1 loop mode Length Long Buffer length 1024 MAX uVolage Pointer to a long Buffer filled with micro voltages buffer Return Long Error Code API CALL Long EDRE_DAControl ulng Sn ulng Channel ulng Command Parameter Description Sn Unsigned long Board s serial number Channel Unsigned long Channel 0 DAC Channel 0 1 DAC Channel 1 1 2 DAC Channel 2 3 DAC Channel 3 Command Unsigned long Command Code 0 NULL 1 Start process 2 Stop process Return Long Error Code ACTIVEX CALL Long EDREDAX Control long Channel long Command Parameter Description Channel Long Channel 0 DAC Channel 0 1 DAC Channel 1 2 DAC Channel 2 3 DAC Channel 3 Command Long Command Code 0 NULL 1 Start process 2 Stop process Return 1 Long Error Code Eagle Technology Copyright 2002 20 PCI30FG User Manual Analog Input The PCISOFG s ADC subsystem is fully configurable and supports single channel reading
6. Inputs riting to the Digital Outputs AIA riting the initial counter value 17 Reading a counter 17 onfiguring a counter 18 riting to a DAC channel 19 Analog Input 21 Reading a single voltage from a channel 2 onfiguring the ADC subsystem for scanning 21 tarting and Stopping the ADC process 23 etting data from the driver buffer 24 Querying the ADC subsystem 24 5 CALIBRATION N o e Requirements D Software onnection N ariable Resistor Description A D Calibrating Procedure alibrating the PCI30Gx series 28 Error Codes 31 igital Codes oo W N E LAYOUT DIAGRAM ORDERING INFORMATION Eagle Technology Copyright 2002 iv PCI30FG User Manual Table of Figures Figure 2 1 Add New Hardware Wizard Step1 Figure 2 2 Add New Hardware Wizard Step2 Figure 2 3 Add New Hardware Wizard Step3 Figure 2 4 Add New Hardware Wizard Step4 Figure 2 5 Add New Hardware Wizard Step5 Figure 2 6 Restart Your Computer Figure 2 7 System Properties Figure 2 8 EagleDAQ Figure 2 9 A D Span Jumper Figure 3 1 Single ended analog input Figure 3 2 Differential Analog Inputs Figure 4 A EDR Enhanced Design Figure 6 1 A D Calibration Connections Eagle Technology Copyright 2002 V PCI30FG User Manual Table of Tables Eagle Technology Copyright 2002 PCI30FG User Manual 1 Introdu
7. 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 Description Sn Unsigned long Board s serial number Channel Unsigned long ADC Channel Gain Unsigned long 0 1 1 Gain x 10 2 Gain x 100 3 Gain x 1000 Range Unsigned long 1 0 5V to 45V Single Ended lt 1 0 to 10V Single Ended 2 10V to 10V Single Ended 3 5V to V Differential 4 0 to 10V Differential 5 10V to 10V Differential uVoltage Pointer to long Voltage read from channel Return Long Error Code ACTIVEX CALL Long EDREADX SingleRead long 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 PCI30 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 API CALL Long EDRE_ADConfig ulng Sn pulng Freq ulng ClkSrc ulng Burst ulng Ra
8. 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 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 PCISOFG 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 PCISOFG 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 devic
9. system is busy Query number of digital 1 0 ports Query a specific port for capabilities Geta specific port s width 1 Query number of interrupts sources Eagle Technology Copyright 2002 30 PCI30FG User Manual INTSTATUS 501 Queries interrupt system s status INTBUSCONNECT 502 lt Connect interrupt system to bus INTISAVAILABLE 503 Check if an interrupt is available INTNUMTRIG 1504 1 Check number times interrupted Error Codes Description EDRE OK 0 Function successfully EDRE_FAIL 1 Function call failed EDRE BAD FN 2 Invalid function call EDRE BAD SN 1 3 Invalid serial number EDRE_BAD_DEVICE 4 Invalid device EDRE BAD 0S 1 5 _ Function not supported by operating system EDRE_EVENT_FAILED i 6 Wait on event failed EDRE EVENT TIMEOUT i7 Event timed out EDRE INT SET 1 8 Interrupt in use EDRE DA BAD RANGE i 9 DAC value out of range EDRE AD BAD CHANLIST i 10 Channel list size out of range EDRE BAD FREQUECY il 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 i 15 System busy EDRE IO FAIL 16 10 call failed EDRE BAD ADGAIN 17 ADC gain out of range EDRE BAD QUERY 18 Query value not supported EDRE BAD CHAN i 19 Channel number out of range EDRE BAD VALUE i 20 C
10. E ADFIFOOVER ADBUFFSIZE ADBUFFOVER ADBUFFALLOC ADUNREAD ADEXTCLK ADEXTTRIG ADBURST ADRANGE DANUMCHAN D3AMAXFREQ DABUSY DAFIFOSZ CTNUM CTBUSY DIONUMPORT DIOQRYPORT DIOPORTWIDTH INTNUMSRC Description Query major version number Query minor version number Query build version number Query OS type Query number of devices installed Query a board s type Query 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 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
11. ND 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 CHO CHO RET S lt N NA CN 5 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 1 to 10 k 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 configurable 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 co
12. ard 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 Cancel 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 2 Digital 1 0 Board Windows has finished installing the software that your new hardware device requires Cancel 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 co 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 521 88 System devices Advanced Power Management support Direct memory access controller Intel 82371EB PCI to ISA bridge 154 mode Intel 82371EB Power Management Controller Intel 82443B Pentium r Il Processor to AGP
13. ber 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 Serial Number lt 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 PCISOFG A version has 4 x 12 bit DAC channels that support single write and signal generation Signal generation is done form a driver buffer and use user counter 3 for timing Signals can be generated at 5KHz Writing to a DAC channel A single call is necessary to set a voltage on a DAC channel API CALL Long EDRE DAWrrite ulng Sn ulng Channel long uVoltage The serial number DAC channel and micro voltage is needed to set a DAC channel s voltage A return code will indicate if any errors occurred ACTIVEX CALL
14. controller Intel 824438 Pentium r Il Processor to PCI bridge with C 10 read data port for ISA Plug and Play enumerator Motherboard resources Numeric data processor PCI bus PCI36C Digital 1 0 Board Plug and Play BIOS Processor support Programmable interrupt controller Ema Coal LL 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 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 placeholder 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 insta
15. ction The PCISOFG 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 PCI3OFG is an excellent all purpose data acquisition device with extensive analog input capabilities Features The PCISOFG 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 PCISOFG 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 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 I O Counter timer via IDC40 Header Software Support The PCISOFG is supported by EDR Enhanced and comes with an extensive range of
16. e FIFO epth ListS ize i is 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 the S models for the are always differential and bipolar The Frequency and ClockSource ADC ActiveX control must be setup before calling the configure function EDREADX Frequency Frequency The ADC sampling frequency Eagle Technology Copyright 2002 22 PCI30FG User Manual WARNING 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 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 Inte
17. 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 4 Post installation 7 Windows NT 2000 8 3 INTERCONNECTIONS 10 External Connectors 10 Pin Assignments 10 E D Signal Definitions E Analog Input ingle Ended Inputs Differential Inputs 13 Analog Output 14 ounter Timer 14 4 PROGRAMMING GUIDE 15 EDR Enhanced 15 Eagle Technology Copyright 2002 iii PCI30FG User Manual Digital Inputs Outputs Reading the Digital
18. e 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 Figure 2 1 Add New Hardware Wizard Step1 Select Next Eagle Technology Copyright 2002 4 PCI30FG User Manual Add New Hardware Wizard What do you want windows to do p C Display a list of all the drivers in a specific location so you can select the driver you want lt 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 Floppy disk drives CD ROM drive Microsoft Windows Update Specify a location JEANDRIVERSSWINSX PCI36C Browse lt Back Cancel 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 CDROMS gt EDRE DRIVERS WDM PCI30FG Select Next to proceed Eagle Technology Copyright 2002 5 PCI30FG User Manual Add New Hardware Wiz
19. ed 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 ulng 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 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 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 num
20. end 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 itis 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 pointer 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
21. g input board 330 KHz PCI 30 FA32 132 Channel analog input and 4 channel analog output 1 board 330 KHz Table D 1 Ordering Information Please visit our website to have a look at our wide variety of data acquisition products and accessories Eagle Technology Copyright 2002 33
22. l 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 24 PCI30FG User Manual API CALL Long 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 1 Long 1 Returned query code ACTIVEX CALL Long EDREADX GetUnread Parameter Description Return i Number of samples available in the driver This function automatically queries the ADC driver buffer for the number of available samples Eagle Technology Copyright 2002 25 PCI30FG User Manual 5 Calibration This chapter contains information to calibrate the A D and D A sub systems of the The 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 wi
23. llation 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 SV SP AN e s 20 VS PAN Figure 2 9 A D Span Jumper Accessories The PCISOFG 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 40 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 male Pin Assignments The table below shows the pin assignments for the PCI30FG CHAN12 CHAN13 Eagle Technology Copyright 2002 10 PCI30FG User Manual CHAN14 CHAN15 CHAN16 CHAN17 CHAN18 CHAN19 CHAN20 21 22 23 24 25 26 27
24. mpatible 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 I O CHIP OPERATING OUTSIDE THE TTL VOLTAGE RANGE WILL CAUSE PERMANENT DAMAGE TO THE DIGITAL CONTROL CIRCUIT Counter Timer There are six counter timers on the PCISOFG 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 The also serves as a hardware abstraction layer HAL between the control application and the hardware The 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 detailed knowledge of the PCI30FG is needed and some knowledge about programming Plug and Play PCI devices We recomm
25. n 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 PCISOFG 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 gain 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 27 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 28 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 29 PCI30FG User Manual B Configuration Constants Query Codes APIMAJOR APIMINOR APIBUILD APIOS APINUMDEV BRDTYPE BRDREV BRDYEAR BRDMONTH BRDDAY BRDSERIALNO DRVMAJ OR DRVMINOR DRVBUILD ADNUMCHAN ADNUMSH ADMAXFREQ ADBUSY ADFIFOSIZ
26. nge pulng ChanList pulng GainList ulng ListSize The following parameters must be specified when configuring the ADC sub system Eagle Technology Copyright 2002 21 PCI30FG User Manual Parameter CIKS rc i Internal and to External Gate Internal External Clock External Clock and Gate Normal Mode Burst Mode 5V to 45V Single Ended 0 to 10V Single Ended 10V to 10V Single Ended 5V to 5V Differential 0 to 10V Differential 10V to 10V Differential his is an array of unsigned longs that contains the gains of channels to be ampled when scanning the ADC sub system The max size of the channel list is 4 his is an array of unsigned longs that contains the channels to be sampled when canning the ADC sub system The max size of the channel list is half the FIFO pth ListS ize i is parameter determines the length the two previous arrays This is also the depth of the channel list that is programmed to the board ChanList GainList ACTIVEX CALL Long EDREADX Configure plong Channels plong Gains long ListSize Parameter Description Channels is is an array of unsigned longs that contains the gains of channels to be i ampled when scanning the ADC sub system The max size of the channel list is f the FIFO depth Gains i his is an array of unsigned longs that contains the channels to be sampled when i canning the ADC sub system The max size of the channel list is half th
27. onfiguration value specified out of range EDRE BAD CT 21 Counter timer channel out of range EDRE BAD CHANLIST i22 Channel list invalid EDRE BAD CONFIG 23 Configuration invalid EDRE BAD MODE 1 24 Mode not valid EDRE HW ERROR i725 Hardware error occurred EDRE HW BUSY i 26 Hardware busy EDRE BAD BUFFER 27 Buffer invalid EDRE REG ERROR 28 Registry error occurred EDRE OUT RES 29 Out of resources EDRE IO PENDING 30 Waiting on 1 0 completion Digital 1 0 Codes DIOOUT DIOIN DIOINOROUT DIOINANDOUT Description Portis an output Portis an input Port can be configured as in or out Portis an input and an output Eagle Technology Copyright 2002 31 PCI30FG User Manual C Layout Diagram Eagle Technology Copyright 2002 32 PCI30FG User Manual D Ordering Information For ordering information please contact Eagle Technology directly or visit our website They can also be emailed Mee en E Description PCI 30 G 16 Channel analog input board 100 KHz PCI 30 GA 16 Channel analog input and 4 channel analog output board 100 KHz PCI 30 632 32 Channel analog input board 100KHz PCI 30 GA32 32 Channel analog input and 4 channel analog output board 100 KHz PCI 30 F 16 Channel analog input board 330 KHz PCI 30 FA 16 Channel analog input and 4 channel analog output board 330 KHz PCI 30 F32 32 Channel analo
28. rnal and to External Gate 1 1 Internal 2 External Clock 1 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 ACTIVEX CALL Eagle Technology Copyright 2002 23 PCI30FG User Manual Long EDREADX Start Parameter Description Return i Error Code API CALL Long EDRE_ADSiop ulng Sn Parameter _ Description Board s serial number 1 Error Code ACTIVEX CALL Long EDREADX Stop Parameter Description Return 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 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 uffer BufSize Pointer to long Size of buffer must be passed or number samples requested The returned value will indicate the number of actua
29. th an absolute accuracy better than 0 005 resolution 100nV or better 2 Precision digital multimeter with 10V range absolute accuracy better than 0 000590 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 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 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 26 PCI30FG User Manual The program runs under dos and make sure that you do not run it in a 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 Descriptio
Download Pdf Manuals
Related Search
Related Contents
LG Electronics 42LC2D Flat Panel Television User Manual INSTALLATION INSTRUCTIONS INSTRUCTIONS DE PathWave v2.1 – User Manual Instruction Manual - Test Equipment Depot Philips 6000 series 50PUK6400 50" 4K Ultra HD Smart TV Wi-Fi Black Mode d`emploi Lecteur de Blu-ray DiscTM - HD ー 含 取扱説明 日 Untitled - Skylanders SMART Podium série 500 Visor interativo com caneta Guia do usuário Copyright © All rights reserved.
Failed to retrieve file