24 _7200_do_dma_start, Description, Syntax – ADLINK PCI-7200 User Manual

Page 82: Argument, Description @ syntax @ argument

Advertising
background image

70

C/C++ Libraries

5.24 _7200_DO_DMA_Start

@ Description

The function will perform digital output N times with DMA data
transfer by using the following four sampling modes:

1. Pacer trigger (internal timer trigger, TIME 1)

2. Internal timer pacer with O_REQ enabled

3. O_REQ & O_ACK handshaking

It takes place in the background which will not be stopped until the
Nth conversion has been completed or the program executes the
_7200_DO_DMA_Stop function to stop the process. After execut-
ing this function, it is necessary to check the status of the opera-
tion by using the function _7200_DO_DMA_Status.

@ Syntax

Visual C++ (Windows 95)

int W_7200_DO_DMA_Start (U8 mode, U32 count, U32

handle, Boolean repeat)

Visual Basic (Windows 95)

W_7200_DO_DMA_Start (ByVal mode As Byte, ByVal

count As Long, ByVal handle As Long, ByVal
repeat as Byte) As Long

C/C++ (DOS)

int _7200_DO_DMA_Start (U8 mode, U32 count, U32

*do_buffer, Boolean repeat)

@ Argument

mode: Digital output trigger modes

DO_MODE_0: Internal timer pacer (TIME 1)
DO_MODE_1: Internal timer pacer with O_REQ enable
DO_MODE_2: O_REQ & I_REQ handshaking

count:the sample number of digital output data (in samples, not in

bytes)

handle (Win 95): the handle of system DMA memory. In Windows

95, before calling W_7200_DO_DMA_Start,

Advertising