ICP DAS USA PCI-1202L User Manual

ICP DAS USA PCI-1202L User Manual

Multi-function boards
Table of Contents

Advertisement

PCI-1202/1602/180x
Series Card User Manual
Multi-Function Boards
S
UPPORTS
Board
includes
PEX-1202L,
PCI-1202HU, PCI-1602, PCI-602F, PCI-1602U, PCI-1602FU, PCI-1800L, PCI-1800H,
PCI-1800LU, PCI-1800HU, PCI-1802L, PCI-1802H, PCI-1802LU and PCI-1802HU.
W
ARRANTY
All products manufactured by ICP DAS are warranted against defective materials for a
period of one year from the date of delivery to the original purchaser.
W
ARNING
ICP DAS assumes no liability for damages consequent to the use of this product. ICP
DAS reserves the right to change this manual at any time without notice. The
information furnished by ICP DAS is believed to be accurate and reliable. However, no
responsibility is assumed by ICP DAS for its use, nor for any infringements of patents
or other rights of third parties resulting from its use.
C
OPYRIGHT
Copyright © 2013 by ICP DAS. All rights are reserved.
T
RADEMARK
Names are used for identification only and may be registered trademarks of their
respective companies.
C
U
ONTACT
S
If you have any question, please feel to contact us. We will give you quick response
within 2 workdays.
Email: service@icpdas.com, service.icpdas@gmail.com
Version 4.8, Mar. 2015
PEX-1202H,
PCI-1202L,
PCI-1202H,
PCI-1202LU,

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PCI-1202L and is the answer not in the manual?

Questions and answers

Summary of Contents for ICP DAS USA PCI-1202L

  • Page 1 Version 4.8, Mar. 2015 UPPORTS Board includes PEX-1202L, PEX-1202H, PCI-1202L, PCI-1202H, PCI-1202LU, PCI-1202HU, PCI-1602, PCI-602F, PCI-1602U, PCI-1602FU, PCI-1800L, PCI-1800H, PCI-1800LU, PCI-1800HU, PCI-1802L, PCI-1802H, PCI-1802LU and PCI-1802HU. ARRANTY All products manufactured by ICP DAS are warranted against defective materials for a period of one year from the date of delivery to the original purchaser.
  • Page 2: Table Of Contents

    PCI-1202/1602/180x Series Card Multi-Function Boards ABLE OF ONTENTS PACKING LIST ................................5 RELATED INFORMATION ............................... 5 INTRODUCTION ..............................6 ................................8 EATURES ............................11 LOCK IAGRAM ..............................12 PECIFICATIONS 1.3.1 PEX-1202/PCI-1202 Series..........................12 1.3.2 PCI-1602 Series ..............................14 1.3.3 PCI-1800/PCI-1802 Series ..........................16 HARDWARE CONFIGURATION ...........................
  • Page 3 PCI-1202/1602/180x Series Card Multi-Function Boards I/O CONTROL REGISTER ............................ 50 I/O A ..........................50 OW TO IND THE DDRESS I/O A ........................53 SSIGNMENT OF DDRESS I/O A ............................54 DDRESS BAR1: T ............................55 IMER ONTROL BAR2: C ........................... 58 ONTROL EGISTER 6.5.1...
  • Page 4 PCI-1202/1602/180x Series Card Multi-Function Boards 10.2 D/A C ............................. 112 ALIBRATION DEMO PROGRAM ............................114 11.1 ........................114 ROGRAM FOR INDOWS 11.2 ............................117 IAGNOSTIC ROGRAM 11.2.1 Power-on Plug&Play Test ......................... 117 11.2.2 Driver Plug&Play Test ..........................117 11.2.3 D/O Test ..............................118 11.2.4 D/A Test ..............................
  • Page 5: Packing List

    The shipping package includes the following items: One multi-function card as follows: PEX-1202 series: PEX-1202L/ PEX-1202H PCI-1202 series: PCI-1202L/ PC-1202H/ PCI-1202LU/ PCI-1202HU PCI-1602 series: PCI-1602/ PCI-1602F/ PCI-1602U/ PCI-1602FU PCI-1800 series: PCI-1800L/ PCI-1800H/ PCI-1800LU/ PCI-1800HU PCI-1802 series: PCI-1802L/ PCI-1802H/ PCI-1802LU/ PCI-1802HU...
  • Page 6: Introduction

    PCI-1202/1602/180x Series Card Multi-Function Boards 1. Introduction Comparison Table Software Post-trigger Model Pacer Scan FIFO Sampling Trigger Pre-trigger Name Channel Channel (Magic Scan) Size Rate (Polling) Middle-trigger PEX-1202L 12-bit, Express 12-bit,    32 S.E./ 110 kS./s 2-ch Universal PCI-1202LU 16 Diff.
  • Page 7 PCI-1202/1602/180x Series Card Multi-Function Boards General Description The PCI-1800/1802 series are high performance, multifunction analog, digital I/O board for PC and (L/H) compatible computers in a 5 V PCI slot. This series features a continuous, 330 k Samples/Sec., gap-free data acquisition under DOS.
  • Page 8: Features

    PCI-1202/1602/180x Series Card Multi-Function Boards Features  Interface:  Supports the +5 V PCI bus for PCI-1202/1800/1802 and PCI-1602 series card. (L/H) (/F)  Supports the +3.3 V/+5 V PCI bus for PCI-1202/PCI-1800/PCI-1802 (LU/HU) PCI-1602 series card. (U/FU)  Supports PCI Express x 1 for PEX-1202 series card.
  • Page 9 PCI-1202/1602/180x Series Card Multi-Function Boards  Analog Input:  32 S.E./ 16 Diff. analog inputs for PEX-1202 and PCI-1202/1602/1802 series card.  16 S.E./8 Diff. analog inputs for PCI-1800 series card.  A/D converter = 12-bit, 330 k Samples/Sec. for PCI-1800/1802 (L/LU) A/D converter = 12-bit, 110 k Samples/Sec.
  • Page 10 PCI-1202/1602/180x Series Card Multi-Function Boards  12-bit ADC input voltages and output codes for PEX-1202 and PCI-1202/1800/1802 series. 12-bit ADC Input Voltages and Output Codes Analog Input Digital Output Binary Code Hex Code +9.995 V 1111 1111 1111 +0 V 1000 0000 0000...
  • Page 11: The Block Diagram

    PCI-1202/1602/180x Series Card Multi-Function Boards The Block Diagram The block diagram of the PEX-1202 and PCI-1202/1602/1800/1802 series card is given as follows: User Manual/ Ver. 4.8/ Mar. 2015/ PMH-0014-48/ Page: 11...
  • Page 12: Specifications

    PCI-1202/1602/180x Series Card Multi-Function Boards Specifications 1.3.1 PEX-1202/PCI-1202 Series Model Name PEX-1202L PEX-1202H PCI-1202LU PCI-1202HU Analog Input Channels 32 single-ended / 16 differential A/D Converter 12-bit, 8.5 µs conversion time Sampling Rate 110 kS./s 44 kS./s 110 kS./s 44 kS./s FIFO Size 1024 samples Over Voltage Protection...
  • Page 13 PCI-1202/1602/180x Series Card Multi-Function Boards Model Name PEX-1202L PEX-1202H PCI-1202LU PCI-1202HU Timer/Counter Channels 3 (Independent x 1/Internal pacer x 1/External pacer x 1) Resolution 16-bit Compatibility 5 V/TTL Input Frequency 10 MHz max. Reference Clock Internal: 8 MHz General Bus Type PCI Express x1 3.3V/5V Universal PCI, 32-bit, 33MHz Data Bus...
  • Page 14: Pci-1602 Series

    PCI-1202/1602/180x Series Card Multi-Function Boards 1.3.2 PCI-1602 Series Model Name PCI-1602U PCI-1602FU PCI-1602 PCI-1602F Analog Input Channels 32 single-ended / 16 differential A/D Converter 16-bit, 2 µs conversion time Sampling Rate 100 kS./s 200 kS./s 100 kS./s 200 kS./s FIFO Size 8192 samples Over Voltage Protection Continuous ±35 V...
  • Page 15 PCI-1202/1602/180x Series Card Multi-Function Boards Model Name PCI-1602U PCI-1602FU PCI-1602 PCI-1602F Timer/Counter Channels 3 (Independent x 1/Internal pacer x 1/External pacer x 1) Resolution 16-bit Compatibility 5 V/TTL Input Frequency 10 MHz max. Reference Clock Internal: 8 MHz General 3.3 V/5 V Universal PCI, Bus Type 5 V PCI bus, 32-bit, 33 MHz 32-bit, 33 MHz...
  • Page 16: Pci-1800/Pci-1802 Series

    PCI-1202/1602/180x Series Card Multi-Function Boards 1.3.3 PCI-1800/PCI-1802 Series Model Name PCI-1802HU PCI-1802H PCI-1800HU PCI-1800H PCI-1802LU PCI-1802L PCI-1800LU PCI-1800L Analog Input Channels 32 single-ended / 16 differential 32 single-ended / 16 differential A/D Converter 12-bit, 3 µs conversion time Sampling Rate 330 kS./s for High Gain 44 kS./s for Low Gain FIFO Size...
  • Page 17 PCI-1202/1602/180x Series Card Multi-Function Boards Model Name PCI-1802HU PCI-1802H PCI-1800HU PCI-1800H PCI-1802LU PCI-1802L PCI-1800LU PCI-1800L Timer/Counter Channels 3 (Independent x 1/Internal pacer x 1/External pacer x 1) Resolution 16-bit Compatibility 5 V/TTL Input Frequency 10 MHz max. Reference Clock Internal: 8 MHz General 3.3 V/5 V 3.3 V/5 V...
  • Page 18: Hardware Configuration

    PCI-1202/1602/180x Series Card Multi-Function Boards 2. Hardware Configuration Board Layout  PCI-180x /NDA Board Layout. (H/L)  PCI-1202/1800/1802 Board Layout. (H/L) User Manual/ Ver. 4.8/ Mar. 2015/ PMH-0014-48/ Page: 18...
  • Page 19 PCI-1202/1602/180x Series Card Multi-Function Boards  PCI-1202/1800/1802 Board Layout. (HU/LU) 1 2 3 4  PEX-1202 Board Layout. (H/L) 1 2 3 4 User Manual/ Ver. 4.8/ Mar. 2015/ PMH-0014-48/ Page: 19...
  • Page 20 PCI-1202/1602/180x Series Card Multi-Function Boards  PCI-1602 Board Layout. (/F) CON2 CON3 Digital Input DAC output 16 channels 2 channels ADC input CON1 32 channels External Trigger Input Digital Output 16 channels PCI-1602/1602F REV:1.0  PCI-1602 Board Layout. (U/FU) CON2 CON3 Digital Input DAC output...
  • Page 21: Jumper Setting

    PCI-1202/1602/180x Series Card Multi-Function Boards Jumper Setting 2.2.1 JP1: A/D Input Type Selection This jumper is used to select the analog input type. For single-ended inputs, connect pin1, 3 and pin2, 4. For differential inputs, pin3, 5 and pin4, 6 should be connected. The configuration is illustrated in the figure below.
  • Page 22: J1: D/A Reference Voltage Selection

    PCI-1202/1602/180x Series Card Multi-Function Boards 2.2.2 J1: D/A Reference Voltage Selection J1 is used to select the internal D/A output reference voltage. To select the 10 V voltage output, the pin 1&2 should be connected. To select the 5 V voltage output, the pin 2&3 should be connected. The configuration is illustrated in the figure below.
  • Page 23: Card Id Switch

    PCI-1202/1602/180x Series Card Multi-Function Boards Card ID Switch The PEX-1202 , PCI-1202/1800/1802 and PCI-1602 has a Card ID switch (SW1) with which (L/H) (LU/HU) (U/FU) users can recognize the board by the ID via software when using two or more PEX-1202 and PCI-1202/1602/1800/1802 series cards in one computer.
  • Page 24: Analog Input Signal Connection

    PCI-1202/1602/180x Series Card Multi-Function Boards Analog Input Signal Connection The PEX-1202 and PCI-1202/1602/1800/1802 series can measure single-ended or differential-type analog input signal. Some analog signals can be measured in both modes. However, some analog signals only can be measured in one or the other. The user must decide which mode is suitable for measurement. In general, there are 4 different analog signal connection methods (shown from Figure 2.4-1 to Figure 2.4-5).
  • Page 25 PCI-1202/1602/180x Series Card Multi-Function Boards  Figure2.4-1: Differential input with grounded source (Right way) A/D CH0 HI PEX-1202 and Es 1 PCI-1202/1602/1800/1802 series A/D CH 0 LO A/D CH n HI Es n A/D CHn LO A.GND n  Figure2.4-2: Grounded loop input (Wrong way) A/D CH0 HI A/D CH0 LO AGND...
  • Page 26 PCI-1202/1602/180x Series Card Multi-Function Boards  Figure 2.4-3: Single-ended input with floating signal source A/D CH0 A/D CH1 A/D CH n AGND  Figure 2.4-4: Differential input with floating thermocouple signal A/D CH 0 HI Note: If the input signal is not thermocouple, the user A/D CH 0 LO should use an oscilloscope to...
  • Page 27 PCI-1202/1602/180x Series Card Multi-Function Boards  Figure 2.4-5: Differential input with floating signal source A/D CH 0 HI PEX-1202 and PCI-1202/1602/1800/1802 series Es 1 A/D CH 0 LO 100 kΩ ~ 10 MΩ A.GND A/D CH n HI Es n 100 kΩ...
  • Page 28 PCI-1202/1602/180x Series Card Multi-Function Boards  Signal Shielding Signal shielding connections in Figure 2.4-1 to Figure 2.4-6 are all the same  Use a single-point connection to frame ground (not A.GND or D.GND) PEX-1202 and PCI-1202/1602/1800/1802 series A.GND D.GND Frame Ground User Manual/ Ver.
  • Page 29: Pin Assignments

    PCI-1202/1602/180x Series Card Multi-Function Boards Pin Assignments  Digital output and digital input CON1 and CON2: connector for PEX-1202 and PCI-1202/1602/1800/1802 series card. User Manual/ Ver. 4.8/ Mar. 2015/ PMH-0014-48/ Page: 29...
  • Page 30 PCI-1202/1602/180x Series Card Multi-Function Boards  Single-ended input CON3: pin assignment as follows: User Manual/ Ver. 4.8/ Mar. 2015/ PMH-0014-48/ Page: 30...
  • Page 31 PCI-1202/1602/180x Series Card Multi-Function Boards  Differential input CON3: pin assignment as follows: User Manual/ Ver. 4.8/ Mar. 2015/ PMH-0014-48/ Page: 31...
  • Page 32: Hardware Installation

    PCI-1202/1602/180x Series Card Multi-Function Boards 3. Hardware Installation Note!! It’s recommended to install driver first, since some operating system (such as Windows 2000) may ask you to restart the computer again after driver installation. This reduces the times to restart the computer.
  • Page 33 PCI-1202/1602/180x Series Card Multi-Function Boards Step 3: Shut down and power off your computer. Step 4: Remove all covers from the computer. Step 5: Select an empty PCI/PCI Express slot. User Manual/ Ver. 4.8/ Mar. 2015/ PMH-0014-48/ Page: 33...
  • Page 34 PCI-1202/1602/180x Series Card Multi-Function Boards Step 6: Remove the PCI/PCI Express slot cover form the PC. Step 7: Remove the connector cover form the DAQ card. Step 8: Carefully insert your DAQ card into the PCI/PCI Express slot. User Manual/ Ver. 4.8/ Mar. 2015/ PMH-0014-48/ Page: 34...
  • Page 35 PCI-1202/1602/180x Series Card Multi-Function Boards Step 9: Tighten the captive Phillips screw. Confirm the PEX-1202 and PCI-1202/1602/1800/1802 series card is mounted on the motherboard. Step 10: Replace the computer cover. Step 11: Power on the computer. Follow the prompt message to finish the Plug&Play steps, please refer to Chapter 4 Software Installation.
  • Page 36: Software Installation

    PCI-1202/1602/180x Series Card Multi-Function Boards 4. Software Installation The PEX-1202 and PCI-1202/1602/1800/1802 series card can be used in DOS, Linux and Windows 98/NT/2K and 32-bit/64-bit Windows XP/2003/Vista/7/8. This chapter shows you the detail steps to install these drivers. The recommended installation procedure for Windows is given in Sections 4.1 to 4.3.
  • Page 37 PCI-1202/1602/180x Series Card Multi-Function Boards Step 3: Please install the appropriate driver for your OS. Click the item: “UniDAQ”. Click the item: “DLL for Windows 2000 and XP/2003/Vista 32-bit”. Double-Click “UniDAQ_Win_Setup_x.x.x.x_xxxx.exe” file in the “Driver” folder. User Manual/ Ver. 4.8/ Mar. 2015/ PMH-0014-48/ Page: 37...
  • Page 38: Pnp Driver Installation

    PCI-1202/1602/180x Series Card Multi-Function Boards Click the “Next>” button to start the installation. Check your DAQ Card is or not on supported list, Click the “Next>” button. Select the installed folder, the default path is C:\ICPDAS\UniDAQ, confirm and click the “Next>”...
  • Page 39 PCI-1202/1602/180x Series Card Multi-Function Boards Step 2: Power on the computer and system should find the new card and then continue to finish the Plug&Play steps. Note: Some Windows OS will load driver automatically complete the installation at boot. Step 3: Select “Install the software automatically *Recommended+” and click the “Next>” button.
  • Page 40 PCI-1202/1602/180x Series Card Multi-Function Boards Step 4: Click the “Finish” button. Step 5: Windows pops up “Found New Hardware” dialog box again. User Manual/ Ver. 4.8/ Mar. 2015/ PMH-0014-48/ Page: 40...
  • Page 41: Confirm The Successful Installation

    PCI-1202/1602/180x Series Card Multi-Function Boards Confirm the Successful Installation Make sure the PEX-1202 and PCI-1202/1602/1800/1802 series card installed is correct on the computer as follows: “Start”  “Control Panel” Step 1: Select the and then double click the “System” icon on Windows. Step 2: Click the “Hardware”...
  • Page 42: Testing Pci-1202/1602/180X Card

    PCI-1202/1602/180x Series Card Multi-Function Boards 5. Testing PCI-1202/1602/180x Card This chapter can give you the detail steps about self-test. In this way, user can confirm that PEX-1202 and PCI-1202/1602/1800/1802 series card well or not. Before the self-test, you must complete the hardware and driver installation. For detailed information about the hardware and driver installation, please refer to Chapter 3 Hardware Installation Chapter 4 Software...
  • Page 43: Analog Input Test Wiring

    PCI-1202/1602/180x Series Card Multi-Function Boards 5.1.2 Analog Input Test Wiring 1. Prepare for device:  One DN-37 (optional) wiring terminal board.  One CA-3710 (optional) cable.  Provide a stable signal source. (for example, dry battery) 2. Connect a DN-37 to the CON3. 3.
  • Page 44: Analog Output Test Wiring

    PCI-1202/1602/180x Series Card Multi-Function Boards  The PCI-1800 Series : Connect the AI_01 (Pin01) to signal positive(+) Connect the A.GND(Pin09) to signal negative(-) 5.1.3 Analog Output Test Wiring 1. Prepare for device:  One DN-37 (optional) wiring terminal board.  One CA-3710 (optional) cable.
  • Page 45 PCI-1202/1602/180x Series Card Multi-Function Boards 3. Wire the digital multi-meter to D/A channel_0, and then keep set the J1 jumper to 10 V voltage (refer to Sec. 2.2.2), and wire the signals as follows:  The PEX-1202 and PCI-1202/1602/1802 Series : Connect the positive probe (+) of Multi-meter to D/A_out0 (Pin 18).
  • Page 46: Execute The Test Program

    PCI-1202/1602/180x Series Card Multi-Function Boards Execute the Test Program 1. Execute the UniDAQ Utility Program. The UniDAQ Utility.exe will be placed in the default path after completing installation. Default Path: C:\ICPDAS\UniDAQ\Driver\ Double click the “UniDAQUtility.exe” Double-Click Click this button to start test. Confirm the PCI-1202/1602/1800/1802 series card had successfully installed to PC.
  • Page 47 PCI-1202/1602/180x Series Card Multi-Function Boards Digital Output/Input Function 2. Get test result. Click “Digital Output” item. Check channel 0, 2, 4, 6 Select the “Port 0” Click “Digital Input” item. The corresponding D/I becomes red for channel 0, 2, 4, 6 of D/O is ON. Select the “Port 0”...
  • Page 48 PCI-1202/1602/180x Series Card Multi-Function Boards Analog Input Function 3. Get test result. Click “Analog Input” item. Confirm the configuration setting. Click this button to start test. Check analog input on Channel 0 textbox. The other channels value for floating number. User Manual/ Ver.
  • Page 49 PCI-1202/1602/180x Series Card Multi-Function Boards Analog Output Function 4. Get test result. Click “Analog Output” item. Click this button. Select the “Channel 0” Select the “+/- 10V” Type the voltage value The value read on meter may be a little difference from the DA value because of the resolution limit of meter or the measurement error.
  • Page 50: I/O Control Register

    PCI-1202/1602/180x Series Card Multi-Function Boards 6. I/O Control Register How to Find the I/O Address plug&play BIOS will assign proper address every PEX-1202 PCI-1202/1602/1800/1802 series card in the power-on stage. The fixed IDs for the PEX-1202 and PCI-1202/1602/1800/1802 series card are given as follows: Table 6-1: PEX-1202/ PCI-1202 Series Vendor ID...
  • Page 51 PCI-1202/1602/180x Series Card Multi-Function Boards PIO_PISO.EXE Utility for the Windows The PIO_PISO.EXE utility program will detect and present all information for ICPDAS I/O cards installed in the PC, as shown in the following Figure6-1. Details of how to identify the PEX-1202 and PCI-1202/1602/1800/1802 series card of ICPDAS data acquisition boards based on the Sub-vendor, Sub-device...
  • Page 52 PCI-1202/1602/180x Series Card Multi-Function Boards P180x_DriverInit(..) Function The P180X_DriverInit(..) can detect how many PCI-1800/1802 cards in the system. Then the P180X_DriverInit(..) will detect the I/O address of these cards. The P180X_DriverInit(..) is implemented based on the PCI plug&play mechanism-2. The P180X_DriverInit(..) must be called once before all the other functions.
  • Page 53: The Assignment Of I/O Address

    PCI-1202/1602/180x Series Card Multi-Function Boards The Assignment of I/O Address The plug&play BIOS will assign the proper I/O address to PEX-1202/PCI-1202/1602/180x series card. If there is only one PEX-1202/PCI-1202/1602/180x series card, the user can identify the board_0. If there are two PEX-1202/PCI-1202/1602/180x series cards in the system, the user will be very difficult to identify which board is board_0.
  • Page 54: The I/O Address Map

    PCI-1202/1602/180x Series Card Multi-Function Boards The I/O Address Map The plug&play BIOS will assign proper I/O address to each PEX-1202 and PCI-1202/1602/1800/1802 series card very well. There are five BAR of I/O address used by this card and each section can be assigned to an unused I/O space.
  • Page 55: Bar1: Timer Control

    PCI-1202/1602/180x Series Card Multi-Function Boards BAR1: Timer Control The timer-0 is used as the internal A/D pacer trigger. The timer-1 is designed for the A/D pacer trigger in the external trigger mode. The timer-2 is used as the machine independent timer. The timer-2 is very important for settling time delay.
  • Page 56 PCI-1202/1602/180x Series Card Multi-Function Boards  timer0  for Pacer Trigger void enable_timer0(WORD divv) // for internal pacer trigger outport((WORD)(wAddrTimer+3*4), 0x34); /* enable pacer timer_0 */ outport((WORD)(wAddrTimer+0*4), (WORD)(divv & 0xff)); outport((WORD)(wAddrTimer+0*4), (WORD)((divv>>8) & 0xff)); void disable_timer0(void) outport((WORD)(wAddrTimer+3*4), 0x34); /* disable pacer timer_0 */ outport((WORD)(wAddrTimer+0*4), 0x01);...
  • Page 57 PCI-1202/1602/180x Series Card Multi-Function Boards  timer2  for Machine Independent Timer P180x_DelayUs(…) is designed for PCI-1800/1802 series. P1202_DelayUs(…) is designed for PEX-1202/PCI-1202 series. P1602_DelayUs(…) is designed for PCI-1602 series. /* address of timer 2 = wAddrTimer+2*4 address of ctrl = wAddrTimer+3*4 input clock = 8 M...
  • Page 58: Bar2: Control Register

    PCI-1202/1602/180x Series Card Multi-Function Boards BAR2: Control Register The I/O address of control register is given as follows:  I/O address of control register wAddrCtrl+0 *4  I/O address of status register wAddrCtrl+0 *4  I/O address of trigger register wAddrCtrl+1 *4 Figure 6.5-1: The flow path of analog input signal Signals...
  • Page 59 PCI-1202/1602/180x Series Card Multi-Function Boards 6.5.1.1 Bit4-Bit0: A/D Channel Select A/D channel Boards 1202/1602/1800/1802 1202/1602/1800/1802 1202/1602/1802 1202/1602/1802 6.5.1.2 Bit6, Bit7, Bit8, Bit9: Configuration Table  Bit6, Bit7: Gain Control [B7, B6] Low Gain High Gain [0, 0] PGA=1 PGA=1 [0, 1] PGA=2 PGA=10 [1, 0]...
  • Page 60 PCI-1202/1602/180x Series Card Multi-Function Boards  The configuration table of PEX-1202 and PCI-1202/1800/1802( is given as follows: L/LU) Bipolar/Unipolar Input Signal Range Gain Settling Time [B9,B8,B7,B6] Bipolar +/- 5 V 3 μs 0000 Bipolar +/- 2.5 V 3 μs 0001 Bipolar +/- 1.25 V 3 μs...
  • Page 61 PCI-1202/1602/180x Series Card Multi-Function Boards  Set Channel Configuration The demo program to set the channel and gain is given as follows: P180x_SetChannelConfig(…) is designed for PCI-1800/1802 series P1202_SetChannelConfig(…) is designed for PEX-1202/PCI-1202 series P1602_SetChannelConfig(…) is designed for PCI-1602 series WORD P180X_SetChannelConfig(WORD wAdChannel, WORD wAdConfig) WORD wConfig,wChannel;...
  • Page 62 PCI-1202/1602/180x Series Card Multi-Function Boards  Calculate the A/D Value The demo program to calculate the real A/D value is given as follows: double ComputeRealValue(DWORD dwAdConfig, DWORD dwAdHex) WORD wZERO; double dfMAX, dfVal; switch (dwAdConfig) case 0 : wZERO=2048; dfMAX=5.0; break;...
  • Page 63 PCI-1202/1602/180x Series Card Multi-Function Boards 6.5.1.3 Bit12-Bit10: Command Sets of MagicScan Controller The command sets of MagicScan controller are given as follows: Command [B12, B11, B10] Descriptions Reset the MagicScan controller. Reset [0 0 0] The software driver must send this command once after power-on.
  • Page 64 PCI-1202/1602/180x Series Card Multi-Function Boards  The demo program of send command to MagicScan control is given as follows: WORD pic_control(WORD i) WORD j; if ((inport(wAddrCtrl)&0x04)==0) outport(wAddrCtrl,0xffff); /* send a recovery to PIC */ j=0; while ((inport(wAddrCtrl)&0x04)==0) j++; if (j>65530) return(AdControllerError); /* time out */ i = i &...
  • Page 65 PCI-1202/1602/180x Series Card Multi-Function Boards  The demo program to set the channel and gain is given as follows: P180x_SetChannelConfig(…) is designed for PCI-1800/1802 series P1202_SetChannelConfig(…) is designed for PEX-1202/PCI-1202 series P1602_SetChannelConfig(…) is designed for PCI-1602 series WORD P180X_SetChannelConfig(WORD wAdChannel, WORD wAdConfig) WORD wConfig,wChannel;...
  • Page 66 PCI-1202/1602/180x Series Card Multi-Function Boards  The demo program to add to MagicScan queue is given as follows: P180x_AddToScan(…) is designed for PCI-1800/1802 series P1202_AddToScan(…) is designed for PEX-1202/PCI-1202 series P1602_AddToScan(…) is designed for PCI-1602 series WORD P180X_AddToScan(WORD wAdChannel, WORD wAdConfig, WORD wAverage, WORD wLowAlarm, WORD wHighAlarm, WORD wAlarmType) {WORD wConfig,wChannel,wRetVal;...
  • Page 67 PCI-1202/1602/180x Series Card Multi-Function Boards  The demo program to start MagicScan operation is given as follows: P180x_StartScan(…) is designed for PCI-1800/1802 series P1202_StartScan(…) is designed for PEX-1202/PCI-1202 series P1602_StartScan(…) is designed for PCI-1602 series WORD P180X_StartScan(WORD wSampleRate, WORD wNum) WORD wVal;...
  • Page 68 PCI-1202/1602/180x Series Card Multi-Function Boards 6.5.1.4 Bit12-Bit10: External Trigger Control  The operation steps of post-trigger are given as follows: External trigger signal Step 1: Disable all external trigger Step 2: Set the pacer rate of timer-1 Step 3: Clear FIFO & disable timer-1 Step 4: Wait until external trigger signal to enable timer-1 Step 5: Fetch N data(N=End-Start) Start...
  • Page 69 PCI-1202/1602/180x Series Card Multi-Function Boards  The software flowchart of external trigger operation is given as follows: P180X_ClearScan Clear the MagicScan controller P180X_AddToScan Add channel 1 to circular queue P180X_SaveScan If the AD data need to be saved P180X_AddToScan Add channel 2 to circular queue P180X_SaveScan If the AD data need to be saved P180X_AddToScan...
  • Page 70 PCI-1202/1602/180x Series Card Multi-Function Boards  The demo program of post-trigger is given as follows: wRetVal=P180X_ClearScan(); wRetVal += P180X_AddToScan(0,0,1,0,0,0); // CH:0 to scan wRetVal += P180X_SaveScan(0,wV0); wRetVal += P180X_AddToScan(2,0,1,0,0,0); // CH:2 to scan wRetVal += P180X_SaveScan(1,wV2); // Notice: 1 not 2 ^ : This is a ordinal number in Scan Queue not a channel number.
  • Page 71 PCI-1202/1602/180x Series Card Multi-Function Boards  The B13 must set to 1 to set the external trigger logic. The external trigger controller commands are given as follows: Command sequences Trigger Descriptions [B12, B11, B10 ] Disable external trigger [ 1, 0, X] Disable all external trigger.
  • Page 72 PCI-1202/1602/180x Series Card Multi-Function Boards  The source code of the post-trigger function (Windows version) is given as follows: P180x_StartScanPostTrg(…) is designed for PCI-1800/1802 series P1202_StartScanPostTrg(…) is designed for PEX-1202 and PCI-1202 series P1602_StartScanPostTrg(…) is designed for PCI-1602 series WORD CALLBACK P180X_StartScanPostTrg(WORD wSampleRateDiv, DWORD dwNum, SHORT nPriority) disable_timer0();...
  • Page 73 PCI-1202/1602/180x Series Card Multi-Function Boards  The source code of the pre-trigger function (Windows version) is given as follows: P180x_StartScanPostTrg(…) is designed for PCI-1800/1802 series P1202_StartScanPostTrg(…) is designed for PEX-1202 and PCI-1202 series P1602_StartScanPostTrg(…) is designed for PCI-1602 series WORD CALLBACK P180X_StartScanPreTrg(WORD wSampleRateDiv, DWORD dwNum, SHORT nPriority) disable_timer0();...
  • Page 74 PCI-1202/1602/180x Series Card Multi-Function Boards  The source code of the middle-trigger function (Windows version) is given as follows: P180x_StartScanPostTrg(…) is designed for PCI-1800/1802 series P1202_StartScanPostTrg(…) is designed for PEX-1202 and PCI-1202 series P1602_StartScanPostTrg(…) is designed for PCI-1602 series WORD CALLBACK P180X_StartScanMiddleTrg(WORD wSampleRateDiv, DWORD dwNum, SHORT nPriority) disable_timer0();...
  • Page 75 PCI-1202/1602/180x Series Card Multi-Function Boards  The source code of the pre-trigger function for PCI-1800/1802/ver-C is given as follows: This driver is designed for PCI-1800/1802 version-C WORD CALLBACK P180X_StartScanPreTrgVerC(WORD wSampleRateDiv, DWORD dwNum, SHORT nPriority) disable_timer0(); // disable internal pacer timer disable_timer1();...
  • Page 76 PCI-1202/1602/180x Series Card Multi-Function Boards  The source code of the middle-trigger function for PCI-1800/1802/ver-C is given as follows: This driver is designed for PCI-1800/1802 version-C WORD CALLBACK P180X_StartScanMiddleTrgVerC(WORD wSampleRateDiv, DWORD dwNum, SHORT nPriority) disable_timer0(); // disable internal pacer timer disable_timer1();...
  • Page 77 PCI-1202/1602/180x Series Card Multi-Function Boards The external trigger functions are given as follows: Driver Name Demo program Applications P180X_StartScanPostTrg(…) demo23.c for PCI-1800/1802 ver-C & ver-F P180X_StartScanPreTrg(…) demo24.c for PCI-1800/1802 ver-F P180X_StartScanMiddleTrg(…) demo25.c for PCI-1800/1802 ver-F P180X_StartScanPreTrgOld(…) demo26.c for PCI-1800/1802 ver-C P180X_StartScanMiddleTrgOld(…) demo27.c for PCI-1800/1802 ver-C...
  • Page 78 PCI-1202/1602/180x Series Card Multi-Function Boards 6.5.1.6 Bit13: Handshake Control Bit Set the B13 to 0 if the command is sent to the Command [B13] MagicScan controller. Keep this bit at high when Handshake Control to MagicScan not used. Controller Set the external trigger logic The demo program of handshaking is given as follows: WORD pic_control(WORD i) WORD j;...
  • Page 79: The Status Register

    PCI-1202/1602/180x Series Card Multi-Function Boards 6.5.2 The Status Register The format of the status register is given as follows: Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Bit7: FIFO Half-Full 0 FIFO is Half-Full Bit6: FIFO Full 0 FIFO is Full Bit5: FIFO Empty;...
  • Page 80: The A/D Software Trigger Register

    PCI-1202/1602/180x Series Card Multi-Function Boards 6.5.3 The A/D Software Trigger Register Writing to this port will perform a software trigger signal to trigger an A/D conversion. Although the PC can send very fast trigger signal (more than 333 k ), the max. sampling rate of A/D conversion cannot over 330 k Samples/Sec..
  • Page 81: Bar3: Di/Do Register

    PCI-1202/1602/180x Series Card Multi-Function Boards BAR3: DI/DO Register 6.6.1 Digital Output/Digital Input The I/O address of DIO is given as follows:  I/O address of D/I wAddrDio  I/O address of D/O wAddrDio The PEX-1202 and PCI-1202/1602/1800/1802 series card provides 16-channel digital input and 16-channel digital output.
  • Page 82: Card Id Register

    PCI-1202/1602/180x Series Card Multi-Function Boards  The sample code of DI/DO is given as follows: P180x_Di (…) and P180x_Do (…) is designed for PCI-1800/1802 series P1202_Di (…) and P1202_Do(…) is designed for PEX-1202/PCI-1202 series P1602_Di (…) and P1602_Do (…) is designed for PCI-1600 series WORD P180X_Di(WORD *wDi) *wDi=inport(wAddrDio)&0xffff;...
  • Page 83: Bar4: A/Dand D/A Register

    PCI-1202/1602/180x Series Card Multi-Function Boards BAR4: A/D and D/A Register The I/O address of A/D and D/A register is given as follows:  I/O address of DA-0 wAddrAdda  I/O address of DA-1 wAddrAdda+1*4  I/O address of FIFO wAddrAdda This BAR4 address is used to write data to the DACs and to read data from the A/D FIFO.
  • Page 84 PCI-1202/1602/180x Series Card Multi-Function Boards Note: The D/A output is floating after first power-on. The D/A output will be enabled after executing D/A output command. This is the common feature of PEX-1202 and PCI-1202/1602/1800/1802 series.  The sample code for D/A is given as follows: P180x_Da (…) is designed for PCI-1800/1802 series P1202_Da (…) is designed for PEX-1202/PCI-1202 series P1602_Da (…) is designed for PCI-1600 series...
  • Page 85 PCI-1202/1602/180x Series Card Multi-Function Boards  The sample code of software trigger A/D conversion is given as follows: P180x_AdPollingHex (…) is designed for PCI-1800/1802 series P1202_AdPollingHex (…) is designed for PEX-1202/PCI-1202 series P1602_AdPollingHex (…) is designed for PCI-1600 series WORD P180X_AdPollingHex(Word *AdVal) WORD wVal, wTime ;...
  • Page 86: A/D Conversion Operation

    PCI-1202/1602/180x Series Card Multi-Function Boards 7. A/D Conversion Operation The Configuration Code Table  PEX-1202( and PCI-1202/1800/1802( Configuration Code Table L/LU) Bipolar Settling Configuration Input Range Gain Unipolar Time Code Bipolar +/- 5 V 3 μs 0x00 Bipolar +/- 2.5 V 3 μs 0x01 Bipolar...
  • Page 87: The Unipolar/Bipolar

    PCI-1202/1602/180x Series Card Multi-Function Boards  PCI-1602/1602U Configuration Code Table Bipolar Settling Configuration Input Range Gain Uniploar Time Code Bipolar +/-10 V 10 μs Bipolar +/-5 V 10 μs Bipolar +/-2.5 V 10 μs Bipolar +/-1.25 V 10 μs  PCI-1602F/1602FU Configuration Code Table Bipolar Settling...
  • Page 88: The Settling Time

    PCI-1202/1602/180x Series Card Multi-Function Boards The Settling Time If the channel number or gain factor is changed, the hardware need extra time for signal ready. This is called the settling time. This limitation will apply both to the Fixed-channel mode and MagicScan mode of AD conversions.
  • Page 89: The Ad Conversion Mode

    PCI-1202/1602/180x Series Card Multi-Function Boards The AD Conversion Mode The AD conversion operation of PEX-1202 and PCI-1202/1602/1800/1802 series card can be divided into two different mode: Fixed-channel mode and the MagicScan mode. P180x_… is designed for PCI-1800/1802 series P1202_… is designed for PEX-1202/PCI-1202 series P1602_…...
  • Page 90 PCI-1202/1602/180x Series Card Multi-Function Boards The functions of continuous capture with storing data to main memory are given as follows: (two boards operating simultaneously) 1. P180x_FunA_Start 2. P180x_FunA_ReadStatus 3. P180x_FunA_Stop 4. P180x_FunA_Get The functions of continuous capture with storing data to main memory are given as follows: (single board operating) 1.
  • Page 91: The Fixed-Channel Mode Ad Conversion

    PCI-1202/1602/180x Series Card Multi-Function Boards The Fixed-channel Mode AD Conversion The P180X_SetChannelConfig activates the selected channel and sets configuration code. Then the other functions will refer to that channel and configuration. The general flow chart is given as follows: P1202_SetChannelConfig(…) for PEX/PCI-1202 series P1602_SetChannelConfig(…) for PCI-1602 series P180X_SetChannelCongig Select the active channel 1...
  • Page 92: The Magicscan Mode Ad Conversion

    PCI-1202/1602/180x Series Card Multi-Function Boards The MagicScan Mode AD Conversion The P180X_ClearScan sets the MagicScan controller to its initial state. The P180X_AddToScan adds the channels to MagicScan circular queue one by one. The scan sequence of the channels is depending on the order of the P180X_AddToScan settings. The maximum queue size is 48. The channel number in the scan list can be random and duplicated.
  • Page 93: The Magicscan Circular_Scan_Queue

    PCI-1202/1602/180x Series Card Multi-Function Boards 7.8.1 The MagicScan Circular_Scan_Queue The MagicScan controller is equipped with a circular queue for scan sequence control. The scan sequence is one by one and repeatable with the limitation of maximum 48 channels. So the following scan sequence is all valid: One Channel MagicScan Two Channels MagicScan, scan...
  • Page 94: The Digital Filter Of Magicscan

    PCI-1202/1602/180x Series Card Multi-Function Boards 7.8.2 The Digital Filter of MagicScan The digital filter is a average filter. Filter value = (V_1+V_2+……+V_n)/n, where n is average factor If the input signal is very noisy, this filter can be used to remove these noises. 7.8.3 The Digital Filter of MagicScan The MagicScan controller scans the analog inputs in fixed-sampling-rate.
  • Page 95: The High/Low Alarm Of Magicscan

    PCI-1202/1602/180x Series Card Multi-Function Boards 7.8.4 The High/Low Alarm of MagicScan There are 5 alarm types are given as follows: Type 0 : no alarm  any AD data > High_alarm_value Type 1 : high alarm Type 2 : low alarm  any AD data < Low_alarm_value ...
  • Page 96 PCI-1202/1602/180x Series Card Multi-Function Boards Magic Scan Controller Analog FIFO Signal Converter Pacer Trigger Timer (1) The Magic Scan controller is a high performance RISC-like controller. It can scan the analog input signal in non-sequential order. It also control the PGA to different predefined gain for each channel.
  • Page 97 PCI-1202/1602/180x Series Card Multi-Function Boards The A/D conversion data in FIFO are in the same sampling rate (refer to (1), (2), (3)). For example,  the scan channel is 1 2  3  the pacer sampling rate is 330 k ...
  • Page 98: The Magicscan Thread

    PCI-1202/1602/180x Series Card Multi-Function Boards 7.8.6 The MagicScan Thread The sample code of MagicScan thread as follows: //---------------------------------------------------------------------- // wThreadStatus : 0x01=MagicScan start 0x02=timeout1 0x04=timeout2 0x08=FIFO overflow 0x80=MagicScan OK WORD magic_scan() WORD wVal,w1,w3; DWORD i,dwTime,j,k,dwIndex; for (j=0; j<wMP; j++) dwMagicSum[j]=0; for (j=0;...
  • Page 99 PCI-1202/1602/180x Series Card Multi-Function Boards if (w1==0) wVal=(WORD)(dwMagicSum[j]/wMagicAve[j]); if (wMagicScanSave[j]==1) *((wMagicScanBuf[j])+wMagicP[j])=wVal; wMagicP[j]++; w3=wMagicAlarmType[j]; if(w3>0) // 0 = no alarm dwIndex=0x01; k=j; while (k>0) dwIndex=dwIndex<<1; k--; if (w3==2) // 2 = low alarm if (wVal<wMagicLowAlarm[j]) dwMagicLowAlarm |= dwIndex; else if (w3==1) // 1 = high alarm if (wVal>wMagicHighAlarm[j]) dwMagicHighAlarm |= dwIndex;...
  • Page 100: M_Function

    PCI-1202/1602/180x Series Card Multi-Function Boards 8. M_Function Some real world applications have to send out the pre-defined pattern to the external device and measure the output responses for analysis. The user need one arbitrary wave form generator and one high speed A/D converter. The M_Functions, provided by PEX-1202 and PCI-1202/1602/1800/1802 series card, can send out the user defined arbitrary waveform (by software) and perform the A/D conversion (by hardware) at the same time.
  • Page 101: Introduction

    PCI-1202/1602/180x Series Card Multi-Function Boards Introduction  What Is M_Functions? The features of the M_Functions are given as follows: 1. Arbitrary wave form generation (by software) from D/A output port (2 channels max.) 2. Perform MagicScan A/D conversion (by hardware) at the same time (32 channels max.) 3.
  • Page 102 PCI-1202/1602/180x Series Card Multi-Function Boards  Which types of waveform can be generated by the M_Functions ? The M_Functions use wave-form-image-data format to reconstruct the output waveform. Therefore nearly any types of waveform can be generated. The only limitations are resolution and frequency.
  • Page 103 PCI-1202/1602/180x Series Card Multi-Function Boards How many M_Functions are ready now ?  There are four M_Functions, P180X_M_FUN_1, P180X_M_FUN_2, P180X_M_FUN_3 and M_FUN_4 are ready now. The M_FUN_1 will automatic to compute the sine wave output image. The M_FUN_2 is designed for arbitrary waveform generation, so the user can prepare their waveform for M_FUN_2.
  • Page 104 PCI-1202/1602/180x Series Card Multi-Function Boards  Limitation The system will interrupt the driver software under multi-task OS, like Windows. The partial function of D/A arbitrary waveform generation is implemented by software. Therefore the D/A output waveform will be distorted sometimes. Refer to Figure 8-5 for details. If the user has to generate the periodic wave form such as sine, cosine …, and the analysis is similar to spectrum analysis, this type of output distortion will cause little trouble.
  • Page 105: Continuous Capture Function

    PCI-1202/1602/180x Series Card Multi-Function Boards 9. Continuous Capture Function The continuous capture functions are very useful in real world applications. It can be used in many types of applications. Those applications are 1. Low speed, no storage, real-time processing, continuous capture 2.
  • Page 106 PCI-1202/1602/180x Series Card Multi-Function Boards The block diagram of continuous capture function is given as follows: Magic Scan Card?_StartScan(...) Buffer Controller Analog FIFO Signal Converter Pacer Trigger Card?_ReadData(...) Timer Figure 9-1: The block diagram of continuous capture.  The P180X_Card?_StartScan(…) will perform the following function: 1.
  • Page 107 PCI-1202/1602/180x Series Card Multi-Function Boards  The sample code for single board is given as follows: wRetVal=P180X_Card0_StartScan(……); // setup continuous capture function // this function will create thread if (wRet != NoError) Show error message & return // now the thread is active and the continuous capture function is going now for(;;) wRetVal=P180X_Card0_ReadStatus(…);...
  • Page 108 PCI-1202/1602/180x Series Card Multi-Function Boards  The sample code for multi-boards is given as follows: wRetVal=P180X_Card0_StartScan(……); // setup continuous capture function // this function will create thread if (wRet != NoError) { Show error message & return } wRetVal=P180X_Card1_StartScan(……); // setup continuous capture function // this function will create thread if (wRet != NoError) { Show error message &...
  • Page 109: Functions For Saving Data In Pc Memory

    PCI-1202/1602/180x Series Card Multi-Function Boards Functions for saving Data in PC Memory The P180X_FunA and P180X_FunB series functions are designed for continuous capture which storing the data into main memory. The features for these P180X_FunA and P180X_FunB are listed as follows: ...
  • Page 110: Calibration

    PCI-1202/1602/180x Series Card Multi-Function Boards 10. Calibration 10.1 A/D Calibration  For PEX-1202 and PCI-1202/1800/1802 series card: Step 1: Apply 0 V to channel 0 Step 2: Apply 4.996 V to channel 1 Step 3: Apply +0.6245 V to channel 2 for PEX-1202 and PCI-1202/1800/1802 (L/LU) Step 4: Apply +4.996 mV to channel 2 for PEX-1202...
  • Page 111 PCI-1202/1602/180x Series Card Multi-Function Boards  The wiring diagram of A/D calibration: VR5 VR6 VR7 CON2 CON3 PCI-1602/1602F REV:1.0 Power Supply ICP DAS 0.0001 V 5.0001 V 0.6250 V POWER DN-37 I/O CONNECTOR BLOCK Output Vlotage CH 16 A. CH 0 CH 1 CH 2 Figure 10-1.
  • Page 112: D/A Calibration

    PCI-1202/1602/180x Series Card Multi-Function Boards 10.2 D/A Calibration  For PCI-1800/1802 version_F and PEX-1202/PCI-1202 series card: Step 1: J1 select +10 V Step 2: Connect the D/A channel 0 to voltage meter Step 3: Send 0x800 to D/A channel 0 Step 4: Adjust VR200 until voltage meter = 0 V Step 5: Send 0 to D/A channel 0 Step 6: Adjust VR201 until voltage meter = -10 V...
  • Page 113 PCI-1202/1602/180x Series Card Multi-Function Boards  The wiring diagram of D/A calibration: VR5 VR6 VR7 CON2 CON3 PCI-1602/1602F REV:1.0 DN-37 I/O CONNECTOR BLOCK CH 17 DAC output CH 16 A.GND channel 0 Figure 10-2. D/A Calibration Note: 1. The CH 18/36 are the output channels 0/1 of DAC for PEX-1202 and PCI-1202/1602/1802 series card.
  • Page 114: Demo Program

    PCI-1202/1602/180x Series Card Multi-Function Boards 11. Demo Program 11.1 Demo Program for Windows All demo programs will not work properly if the DLL driver has not been installed correctly. During the DLL driver installation process , the install-shields will register the correct kernel driver to the operation system and copy the DLL driver and demo programs to the correct position based on the driver software package you have selected (Win98/Me/NT/2K and 32-/64-bit winXP/2003/Vista/7/8).
  • Page 115 PCI-1202/1602/180x Series Card Multi-Function Boards  demo4: two board, same as demo3  demo5: one board, M_function_1 demo  demo6: two board, same as demo5  demo7: one board, M_function_2 demo  demo8: two board, same as demo7  demo9: one board, M_function_3 demo ...
  • Page 116 PCI-1202/1602/180x Series Card Multi-Function Boards  Demo Program for UniDAQ SDK Driver The demo program is contained in: CD:\NAPDOS\PCI\UniDAQ\DLL\Demo\ http://ftp.icpdas.com/pub/cd/iocard/pci/napdos/pci/unidaq/dll/demo/ There are about demo program given as follows:  Analog Input Pacer  Analog Input Pacer Continue  Analog Input Pacer Scan ...
  • Page 117: Diagnostic Program

    PCI-1202/1602/180x Series Card Multi-Function Boards 11.2 Diagnostic Program 11.2.1 Power-on Plug&Play Test The operation steps of power-on plug&play test are given as follows: Step 1: Power-off PC Step 2: Install PCI-1202/1602/1800/1802 without any extra external connector Step 3: Power-on PC and check the PC screen very carefully Step 4: The PC will performance self-test first Step 5: Detect the non-PCI physical devices installed in the system Step 6: Show the information of these device in screen...
  • Page 118: D/O Test

    PCI-1202/1602/180x Series Card Multi-Function Boards 11.2.3 D/O Test Step 1: Power-off PC Step 2: Install one PEX-1202 and PCI-1202/1602/1800/1802 card with a 20-pin flat cable between CON1 and CON2 Step 3: Power-on PC, run DEMO15.EXE Step 4: Check the value of D/O and D/I  must be the same. 11.2.4 D/A Test Step 1: Power-off PC...
  • Page 119: Performance Evaluation

    PCI-1202/1602/180x Series Card Multi-Function Boards 12. Performance Evaluation Demo Program Performance Description DEMO16.EXE. 1.7 MS/s D/I performance DEMO16.EXE. 2.1 MS/s D/O performance DEMO16.EXE. 2.0 MS/s D/A performance Continuous capture function, one card, two channels DEMO13.EXE 20 kS/s Total=20 kS/s  10 kS/s per channels Continuous capture function, two card, two channels DEMO14.EXE 20 kS/s...
  • Page 120: Appendix: Daughter Board

    PCI-1202/1602/180x Series Card Multi-Function Boards Appendix: Daughter Board A1. DB-37 and DN-37  DB-37: The DB-37 is a general purpose daughter board for D-sub 37 pins. It is designed for easy wire connection via pin-to-pin. DB-37  DN-37: The DN-37 is a general purpose daughter board for DB-37 pins with DIN-Rail Mountings.
  • Page 121: A3. Db-8225

    PCI-1202/1602/180x Series Card Multi-Function Boards A3. DB-8225 The DB-8225 provides a on-board CJC(Cold Junction Compensation) circuit for thermocouple measurement and terminal block for easy signal connection and measurement. The CJC is connected to A/D channel_0. The PCI-1800 can connect CON3 direct to DB-8225 through a 37-pin D-sub connector.
  • Page 122: A5. Db-16R Relay Board

    PCI-1202/1602/180x Series Card Multi-Function Boards A5. DB-16R Relay Board The DB-16R, 16-channel relay output board, consists of 16 Form C relays for efficient switching of load by programmed control. It is connector and functionally compatible with 785 series board but with industrial type terminal block.
  • Page 123: A6. Db-24Pr Power Relay Board

    PCI-1202/1602/180x Series Card Multi-Function Boards A6. DB-24PR Power Relay Board The DB-24PR, 24-channel power relay output board, consists of 8 Form C and 16 Form A electromechanical relays for efficient switching of load by programmed control. The contact of each relay can control a 5 A load at 250 V /30 V .

Table of Contents