background image

 

The B13 must set to 1 to set the external trigger logic. The external trigger controller 

commands are given as follows:  

Trigger Command 

sequences

[B12, B11, B10 ] 

Descriptions 

Disable external trigger 
(for PCI-1800/1X02) 

[ 1, 0, X] 

Disable all external trigger. 

Post-trigger 

(for PCI-1202/1602/ 
1800/1802) 

[ 1, 0, X] 

 

[ 1, 0, X ]  

[ 1, 1, 1 ] 

 

[ 1, 0, X] 

(1)

 disable all external trigger 

(2)

 set pacer time-1 

(3)

 clear FIFO and disable timer-1 

(4)

 waiting for external signal to enable timer-1 

(5) 

 

fetch N data  

(6) 

 

stop all timer & disable all external trigger 

Pre-trigger 

(for PCI-1202/1602 & 
PCI-1800/1802/ver-F) 

[ 1, 0, X ]  

 

[ 0, 1, X ] 

[ 1, 1, 0 ]  

 

[ 1, 0, X] 

(1)

 disable all external trigger 

(2)

 set pacer timer-1 

(3)

 clear FIFO and enable timer-1 

(4)

 waiting for the external signal to stop timer-1. 

(5) 

 

circular-fetch the last N data 

(6) 

 

stop all timer & disable all trigger 

Middle-trigger 

(for PCI-1202/1602 & 
PCI-1800/1802/ver-F) 

[ 1, 0, X ]  

 

[ 0, 1, X ]  

[ 1, 1, 1] 

 

[ 1, 0, X] 

(1)

 disable all external trigger 

(2)

 set pacer timer-1 

(3)

 clear FIFO and enable timer-1 

(4)

 waiting for the external signal. 

(5) 

 

fetch more N2 data (circular-fetch) 

(6) 

 

stop all timer & disable all trigger 

Pre-trigger 
(for PCI-1800/1802) 

(version-C)

 

[ 1, 0, X ] 

 

[ 0, 1, X ] 

[ 1, 1, 1] 

 

[ 1, 0, X] 

(1)

 disable all external trigger 

(2)

 set pacer timer-1 

(3)

 clear FIFO and enable timer-1 

(4)

 waiting for the external signal to stop timer-1. 

(5) 

 

keep the last N data (circular-fetch) 

(6) 

 

stop all timer & disable all trigger 

Middle-trigger 
(for PCI-1800/1802) 

(version-C)

 

[ 1, 0, X ]  

 

[ 0, 1, X ]  

[ 1, 1, 0] 

[ 0, 1, X] 

 

[ 1, 0, X] 

(1)

 disable all external trigger 

(2)

 set pacer timer-1 

(3)

 clear FIFO and enable timer-1 

(4)

 waiting for the external signal to stop timer-1 

(5) 

 

enable timer-1 

(6) 

 

fetch more N2 data 

(7) 

 

stop all timer & disable all trigger 

 

PCI-1202/1602/1800/1802 Hardware User’s Manual  

(

Ver.4.2, Dec/2009, PMH-014-42)---- 52

 

Summary of Contents for PCI-1202 Series

Page 1: ...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 it...

Page 2: ...Selection 20 2 2 2 J1 D A Reference Voltage Selection 20 2 2 3 D I Port Setting PCI 1202HU LU 1602U 1602FU only 20 2 3 DAUGHTER BOARDS 21 2 3 1 DB 1825 21 2 3 2 DB 8225 21 2 3 3 DB37 21 2 3 4 DN37 21...

Page 3: ...4 6 THE AD CONVERSION MODE 69 4 7 THE FIXED CHANNEL MODE AD CONVERSION 71 4 8 THE MAGICSCAN MODE AD CONVERSION 72 4 8 1 The MagicScan Circular_Scan_Queue 73 4 8 2 The Digital Filter of MagicScan 74 4...

Page 4: ...ER ON PLUG PLAY TEST 98 9 2 DRIVER PLUG PLAY TEST 98 9 3 D O TEST 99 9 4 D A TEST 99 9 5 A D TEST 99 10 PERFORMANCE EVALUATION 100 PCI 1202 1602 1800 1802 Hardware User s Manual Ver 4 2 Dec 2009 PMH 0...

