background image

Chapter 2

– 19 –

PCI-1721 User’s Manual

Advantech Co., Ltd.
www.advantech.com

2.6  Device Setup & Configuration

The Device Installation program is a utility that allows you to set up,
configure and test your device, and later stores your settings on the
system registry. These settings will be used when you call the APIs of
Advantech 32-bit DLL drivers.

Setting Up the Device

Step 1: To install the I/O device for your card, you must first run the

Device Installation program (by accessing Start/Programs/
Advantech Driver for 95 and 98 (or for NT/2000)/Device
Installation
).

Fig. 2-7 The Advantech Device Installation utility program

Step 2: On the Device Installation program window, select the Setup

menu item on the menu bar, and click the Device command
(Fig. 2-7) to bring up the I/O Device Installation dialog box
(Fig. 2-8). You can then view the device(s) already installed on
your system (if any) on the Installed Devices list box. Since
you haven’t installed any device yet, you might see a blank
list such as the one on the next page (Fig. 2-7).

Содержание PCI-1721

Страница 1: ...PCI 1721 12 bit 4 channel Advanced Analog Output Card...

Страница 2: ...ade marks of International Business Machines Corporation MS DOS Win dows MicrosoftVisualC andVisualBASICaretrademarksofMicrosoft Corporation Intel and Pentium are trademarks of Intel Corporation Delph...

Страница 3: ...nections 23 3 1 Overview 23 3 2 Analog Output Connections 23 3 3 Trigger Source Connections 24 3 4 Field Wiring Considerations 25 Appendix A Specifications 26 Appendix B Block Diagram 28 Appendix C Re...

Страница 4: ...C 12 Clear FIFO strobe BASE 2CH 40 C 13 Clear FIFO strobe BASE 2EH 40 C 14 82C54CounterChip BASE 30 32 34 36H 41 C 15 DIOWrite Read BASE 3EH 42 C 16 DMA FIFO Data Buffer BASE 40 42H 42 Appendix D Cal...

Страница 5: ...required The following sections of this chapter will provide further information about features of the multifunction cards a quick start for installation together with some brief information on softw...

Страница 6: ...ustments Waveform Analog Output The PCI 1721 provides four analog output channels Both of them can perform continuous waveform output The analog output can be up to 10MS s for each analog output chann...

Страница 7: ...identify and access each card during hardware configuration and software programming On Board Programmable Timer Counter PCI 1721 provides a programmable timer counter for generating pacer trigger for...

Страница 8: ...ble PCL 10168 optional Wiringboard ADAM 3968 optional Computer Personal computer or workstation with a PCI bus slot running Windows 95 98 NT 2000 Some other optional components are also available for...

Страница 9: ...Chapter 1 5 PCI 1721 User s Manual Advantech Co Ltd www advantech com Fig 1 1 Installation Flow Chart...

Страница 10: ...vantech DLL Drivers software is included on the companion CD ROM at no extra charge It also comes with all the Advantech DA C cards Advantech s DLL driver features a complete I O function library to h...

Страница 11: ...s a Tutorial Chapter in the DLL Drivers Manual for your reference Please refer to the corresponding sections in this chapter on the DLL Drivers Manual to begin your programming efforts You can also ta...

Страница 12: ...nterFunctionGroup q PortFunctionGroup directI O q EventFunctionGroup For the usage and parameters of each function please refer to the Function Overview chapter in the DLL Drivers Manual Troubleshooti...

Страница 13: ...eve a better signal quality the signal wires are twisted in such a way as to form a twisted pair cable reducing cross talk and noise from other signal sources Furthermore its analog and digital lines...

Страница 14: ...ve measures are not carefully paid attention to Before removing the card from the antistatic plastic bag you should take following precautions to ward off possible ESD damage l Touch the metal part of...

Страница 15: ...aterials that could hold static electricity such as plastic vinyl and Styrofoam Whenever you handle the card grasp it only by its edges DO NOT TOUCH the exposed metal pins of the connector or the elec...

Страница 16: ...e PCI bus Some users will want to clear their analog output only as part of system power on The PCI 1721 satisfies both these needs by providing jumper JP1 Depending on the application this capability...

Страница 17: ...0 65 31 IOUT1 REF_V0 64 30 REF_V1 AGND 63 29 AGND VOUT2 62 28 VOUT3 AGND 61 27 AGND IOUT2 60 26 IOUT3 REF_V2 59 25 REF_V3 AGND 58 24 AGND NC 57 23 NC AGND 56 22 AGND NC 55 21 NC NC 54 20 NC AGND 53 19...

