PCI-822/826 LU User’s Manual (Ver:1.0, Oct/2009)
3
3.5. Bar 3.................................................................................................................................... 26
3.5.1. Analog Input registers................................................................................................................... 26
Clear the FIFO............................................................................................................................... 26
Analog input gain control(Polling mode)...................................................................................... 26
Analog input channel control(Polling mode)................................................................................ 26
Clear the FIFO............................................................................................................................... 28
scan channel sequence control ...................................................................................................... 28
Analog input gain control(Pacer mode) ........................................................................................ 28
Analog input channel control(Pacer mode)................................................................................... 29
External edge trigger setting ......................................................................................................... 30
Base frequency setting .................................................................................................................. 30
Total scan channels setting for MagicScan.................................................................................... 30
Magicscan mode setting................................................................................................................ 30
Interrupt setting............................................................................................................................. 32
4. Calibration.......................................................................................................................34
5. DOS LIB Function Description......................................................................................37
5.1. ErrorCode Definition......................................................................................................... 37
5.2. Driver function................................................................................................................... 37
5.2.1. PCI82X_DriverInit........................................................................................................................ 37
5.2.2. PCI82X_DriverClose.................................................................................................................... 38
5.2.3. PCI82X_GetConfigAddressSpace ................................................................................................ 38
5.3. Digital I/O Function........................................................................................................... 39
5.3.1. PCI82X_SetDIOMode32.............................................................................................................. 39
5.3.2. PCI82X_WriteDO......................................................................................................................... 39
5.3.3. PCI82X_ReadDI........................................................................................................................... 40
5.4. Analog Output Function.................................................................................................... 41
5.4.1. PCI82X_WriteAO......................................................................................................................... 41
5.4.2. PCI82X_WriteAOH...................................................................................................................... 42
5.5. Analog Input Function ......................................................................................................43
5.5.1. PCI82X_PollingAI........................................................................................................................ 43
5.5.2. PCI82X_PollingAIH..................................................................................................................... 44
5.5.3. PCI82X_StartAI............................................................................................................................ 45
5.5.4. PCI82X_StartAIScan .................................................................................................................... 46
5.5.5. PCI82X_GetAIBuffer ................................................................................................................... 47
5.5.6. PCI82X_GetAIBufferH ................................................................................................................ 48
5.5.7. PCI82X_StopAI............................................................................................................................ 48