Omega Engineering OME-A826PG User Manual

Page 50

Advertising
background image

OME-A-826PG Software Manual [Win 95/98/NT]




Yes

No

INT_Handler( )

Using the A826_AD_INT_Stop() to stop
the interrupt transfer and remove the
interrupt handler.

Waiting for the signaled event object by
using WaitForSingleObject( )

BufferB

BufferA

ADC

Using A826_AD_INT_Start to specify the
A/D channel, gain and sampling rate for this
interrupt transfer, then beginning this transfer.

Using A826_InstallIrq(…) to install a
interrupt handler for IRQ level n that to
transfer A/D data by interrupt.

To copy datas in bufferA to a user
defined buffer(ex. BufferB) by using
A826_GetBuffer(..) Then the user can
analysis these data in BufferB

A buffer(ex. BufferA) in Driver will
store the interrupt transferd data. The
buffer is in system area.

Next Loop

sampling rate defined by c1,c2

System
Area

Application
Area




















































Date: Aug-15-2000 Ver: 2.2 Page 48

Advertising