Страница 18: ...MHz as set by software CNT0_OUT DGND Output Counter 0 Output CNT0_GATE DGND Input Counter 0 Gate Control FIFO_OUT DGND Output FIFO Output This pin pulses once for each FIFO clock when turned on If D...

Страница 19: ...with your DA C card package Please follow the steps below to install the driver software Step 1 Insert the companion CD ROM into your CD ROM drive Step 2 The Setup program will be launched automatica...

Страница 20: ...version of DLL Drivers Manual is available by accessing the following path Start Programs Advantech Driver for 95 and 98 or for NT 2000 Driver Manual 2 5 Hardware Installation Note Make sure you have...

Страница 21: ...l of the computer with screws Step 7 Connect appropriate accessories 68 pin cable wiring termi nals etc if necessary to the PCI card Step 8 Replace the cover of your computer chassis Re connect the ca...

Страница 22: ...alled In this case remove the card device from the Device Manager by selecting its device name and press the Remove button Then go through the driver installation process again After your card is prop...

Страница 23: ...d you must first run the Device Installation program by accessing Start Programs Advantech Driver for 95 and 98 or for NT 2000 Device Installation Fig 2 7 The Advantech Device Installation utility pro...

Страница 24: ...o install then click the Add button to evoke the Device s found dialog box such as one shown in Fig 2 9 The Device s found dialog box lists all the installed devices on your system Select the device y...

Страница 25: ...Note Users can configure the source of D A reference voltage either as Internal or External and select the output voltage range When selecting voltage source as Internal users have six options for th...

Страница 26: ...e name 000 PCI 1721 I O 6600H begins with a device number 000 which is specifically assigned to each card The device number is passed to the driver to specify which device you wish to control After yo...

Страница 27: ...t Connections The PCI 1721 provides four D A output channels Vout_0 Vout_3 and Iout_0 Iout_3 Users may use the PCI 1721 internally provided precision 5V 10V reference to generate 0 to 5 V 10 V D A out...

Страница 28: ...er 2 are cascaded to create a 32 bit timer for pacer triggering A low to high edge from the Counter 2 output PACER_OUT will trigger an A D conversion on the PCI 1721 At the same time you can also use...

Страница 29: ...data acquisition system l If the cable travels through an area with significant electromagnetic interference you should adopt individually shielded twisted pair wires as the analog input cable This ty...

Страница 30: ...tive 1 LSB Differential Non linearity 1 LSB monotonic Offset 1 LSB Slew Rate 10 V s Driving Capability 10 mA Output Impedance 0 1 max Max Update Rate 10 MHz max for one channel Settling Time 5 s to 1...

Страница 31: ...V min Gate Input Low 0 8 V max High 2 0 V min Counter Output Low 0 5 V max 24 mA High 2 4 V min 15 mA I O Connector Type 68 pin SCSI II female Dimensions 175 mm x 100 mm 6 9 x 3 9 Power Consumption T...

Страница 32: ...s DIO Auto Calibration Circuit DIO 7 0 U B Gain REF_V0 IOUT0 VOUT0 12Bit DAC 1 U B Gain REF_V1 IOUT1 VOUT1 12Bit DAC 2 U B Gain REF_V2 IOUT2 VOUT2 12Bit DAC 3 U B Gain REF_V3 IOUT3 VOUT3 40M Hz OSC FI...

Страница 33: ...ion in programming the PCI 1721 the register level is to understand the function of the card s registers The information in the following sections is provided only for users who would like to do their...

Страница 34: ...4H W D A Channel 2 Data X X X X DA11 DA10 DA9 DA8 DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0 R N A 6H W D A Channel 3 Data X X X X DA11 DA10 DA9 DA8 DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0 R N A 10H W N A R Board ID 0 0...

Страница 35: ...obe X X X X X X X X X X X X X X X X R N A 26H W Calibration Setting Command X X UB R X SEL1 SEL0 P D7 D6 D5 D4 D3 D2 D1 D0 R Calibration Setting Status 0 0 UB R 0 SEL1 SEL0 P D7 D6 D5 D4 D3 D2 D1 D0 2...

Страница 36: ...0 D7 D6 D5 D4 D3 D2 D1 D0 34H W 82C54 Counter 2 Command X X X X X X X X D7 D6 D5 D4 D3 D2 D1 D0 R 82C54 Counter 2 Status 0 0 0 0 0 0 0 0 D7 D6 D5 D4 D3 D2 D1 D0 36H W 82C54 Control Command X X X X X...

