Specifications
54 •• C/C++ & DLL Libraries
@ Syntax
Visual C++ (Windows 95/98)
int W_7200_DI_DMA_Start (U8 mode, U32 count, U32 handle,
Boolean wait_trg, U8 trg_pol, Boolean clear_fifo, Boolean
disable_di)
Visual Basic (Windows 95/98)
W_7200_DI_DMA_Start (ByVal mode As Byte, ByVal count As
Long, ByVal handle As Long, ByVal wait_trg as Byte,
ByVal trg_pol As Byte, ByVal clear_fifo As Byte, ByVal
disable_di As Byte) As Long
C/C++ (DOS)
int _7200_DI_DMA_Start (U8 mode, U32 count, U32 *di_buffer,
Boolean wait_trig, U8 trig_pol, Boolean clear_fifo, Boolean
disable_di)
@ Argument
mode : Digital Input trigger modes
DI_MODE0 : Internal timer pacer (TIME 0)
DI_MODE1 : external signal I_REQ rising edge
DI_MODE2 : external signal I_REQ falling edge
DI_MODE3 : I_REQ & I_ACK handshaking
count : For non-double-buffered DI, this parameter
denotes the number of digital input samples to
read. For double-buffered DI, it is the size of
circular buffer (in samples, not in bytes!).
handle (Win 95/98): the handle of system DMA memory. In
Windows 95 environment, before calling
_7200_DI_DMA_Start, depending on using
double-buffer mode or not, either
_7200_Alloc_DMA_Mem or
_7200_Alloc_DBDMA_Mem must be called to
allocate a contiguous DMA memory and get the
handle of it.