Page 5: ...amples per second We also provide three trigger modes for this series software trigger pacer trigger and external trigger each trigger mode uses MagicScan to perform the data acquisition The external...

Page 6: ...cal System Controller Status Control 16 bits DI 16 bits DO 2 channels 12 bit DA Converter FIFO 2 8K Analog Input Digital Output Digital Input DAC OUT 0 DAC OUT 1 Magic Scan Controller 12 16bit A D Con...

Page 7: ...r and external trigger 4 Provides three different external triggers pre trigger middle trigger and post trigger 5 Programmable input signal configuration 6 Provides MagicScan function 7 FIFO sample 1...

Page 8: ...nnels 16 Compatibility 5 V TTL Input Voltage Logic 0 0 8 V max Logic 1 2 0 V min Response Speed 2 7 MHz Typical Digital Output Channels 16 Compatibility 5 V TTL Output Voltage Logic 0 0 4 V max Logic...

Page 9: ...nput Voltage Logic 0 0 8 V max Logic 1 2 0 V min Response Speed 3 0 MHz Typical Digital Output Channels 16 Compatibility 5 V TTL Output Voltage Logic 0 0 4 V max Logic 1 2 4 V min Output Capability Si...

Page 10: ...ing Mode Software Digital Input Channels 16 Compatibility 5 V TTL Input Voltage Logic 0 0 8 V max Logic 1 2 0 V min Response Speed 3 0 MHz Typical Digital Output Channels 16 Compatibility 5 V TTL Outp...

Page 11: ...602 1602U Gain 1 2 4 8 Bipolar V 10 5 2 5 1 25 Sampling Rate Max 100 kS s Model PCI 1602F 1602FU Gain 1 2 4 8 Bipolar V 10 5 2 5 1 25 Sampling Rate Max 200 kS s Model PCI 1800 L PCI 1802 L Low Gain Ga...

Page 12: ...F U FU Analog Input Digital Output Binary Code Hex Code 9 99 V 0 V 305 V 10 V MSB LSB 0111 1111 1111 1111 0000 0000 0000 0000 1111 1111 1111 1111 1000 0000 0000 0000 7FFF 0000 FFFF 8000 z 12 bit DAC...

Page 13: ...and post trigger External trigger Figure 1 2 Trigger modes of PCI 1202 1602 1800 1802 CHn External trigger End Start External middle t N2 t Start End External post trigger CHn External trigger Start...

Page 14: ...z One company CD z One Quick Start Guide It is recommended to read the Quick Start Guide first All the necessary and essential information are given in the Quick Start Guide as follows 1 Where to get...

Page 15: ...out OUT CON1 CON2 PCI 1800 1802L NDA REV C IN CON3 VR1 VR101 VR2 VR3 VR100 J1 10V 5V ADC input 16 or 32 channels External Trigger Input Digital Input 16 channels Digital Output 16 channels JP1 1 2 5 6...

Page 16: ...REV F IN CON3 VR1 VR101 VR2 VR200 VR100 J1 10V 5V DAC output 2 channels ADC input 16 or 32 channels External Trigger Input Digital Input 16 channels Digital Output 16 channels JP1 1 2 5 6 VR201 VR202...

Page 17: ...Figure 2 3 PCI 1202 HU LU board layout PCI 1202 1602 1800 1802 Hardware User s Manual Ver 4 2 Dec 2009 PMH 014 42 17...

Page 18: ...F REV 1 0 IN CON3 VR1 VR3 VR2 VR4 J1 10V 5V DAC output 2 channels ADC input 32 channels External Trigger Input Digital Input 16 channels Digital Output 16 channels JP1 2 6 VR5 VR6 VR7 1 5 PCI 1202 160...

Page 19: ...channels ADC input 32 channels External Trigger Input Digital Input 16 channels Digital Output 16 channels JP1 2 6 VR5 VR6 VR7 1 5 JP4 PCI 1602U 1602FU Figure 2 4 PCI 1602U 1602FU board layout PCI 12...

Page 20: ...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 2 2 3 D I Port Setting PCI 1202HU LU 1602U 1602FU only This D...

Page 21: ...al 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 Refer to DB 8225 User Manual for details 2 3 3 DB37...

Page 22: ...TTL levels up to 24 V or use the DB 16P to sense a wide range of AC signals You can use this board to isolate the computer from large common mode voltage ground loops and transient voltage spike that...

