Diagram of interrupt mode, 7 diagram of interrupt mode – Omega Engineering OME-A826PG User Manual
Page 49
OME-A-826PG Software Manual [Win 95/98/NT]
3.5.7
Diagram of Interrupt Mode
The 3.5.1 to 3.5.6 are functions to perform the A/D conversion with
interrupt transfer. The flow chart to program these function is giver as follows:
A826_DriverInit
CreateEvent(…)
A826_InstallIrq( … )
………
A826_AD_INT_Start( … )
……
WaitForSingleObject( …. )
………..
A826_GetBuffer( …. )
……
A826_AD_INT_Stop
CloseHandle( hEvent )
A826_DriverClose
object.
Close the Device-Driver
Initialize the Device-Driver
Stop the interrupt transfer and
remove the interrupt handler.
Waiting for the signaled event
Start the Interrupt Transfer
Install the IRQ
To copy data into user's buffer
Date: Aug-15-2000 Ver: 2.2 Page 47