Страница 37: ...rdware configuration and software programming Table C 3 PCI 1721 Board ID data BD3 DB0 BoardID BD0 LSB of the Board ID BD3 MSB of the Board ID Base Addr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0H W D A...

Страница 38: ...lar 1 Bipolar MOD_n D Achannelnoutputmode 0 Direct output normal 1 Waveform output VREF_n D A channel n voltage reference source 0 Internal 1 External Base Addr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1...

Страница 39: ...gnificant bit LSB of the data D7 the most significant bit MSB P Gain result or Offset result 0 Gain 1 Offset SEL1 SEL0 Select D A channel 00 Channel 0 01 Channel 1 10 Channel 2 11 Channel 3 R D A chan...

Страница 40: ...onized setting 0 Disable 1 Enable C 8 Synchronization strobe BASE 24H Write any values to BASE 24H all D A channels will output data synchronization Table C 7 PCI 1721 Register for synchronization str...

Страница 41: ...gnificant bit MSB P Gain result or Offset result 0 Gain 1 Offset SEL1 SEL0 Select D A channel 00 Channel 0 01 Channel 1 10 Channel 2 11 Channel 3 R D A channel output voltage range 0 5V 1 10V UB D Ach...

Страница 42: ...ion command is finish CALI_INIT Calibration initial bit This bit indicates whether the calibration controller is initialed 0 means that the calibration controller is initial CALI_REQ Calibrationreques...

Страница 43: ...0 Output 1 Input FIFO_C1 FIFO_C0 Select FIFO clock source 00 Clock from 82C54 The limitation is 2 5 MHz 01 5MHz 10 10MHz 11 Clock from external The limitation is 10 MHz Note The default configuration...

Страница 44: ...OEmptyflag This bit indicates whether the FIFO is empty 0 means that the FIFO is empty F H FIFOHalf fullflag This bit indicates whether the FIFO is half full 0 means that the FIFO is half full F F FIF...

Страница 45: ...pdf Base Addr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 30H W 82C54 Counter 0 Command X X X X X X X X D7 D6 D5 D4 D3 D2 D1 D0 R 82C54 Counter 0 Status 0 0 0 0 0 0 0 0 D7 D6 D5 D4 D3 D2 D1 D0 32H W 82C54...

Страница 46: ...ta will transfer to the FIFO Table C 15 PCI 1721 Register for DMA FIFO data buffer Base Addr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 3EH W Write DO data D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D...

Страница 47: ...function every six months is recommended These calibration programs make calibration an easy job With a variety of prompts and graphic displays these programs will lead you through the calibration an...

Страница 48: ...gure D 1 shows the locations of VR1 and J6 Figure D 1 PCI 1721 VR assignment D 2 D A Calibration You can select an on board 5V or 10V internal reference voltage or an external voltage as your analog o...

Страница 49: ...ra tion Command and Data register BASE 26H and to see whether the output voltage is less then 1 LSB If so to go to next step Otherwise you must change the value and repeat all the procedure in this st...

Страница 50: ...e user to easily finish the calibration procedures automatically however the user can calibrate the PCI 1721 manually The following steps will guide you through the PCI 1721 software calibration Step...

Страница 51: ...www advantech com Step 2 Select PCI 1721 in the ADSDAQ dialog box Figure D 2 Selecting the device you want to calibrate Step 3 After you start to calibrate the PCI 1721 please don t forget to adjust V...

Страница 52: ...I 1721 select the output range for each channel and then press the Start button to calibrate D A channels Fig D 4 Figure D 4 Range Selection in D A Calibration Step 5 Clicking the Start button the uti...

Страница 53: ...er s Manual Advantech Co Ltd www advantech com Step 6 D A channel 0 calibration is enabled Fig D 6 Figure D 6 Calibrating D A Channel 0 Step 7 D A channel 1 calibration is enabled Fig D 7 Figure D 7 C...

Страница 54: ...A Calibration tab to show the D A channel manual calibration panel Four D A channels are individually calibrated Before calibrating output desired voltage from the D A channels and measure it through...

Страница 55: ...Ltd www advantech com Figure D 10 Choosing Output Voltage Step 3 According to the difference between the output voltage from D A channel and the value in the multi meter adjust the gain and offset re...

Страница 56: ...ll between the output voltage from the D A channel and the value in the multi meter Note The Waveform Editor Utility also comes with PCI 1721 Access this program from the default location C Program Fi...

Отзывы: