PCI-82x Series Cards
Multifunction Boards
User Manual, Ver. 1.5, Jan. 2017, PMH-024-15, Page: 58
Analog Input Application Case Study
Polling (Single C Software Trigger)
Pacer (Single-C FIFO-Half Full Int Internal Pacer Trigger)
//Set the Gain/Channel and clear the FIFO
outpw(wBase+0x00,0x8030);
//Set the Software AI Trigger
outpw(wBase+0x04,0x0000);
//Disable the Pacer Trigger
outpw(wBase+0x18,0x4000);
//Disable the Interrupt
outpw(wBase+0x1C,0x0000);
//Set the Gain/Channel and clear the FIFO
outpw(wBase+0x10,0x8030);
//Set the Base Frequency to 8 MHz
outpw(wBase+0x14,0x0001);
//Set the Frequency to 8 MHz/200 = 40 KHz
//Set the Total Number of Scan Channels to 1
outpw(wBase+0x08,0xC8);
//Enable the Interrupt and set to FIFO-Half Full
outpw(wBase+0x1C,0x8002);
//Start the Pacer Trigger
outpw(wBase+0x18,0x8000);