Page 23: ...priated relay channel on the 20 pin flat connector There are 16 enunciator LEDs for each relay light when their associated relay is activated To avoid overloading your PC s power supply this board pro...

Page 24: ...tible for DIO 24 series Twenty four enunciator LEDs one for each relay light when their associated relay is activated To avoid overloading your PC s power supply this board needs a 12 VDC or 24 VDC ex...

Page 25: ...6 the maximum common mode voltage between the analog input source and the AGND is 70 Vp p so the user must take care that the input signal is under specification first If the common mode voltage is o...

Page 26: ...Right way A D CH0 HI A D CH n HI A D CHn LO A GND n A D CH 0 LO A GND 1 Es 1 Es n Figure 2 4 Wrong way A D CH0HI AGND A D CH0LO Es1 A D CHnHI A D CHnLO Esn AGND GND1 GNDn PCI 1202 1602 1800 1802 Hardw...

Page 27: ...Don t use voltage meter or multimeter CAUTION In Figure 2 6 the maximum common mode voltage between the analog input source and the AGND is 70 Vp p so the user must make sure that the input signal is...

Page 28: ...D A D CH n LO A GND Es 1 Es n Signal Shielding z Signal shielding connections in Figure 2 4 to Figure 2 7 are all the same z Use single point connection to frame ground not A GND or D GND Vin PCI 1202...

Page 29: ...output 14 16 Digital output 15 17 PCB ground 18 PCB ground 19 PCB 5 V 20 PCB 12 V CON2 Pin assignment of digital input connector Pin Name Pin Name 1 Digital input 0 2 Digital input 1 3 Digital input 2...

Page 30: ...log input 22 6 8 Analog input 7 7 27 Analog input 23 7 9 Analog input 8 8 28 Analog input 24 8 10 Analog input 9 9 29 Analog input 25 9 11 Analog input 10 10 30 Analog input 26 10 12 Analog input 11 1...

Page 31: ...6 Analog input 5 5 25 Analog input 13 5 7 Analog input 6 6 26 Analog input 14 6 8 Analog input 7 7 27 Analog input 15 7 9 Analog Ground 28 Analog Ground 10 Analog Ground 29 Analog Ground 11 N C 30 An...

Page 32: ...the system Detect and save the I O control address of every PCI 1800 1802 card The sample program source is given as follows wRetVal P180X_DriverInit wBoards call P180X_DriverInit first printf Threr...

Page 33: ...CI 1202 1602 1800 1802 cards into the PC system 3 Power on and run DEMO15 EXE 4 Now all D I value will be different from D O value 5 Install a 20 pin flat cable into CON1 CON2 of any PCI 1202 1602 180...

Page 34: ...bit Section3 00h Status register R 8 16 32 bit 3 Section3 04h A D software trigger W 8 16 32 bit Section4 00h DI port R 16 bit Section4 00h DO port W 16 bit 4 Section4 04h Read Card ID R 4 bit Section...

Page 35: ...bit Write command to nvRAM control register 0x80 load low address 0xA0 load high address 0xC0 begin write 0xE0 begin read 3F 8 bit Read 8 bit Read status from nvRAM control register Bit 7 1 busy 0 re...

Page 36: ...is given as follows CLK Timer 0 OUT0 CLK Timer 1 OUT1 CLK Timer 2 OUT2 8Mhz Local Data Bus Internal Pacer timer External Pacer timer ADC Machine indenpedent Timer D0 D1 D7 Figure 3 1 The block diagra...

Page 37: ...t WORD wAddrTimer 0 4 0x01 outport WORD wAddrTimer 0 4 0x00 timer1 for external trigger void enable_timer1 WORD divv for external trigger pacer timer outport WORD wAddrTimer 3 4 0x74 enable pacer time...

Page 38: ...yUs 8 wLow wDownCount 0xff wHigh wDownCount 8 0xff outport wAddrTimer 3 4 0xb0 timer_2 mode_0 0xb0 outport wAddrTimer 2 4 wLow outport wAddrTimer 2 4 wHigh fTimeOut 1 0 wait 1 to stop for wVal inport...

Page 39: ...AMP1 0 1 0 1 Gain Rang 4 3 2 1 0 7 6 9 8 Figure 3 2 The flow path of Analog input signal 3 6 1 The control register The format of the control register is given as follows B15 B14 B13 B12 B10 B9 B8 B7...

Page 40: ...0 0 0 0 1202 1602 1802 31 1 1 1 1 1 1202 1602 1802 3 6 1 2 Gain control B7 B6 PCI 1XXX L LU PCI 1XXX H HU 0 0 PGA 1 PGA 1 0 1 PGA 2 PGA 10 1 0 PGA 4 PGA 100 1 1 PGA 8 PGA 1000 3 6 1 3 Input range cont...

Page 41: ...olar 0 V 2 5 V 4 3 s 1010 Unipolar 0 V 1 25 V 8 3 s 1011 The configuration table of PCI 1202H HU 1800H 1802H is given as follows Bipolar Unipolar Input Signal Range Gain Settling Time B9 B8 B7 B6 Bipo...

Page 42: ...reset FIFO Bit14 Bit13 Bit12 0 command 001 set channel Config command Bit11 0 Bit10 1 Bit9 B Range control code BB unipolar bipolar divided by 2 Bit8 B Bit7 B gain control code BB 1 10 100 1000 or 1...

Page 43: ...2 0 break case 11 wZERO 0 dfMAX 1 25 2 0 break case 0x10 wZERO 2048 dfMAX 5 0 break case 0x11 wZERO 2048 dfMAX 0 5 break case 0x12 wZERO 2048 dfMAX 0 05 break case 0x13 wZERO 2048 dfMAX 0 005 break ca...

Page 44: ...Start MagicScan 1 0 1 Start the MagicScan controller Stop MagicScan 0 1 0 Stop the MagicScan controller Get ODM number 1 1 0 Get the ODM number of the PCI 1202 1602 1800 1802 The demo program to rese...

Page 45: ...Ctrl 0x04 0 j if j 65530 return AdControllerError time out i i 0xDFFF set pic low outport wAddrCtrl i j 0 while inport wAddrCtrl 0x04 0 j if j 65530 return AdControllerError time out outport wAddrCtrl...

Page 46: ...Bit13 Bit12 0 command 001 set channel Config command Bit11 0 Bit10 1 Bit9 B Range control code BB unipolar bipolar divided by 2 Bit8 B Bit7 B gain control code BB 1 10 100 1000 or 1 2 4 8 Bit6 B Bit5...

Page 47: ...wMP wSysConfig wMagicAve wMP wAverage wConfig wAdConfig 0x0f wConfig wConfig 6 wConfig wChannel Bit15 1 no reset FIFO Bit14 1 Bit13 Bit12 1 command 100 add_to_scan command Bit11 0 Bit10 0 Bit9 B Rang...

Page 48: ...al Clear FIFO to clear all data outport wAddrCtrl 0x2000 Bit15 0 clear FIFO Bit13 1 not PIC cmd outport wAddrCtrl 0xA000 Bit15 1 no reset FIFO BIT13 1 not PIC cmd enable_timer0 wSampleRate Enable pace...

Page 49: ...all timer NOTE The circular fetch operation is performed by software The operation steps of middle trigger are given as follows Step 1 Disable all external trigger External trigger signal t Start End...

Page 50: ...canMiddleTrg P180X_WaitMagicScanFinish Perform analysis Add channel 1 to circular queue If the AD data need to save Add channel 2 to circular queue If the AD data need to save Add channel to circular...

Page 51: ...else sprintf cShow 2 External Post Trigger Setup Error TextOut hdc x dx y iLine dy cShow strlen cShow iLine for P180X_ReadScanStatus wStatus dwLowAlarm dwHighAlarm if wStatus 1 break Sleep 10 sprintf...

Page 52: ...data 6 stop all timer disable all trigger Middle trigger for PCI 1202 1602 PCI 1800 1802 ver F 1 0 X 0 1 X 1 1 1 1 0 X 1 disable all external trigger 2 set pacer timer 1 3 clear FIFO and enable timer...

Page 53: ...S1 S0 0 disable timer 1 _outpw wAddrCtrl 0xfc00 4 S2 1 S1 1 S0 1 wait ext signal to enable timer 1 create magicscan thread InitializeCriticalSection MagicScan_CS wThreadStatus 0 wAskThreadStop 0 hThr...

