background image

 

 
 

PCI 725/726/730 

PC104PLUS-26/30 

 

PCI PnP Analog Board 

User’s Manual 

 
 
 
 
 
 
 

Eagle Technology – Cape Town, South Africa 
Copyright © 2001-2002 
www.eagle.co.za

 

Summary of Contents for PC104PLUS-26

Page 1: ...PCI 725 726 730 PC104PLUS 26 30 PCI PnP Analog Board User s Manual Eagle Technology Cape Town South Africa Copyright 2001 2002 www eagle co za ...

Page 2: ...ogy Data Acquisition Analog Boards Data Acquisition and Process Control Eagle Technology 31 35 Hout Street Cape Town South Africa Phone 27 21 423 4943 Fax 27 21 424 4637 Email eagle eagle co za Eagle Technology Copyright 2003 www eagledaq com i ...

Page 3: ...d 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 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 That a qualified person configure and install the ETDAQD ...

Page 4: ... installation 7 Windows NT 9 Accessories 9 3 INTERCONNECTIONS 10 External Connectors 10 PCI730 10 Connector Pin Assignments 11 PCI730 11 Signal Definitions 13 Analog Input Connections 14 4 PROGRAMMING GUIDE 15 EDR Enhanced API 15 Digital Inputs Outputs 16 Reading the Digital Inputs 16 Writing to the Digital Outputs 16 Counter Timer 17 Writing the initial counter value 17 Reading the counter value ...

Page 5: ...iguring the ADC subsystem for scanning 23 1 1 1 1 Digital triggering 24 Starting and Stopping the ADC process 25 Getting data from the driver buffer 26 Querying the ADC subsystem 26 5 CALIBRATION 28 A SPECIFICATIONS 29 Analogue Input 29 Analogue Output 29 Digital I O Characteristics 29 82C54 Counter Timer 29 Other 29 B CONFIGURATION CONSTANTS 30 Query Codes 30 Error Codes 31 Analog Input Gain Code...

Page 6: ... Pinouts for PC104P 30 IDC26 12 Table 3 5 Pinouts for PC104P 30 IDC40 12 Table 3 6 Signal definitions 13 Table 4 1 Counter Resolution 17 Table 4 2 Counter Resolution 18 Table 4 3 Counter Configuration 18 Table 4 4 Gate Configuration 19 Table 4 5 EDREIntX Configure Parameters 20 Table 4 6 Event Source 21 Table 4 7 AD Single Read parameters 23 Table 4 8 SingleRead Range Codes 23 Table 4 9 SingleRead...

Page 7: ...cations The PCI730 can be used in the following applications Automation and test equipment Laboratory training Key Specifications Analogue input resolution is 14 bit Analogue input ranges of 2 5V 5V and 10V Maximum analogue input sampling rate of 200 KS s Programmable 32 bit timer 20 MHz clock Four analogue output channels each with a resolution of 14 bits and full scale range of 10V 5 mA Three ei...

Page 8: ...pport information see the Contact Details section Contact Details Below are the contact details of Eagle Technology Eagle Technology PO Box 4376 Cape Town 8000 South Africa Telephone 27 021 423 4943 Fax 27 021 424 4637 E Mail eagle eagle co za Website http www eagledaq com Eagle Technology Copyright 2003 www eagledaq com 2 ...

Page 9: ...Support PCI730 support the following operating systems Board Type Revision Operating Systems Driver Type PCI725 Revision 3 1 Windows 2000 98 ME XP NT WDM PnP PCI726 Revision 3 1 Windows 2000 98 ME XP NT WDM PnP PCI730 Revision 3 1 Windows 2000 98 ME XP NT WDM PnP PC104P 26 Revision 2 Windows 2000 98 ME XP NT WDM PnP PC104P 30 Revision 2 Windows 2000 98 ME XP NT WDM PnP Table 2 1 Operating System S...

Page 10: ...h the power on The hardware installation is now completed Software Installation Windows 98 2000 ME Installing the Windows 98 2000 device driver is a very straightforward task Because it is plug and play Windows will auto detect the PCI board as soon as it is installed No setup is necessary You simply have to supply Windows with a device driver Wait until Windows detects the new hardware Select Nex...

Page 11: ...er Manual Eagle Technology Data Acquisition Select Search for a suitable driver for my device and select next Make sure only Specify a location is selected and select next Eagle Technology Copyright 2003 www eagledaq com 5 ...

Page 12: ... Technology Data Acquisition Select the browse button and search for the PCI730 inf file on the Eagle CD Rom The driver is normally located in the CDROM EDRE DRIVERS WDM PCI730 directory Eagle Technology Copyright 2003 www eagledaq com 6 ...

Page 13: ...ct next when found Select next again When done you might have to restart your computer Post installation When done with the driver installation the device manager can be open to make sure the installation was a success Eagle Technology Copyright 2003 www eagledaq com 7 ...

Page 14: ... Acquisition list if your board is listed and working properly See picture below Clearly you can see that the PCI device is listed and working properly 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 Eagle Technology Copyright 2003 www eagledaq com 8 ...

Page 15: ...dows 2000 detects a new device simply install a default driver or so called placeholder This will disable the device in the plug and play manager To install the Windows NT drivers simply run edrewinnt exe on the Eagle 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 A...

Page 16: ... genuine accessories available from Eagle Technology also make interfacing to the PCI730 very easy Accessories are available in the form of cables screw terminals and application modules External Connectors PCI730 The PCI730 has an IDC40 and a DB25 male connector A conversion cable is included that changes the IDC40 to a DB37 male connection that can be mounted on your PC case like a PCI card Appl...

Page 17: ...onnector DB25 Using VDD and VDD to drive an external device or causing a short circuit will DAMAGE the board beyond repair Pin Name Pin Name 1 PA0 2 PA1 3 PA2 4 PA3 5 PA4 6 PA5 7 PA6 8 PA7 9 PB0 10 PB1 11 PB2 12 PB3 13 PB4 14 PB5 15 PB6 16 PB7 17 PC0 18 PC1 19 PC2 20 PC3 21 PC4 22 PC5 23 PC6 24 PC7 25 DGND 26 NOT USED 27 CLK0 28 NOT USED 29 COUT0 30 GATE0 31 GATE1 32 CLK1 33 CLK2 34 COUT1 35 COUT2...

Page 18: ...B0 10 PB1 11 PB2 12 PB3 13 PB4 14 PB5 15 PB6 16 PB7 17 PC0 18 PC1 19 PC2 20 PC3 21 PC4 22 PC5 23 PC6 24 PC7 25 DGND 26 NOT USED 27 CLK0 28 NOT USED 29 COUT0 30 GATE0 31 GATE1 32 CLK1 33 CLK2 34 COUT1 35 COUT2 36 GATE2 37 5V 38 DGND 39 DGND 40 DGND Table 3 4 Pinouts for PC104P 30 IDC26 Pin Name Pin Name 1 PA0 2 PA1 3 PA2 4 PA3 5 PA4 6 PA5 7 PA6 8 PA7 9 PB0 10 PB1 11 PB2 12 PB3 13 PB4 14 PB5 15 PB6 ...

Page 19: ...log Ground CLK Counter Timer External Clock Input COUT Counter Timer Output GATE Counter Timer External Gate Control PA0 7 Digital Inputs outputs Port A PB0 7 Digital Inputs outputs Port B PC0 7 Digital Inputs outputs Port C 5V Power Output DGND Digital Ground Table 3 6 Signal definitions Using VDD and VDD to drive an external device or causing a short circuit will DAMAGE the board beyond repair E...

Page 20: ...n Analog Input Connections WARNING All unused analog inputs must be connected to analog ground The analog input system of the PCI730 can be damaged or become unstable when scanning channels that is left floating Eagle Technology Copyright 2003 www eagledaq com 14 ...

Page 21: ...PI makes it possible to write an application that can be used on all hardware with common sub systems 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 ...

Page 22: ...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 ulng Sn ...

Page 23: ...cy Scaler s output frequency Frequency 20MHz 2 Value 1 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 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...

Page 24: ...ock 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 clock source and type parameters are used by the PCI703 The table below shows the options for each parameter Parameter Description Sn Serial Number Ct Counter Number 0 Counter 1 1 Counter 2 2 Counter 3 3 Frequency Scaler Mode Counter Mode 0 82c54 Mode S...

Page 25: ...if any errors occurred ACTIVEX CALL Long EDRECTX SoftGate ulng Sn ulng Ct ulng Gate The counter number and mode is needed to control a counter s gate A return code will indicate if any errors occurred These values are acceptable as a gate source Value Description 0 Gate disabled 1 Gate enabled Table 4 4 Gate Configuration Eagle Technology Copyright 2003 www eagledaq com 19 ...

Page 26: ...essary to configure the interrupt sub system API CALL Long EDREIntX IntConfigure long Source long Mode long Type Parameter Type Description Source long Source PCI726 PCI730 0 Counter 0 1 Counter 1 2 Counter 2 Mode long Disable or Enable a source 0 Disable 1 Enable Type long All ways trigger on rising edge of counter terminal count RETURN Long This parameter contains the error code return If 0 then...

Page 27: ...l be triggered The source of the interrupt will also be passed to the event handler ACTIVEX CALL Interrupt long Source The source is the value read from the interrupt status register of the PCI730 device The sources are binary weighted See table below Source Value Actual source 1 Counter 0 2 Counter 1 4 Counter 2 Table 4 6 Event Source Eagle Technology Copyright 2003 www eagledaq com 21 ...

Page 28: ... voltage on a DAC channel API CALL Long EDRE_DAWrite 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 Long EDREDAX Write ulng 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 err...

Page 29: ... Long ADC Channel Return Long Voltage returned from channel Make sure to set the Gain and Range properties of the ADC ActiveX control This will in turn set the gain and range when reading the ADC channel Value Input Mode 0 Single Ended 1 Differential Table 4 8 SingleRead Range Codes Value Gain Range 0 1 0 2 5V 1 0 5 5V 2 0 25 10V Table 4 9 SingleRead Gain Codes Configuring the ADC subsystem for sc...

Page 30: ...le Ended 1 Differential Example Layout 11 10 9 8 7 6 5 4 3 2 1 0 M 3 M 2 M 1 M 0 G 7 G 6 G 5 G 4 G 3 G 2 G 1 G 0 ListSize Unsigned long This parameter determines the length the two previous arrays This is also the depth of the channel list that is programmed to the board 1 1 1 1Digital triggering If digital triggering is used pin EXT_TRIGGER is used This pin is active high and will start the ADC p...

Page 31: ... the frequency and the channels in the sequence of the channel list The end result is that the time between samples is equal to 1 Frequency Frequency Example PCI730 Frequency 100 000 Hz Channel List Length 10 Time for channels list 100 uS Time between channels 10 uS EDREADX ClockSource ClockSource This parameter is used to configure the clocking system of the ADC Format Offset bits Description 0 C...

Page 32: ...he 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 Type Description Buf Pointer to a long buffer Buffer to copy micro voltages too 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 sample...

Page 33: ...n ACTIVEX CALL Long EDREADX GetUnread Parameter Type Description Return Long Number of samples available in the driver This function automatically queries the ADC driver buffer for the number of available samples Eagle Technology Copyright 2003 www eagledaq com 27 ...

Page 34: ...CI730 is simple task EDR Enhanced and the calibration software must be installed Both can be found on the Eagle Technology Software CD Rom EAGLECD EDRE APPS PCI700CAL PCI700CAL EXE The latest version will also be available on http www eagledaq com Eagle Technology Copyright 2003 www eagledaq com 28 ...

Page 35: ... Number of Channels 4 Output Range 10V 5mA Resolution 14 Bits Maximum update rate 840 ns per transfer to a DAC channel Absolute Maximum Error 2mV Digital I O Characteristics Number of Channels 24 Compatibility 82C55 I O Characteristics 82C55 82C54 Counter Timer Number of 82C54 devices 1 Gate Control Jumper selectable either External IO or Internal FPGA Clock Control Jumper selectable either Extern...

Page 36: ...C hardware FIFO size ADFIFOOVER 105 Check for FIFO overrun condition ADBUFFSIZE 106 Check software buffer size ADBUFFOVER 107 Check for circular buffer overrun ADBUFFALLOC 108 Check if software buffer is allocated ADUNREAD 109 Get number of samples available ADEXTCLK 110 Get status of external clock line PCI30FG ADEXTTRIG 111 Get status of external trigger line PCI30FG ADBURST 112 Check if burst m...

Page 37: ...AD_PORT 13 Port value out of range EDRE_BAD_PARAMETER 14 Invalid parameter value specified EDRE_BUSY 15 System busy EDRE_IO_FAIL 16 IO 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_CHA...

Page 38: ...PCI 730 PC104P 30 User Manual Eagle Technology Data Acquisition C C Layout Diagram Eagle Technology Copyright 2003 www eagledaq com 32 ...

Page 39: ...100KHz A D PCI 726 16 Channel 100KHz A D 24 Channel DIO 3 Counter Timers PCI 730 16 Channel 100KHz A D 24 Channel DIO 3 Counter Timers 4 Channel D A PC104P 26 16 Channel 100KHz A D 24 Channel DIO 3 Counter Timers PC104P 30 16 Channel 100KHz A D 24 Channel DIO 3 Counter Timers 4 Channel D A Table D 1 Ordering Information Please visit our website to have a look at our wide variety of data acquisitio...

Reviews: