
PCI-82x Series Cards
Multifunction Boards
User Manual, Ver. 1.5, Jan. 2017, PMH-024-15, Page: 3
6I/O CONTROL REGISTERS ..................................................................................................................................41
6.1 DETERMINING THE I/O ADDRESS ........................................................................................................................... 41
6.2 I/O ADDRESS MAPPING ....................................................................................................................................... 43
6.3 BAR 1: DIGITAL I/O REGISTERS .............................................................................................................................. 44
6.3.1 Read/Write 16-bit Data for Port A/B........................................................................................................... 44
6.3.2 Read/Write I/O Port Selection ..................................................................................................................... 44
6.3.3 Read the Card ID (SW1) and the DI/O Jumper (JP4) Settings ...................................................................... 45
6.4 BAR 2: ANALOG OUTPUT REGISTERS....................................................................................................................... 46
6.4.1 Read/Write 16-bit D/A Data........................................................................................................................ 46
6.4.2 Read/Write Analog Output Channel Selection ............................................................................................ 46
6.4.3 Enable/Disable an Analog Output Channel................................................................................................. 47
6.5 BAR 3: ANALOG INPUT REGISTERS.......................................................................................................................... 48
6.5.1 Read/Write the A/D Polling Configuration .................................................................................................. 48
6.5.2 Write the AI Software Trigger ..................................................................................................................... 50
6.5.3 Read the FIFO Data ..................................................................................................................................... 50
6.5.4 Read/Write AI Pacer Sampling Rate............................................................................................................ 50
6.5.5 Read/Write MagicScan Counter Value ........................................................................................................ 51
6.5.6 Write AI Pacer Configuration....................................................................................................................... 51
6.5.7 Read the Status of the FIFO/JP1/ADC.......................................................................................................... 54
6.5.8 Read/Write the Base Frequency and the MagicScan Control Settings........................................................ 54
6.5.9 Start/Stop MagicScan ................................................................................................................................. 56
6.5.10 Clear the Interrupt and External Trigger................................................................................................. 56
6.5.11 Read/Write the Interrupt Control/Status................................................................................................ 56
7CALIBRATION ....................................................................................................................................................61
APPENDIX ....................................................................................................................................................................64
A1. DOS LIBRARY FUNCTION DESCRIPTION ............................................................................................................................. 64
A1-1: Error Code Definitions ...................................................................................................................................... 64
A1-2: Driver Functions ............................................................................................................................................... 65
PCI82X_DriverInit ...................................................................................................................................................... 65
PCI82X_DriverClose ................................................................................................................................................... 65
PCI82X_GetConfigAddressSpace ............................................................................................................................... 66
A1-3: Digital I/O Functions ........................................................................................................................................ 68
PCI82X_SetDIOMode32 ............................................................................................................................................. 68
PCI82X_WriteDO ....................................................................................................................................................... 69
PCI82X_ReadDI.......................................................................................................................................................... 70
A1-4: Analog Output Functions ................................................................................................................................. 71
PCI82X_WriteAO........................................................................................................................................................ 71