Page 54: ...er 1 _outpw wAddrCtrl 0xF800 4 S2 1 S1 1 S0 0 wait ext signal to disable timer 1 create magicscan thread InitializeCriticalSection MagicScan_CS wThreadStatus 0 wPreMid 0 wAskThreadStop 0 pre trigger h...

Page 55: ...enable timer 1 _outpw wAddrCtrl 0xFC00 4 S2 1 S1 1 S0 1 wait ext signal create magicscan thread InitializeCriticalSection MagicScan_CS wThreadStatus 0 wPreMid 1 wAskThreadStop 0 middle trigger hThrea...

Page 56: ...O _outpw wAddrCtrl 0xE800 3 B15 1 S2 0 S1 1 S0 0 enable timer 1 _outpw wAddrCtrl 0xF800 4 S2 1 S1 1 S0 0 wait ext signal to disable timer 1 create magicscan thread InitializeCriticalSection MagicScan_...

Page 57: ...IFO _outpw wAddrCtrl 0xE800 3 B15 1 S2 0 S1 1 S0 0 enable timer 1 _outpw wAddrCtrl 0xF800 4 S2 1 S1 1 S0 0 wait ext signal to disable timer 1 create magicscan thread InitializeCriticalSection MagicSca...

Page 58: ...eTrg demo24 c for PCI 1202 P1202_StartScanMiddleTrg demo25 c for PCI 1202 P1602_StartScanPostTrg demo23 c for PCI 1602 P1602_StartScanPreTrg demo24 c for PCI 1602 P1602_StartScanMiddleTrg demo25 c for...

Page 59: ...Ctrl 0xffff send a recovery to PIC j 0 while inport wAddrCtrl 0x04 0 j if j 65530 return AdControllerError time out i i 0xDFFF set pic low outport wAddrCtrl i j 0 while inport wAddrCtrl 0x04 0 j if j...

Page 60: ...timer 1 is disable 1 timer 1 is enable For PCI 180x Ver F 0 waiting external trigger signal 1 external trigger signal is active Bit 2 handshake signal between host PC and MagicScan controller Bit 1 OD...

Page 61: ...0 clear FIFO B13 1 not MagicScan controller cmd outport wAddrCtrl 0xA000 B15 1 no clear FIFO B13 1 not MagicScan controller cmd outport WORD wAddrCtrl 4 0xffff generate a software trigger pulse wTime...

Page 62: ...gram are given below CON2 I O write signal I O read signal DI port DO port CON1 Local Data Bus D0 D1 D15 Figure 3 4 DIO block diagram The D I port can be connected to the DB 16P The DB 16P is a 16 cha...

Page 63: ...02 z P1202_Do for PCI 1202 outport wAddrDio wDo return NoError 3 7 2 Card ID Register The format of the Card_ID register is given as follows X X X X Bit3 Bit2 Bit1 Bit0 It can read card ID set from sw...

Page 64: ...voltage output The output voltage can be 5 V or 10 V selected by J1 When the PCI 1800 1802 is first power on the D A will be in the floating state The D A will go to the programmed state after executi...

Page 65: ...202 z P1602_AdPollingHex for PCI 1602 WORD wVal wTime Clear FIFO outport wAddrCtrl 0x2000 B15 0 clear FIFO B13 1 not MagicScan controller cmd outport wAddrCtrl 0xA000 B15 1 no clear FIFO B13 1 not Mag...

Page 66: ...ar 0 V 10 V 1 3 s 0x08 Unipolar 0 V 5 V 2 3 s 0x09 Unipolar 0 V 2 5 V 4 3 s 0x0A Unipolar 0 V 1 25 V 8 3 s 0x0B PCI 1602 1602U Configuration Code Table Bipolar Uniploar Input Signal Range Gain Settlin...

Page 67: ...01 V 1000 1300 s 0x1B 4 2 The Unipolar Bipolar If the analog input signal is unipolar you can measure this signal with bipolar setting this will reduce resolution If the analog input is bipolar you mu...

Page 68: ...igger signal Therefore the limitation is settling time pacer timer in MagicScan mode 4 5 How to Delay the Settling Time In the software trigger mode the software operation is given as follows 1 send s...

Page 69: ...ven as follows 1 P180X_ClearScan 2 P180X_StartScan 3 P180X_ReadScanStatus 4 P180X_AddToScan 5 P180X_SaveScan 6 P180X_WaitMagicScanFinish 7 P180X_StartScanPostTrg 8 P180X_StartScanPreTrg 9 P180X_StartS...

Page 70: ...s follows single board operating 1 P180X_FunB_Start 2 P180X_FunB_ReadStatus 3 P180X_FunB_Stop 4 P180X_FunB_Get The functions of continuous capture are given as follows 1 P180X_Card0_StartScan 2 P180X_...

Page 71: ..._DelayUs P180X_DelayUs P180X_AdPolling AD data Analysis Select the active channel 1 Delay the settling time if needed Perform one AD conversion Analyses of the AD dada 1 Select the active channel 2 De...

Page 72: ...d The flowchart is given as follows P180X_ClearScan P180X_AddToScan P180X_SaveScan P180X_AddToScan P180X_SaveScan P180X_SaveScan P180X_AddToScan P180_StartScan P180X_WaitMagicScanFinish Perform Aanlys...

Page 73: ...the following scan sequence are all validate 0 One channel MagicScan 0 1 Two channels MagicScan scan 1 0 Two channels MagicScan scan 0 Two channels MagicScan scan 0 1 2 3 Three channels MagicScan 123...

Page 74: ...e same time This is a situation of ALL or NO You can use both the digital filter and the different sampling rate at the same time or use neither of them P180X_ClearScan P180X_AddToScan 10 only one cha...

Page 75: ...ta High_alarm_value Type 2 low alarm any AD data Low_alarm_value Type 3 in alarm Low_alarm_value any AD data High_alarm_value Type 4 out alarm any AD data Low_alarm_value or any AD data High_alarm_val...

Page 76: ...er Trigger Timer Magic Scan Controller 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 dif...

Page 77: ...e 2 to get 55 k as follows 2 2 2 2 2 2 2 2 2 2 2 2 55 k The software has to fetch the 3 3 3 3 3 in 11 k therefore the software average the continue ten 3 into one 3 to get 11 k There are very heavy co...

Page 78: ...icSum j 0 for j 0 j wMP j wMagicNow j wMagicAve j for j 0 j wMP j wMagicP j 0 for i 0 i wMP i skip the MagicScan settling time dwTime 0 for wVal inport wAddrCtrl 0x20 if wVal 0 break dwTime if dwTime...

Page 79: ...al 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 ala...

Page 80: ...if w3 3 3 in low high alarm if wVal wMagicLowAlarm j wVal wMagicHighAlarm j dwMagicLowAlarm dwIndex dwMagicHighAlarm dwIndex dwMagicSum j 0 wMagicNow j wMagicAve j end if w1 end for j end for i ret_la...

Page 81: ...can send out the user defined arbitrary waveform and perform the A D conversion at the same time The M_Functions can be executed under DOS Windows 95 98 and Windows NT 2000 Some programming languages...

Page 82: ...ated 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 a...

Page 83: ...send out a 100 k 5 V sine wave measured by Tektronix TDS 220 Figure 5 4 The M_Function_1 send out a 200 k 5 V sine wave measured by Tektronix TDS 220 PCI 1202 1602 1800 1802 Hardware User s Manual Ver...

Page 84: ...nnel_0 arbitrary wave form channel_0 10V P180X_M_FUN_3 Channel_0 sine wave channel gain programmable 32 channels max P180X_M_FUN_4 Channel_0 square wave or semi square wave or sine wave channel gain p...

Page 85: ...as to generate the periodic wave form such as sin cos and the analysis is similar to spectrum analysis this type of output distortion will cause little trouble The D A output maybe distorted but spect...

Page 86: ...ous capture function The software 3 0 will support more cards The continuous capture functions are special designed into many groups Each group is corresponding to one card There are three functions i...

Page 87: ...k thread for long time data acquisition 5 If the group A D data are ready signal P180X_Card _ReadStatus to read data z The P180X_Card _ReadStatus will read from the buffer prepared by P180X_Card _Star...

Page 88: ...d0_StopScan return OK The sample program for multi boards is given as follows wRetVal P180X_Card0_StartScan setup continuous capture function this function will create thread if wRet NoError Show erro...

Page 89: ...D data or save these A D data or analyze these A D data wRetVal P180X_Card _ReadStatus if wRetVal 0 show these A D data or save these A D data or analyze these A D data if stop flag is ON for example...

Page 90: ...word 99 M bytes Refer to demo22 c for 330 k 2 5 minutes continuous capture 99 M bytes PC memory The P180X_FunA is designed for two boards and the P180X_FunB Figure 6 2 is designed for single board as...

Page 91: ...Figure 6 2 The Continuous Capture example PCI 1202 1602 1800 1802 Hardware User s Manual Ver 4 2 Dec 2009 PMH 014 42 91...

Page 92: ...at Step6 Step7 until all OK Step 9 Adjust VR1 until CAL_2 FFE or FFF Step 10 Adjust VR2 until CAL_3 000 or 001 CE COM Power Supply 5 0001 V 0 0001 V 0 6250 V POWER On OFF ICP DAS Output Vlotage OUT CO...

Page 93: ...pply 0 6245 V to channel 2 Step 4 Run DEMO19 EXE Step 5 Adjust VR3 until channel 0 0000 or FFFF Step 6 Adjust VR2 until channel 1 7FFF or 7FFE Step 7 Repeat Step5 Step6 until all OK Step 8 Adjust VR1...

Page 94: ...o D A channel 1 Step 9 Adjust VR202 until voltage meter 0 V Step 10 Send 0 to D A channel 1 Step 11 Adjust VR203 until voltage meter 10 V CE OUT CON3 CON2 PCI 1602 1602F REV 1 0 IN CON1 VR1 VR3 VR2 VR...

Page 95: ...voltage meter Step 3 Send 0x800 to D A channel 0 Step 4 Adjust VR4 until voltage meter 0 V Step 5 Send 0 to D A channel 0 Step 6 Adjust VR5 until voltage meter 10 V Step 7 Connect the D A channel 1 t...

Page 96: ...2 two board same as demo11 z demo13 one board continuous capture demo z demo14 two board continuous capture demo z demo15 all installed board D I O test for board number identification z demo16 one bo...

Page 97: ...toring the incoming data from MagicScan then set a digital out bit on when the incoming data exceed a defined threshold z Demo33 MagicScan total sample rate 176 k sec for 8 channels z Demo34 continuou...

Page 98: ...M BIOS can detect the PCI 1202 1602 1800 1802 in the power on time the software driver of DOS Windows 95 98 NT 2000 will function OK later If the plug play ROM BIOS can not find the PCI 1202 1602 1800...

Page 99: ...4 Check the value of A_0 1 25 volt Step 5 Run DEMO5 EXE Step 6 Check the wave form shown in screen must be sine wave 9 5 A D Test Step 1 Power off PC Step 2 Install one PCI 1202 1602 1800 1802 card w...

Page 100: ...nuous capture function two card two channels Total 20 kS s 10 kS s per channels DEMO5 EXE 20 k sine max M_function demo D A channel_0 to A D channel_0 20 kHz sine wave max 20 Hz sine wave min DEMO11 E...

Page 101: ...ohm DB 1825 Agnd 30 14 Agnd 28 12 Agnd 26 10 Agnd 24 8 Agnd Agnd Dgnd Agnd 31 15 Agnd 29 13 Agnd 27 11 Agnd 25 9 5 V Agnd Extrg Agnd 23 7 Agnd 21 5 Agnd 19 3 Agnd 17 1 Agnd 22 6 Agnd 20 4 Agnd 18 2 Ag...

Page 102: ...Agnd 26 10 Agnd 24 8 Agnd Agnd Dgnd Agnd 31 15 Agnd 29 13 Agnd 27 11 Agnd 25 9 DA1 DA2 Etrg Agnd 23 7 Agnd 21 5 Agnd 19 3 Agnd 17 1 Agnd 22 6 Agnd 20 4 Agnd 18 2 Agnd 16 0 D1 for connecting to PCI 10...

Page 103: ...cable 37pin cable 37pin cable A 4 connection to PCI 1002 1202 1602 1802 A 5 connection to PCI 1x02 and multiple DB 889D 16 channels differential 20 pins flat cable PCI 1202 1602 1800 1802 Hardware Us...

Reviews: