DRV_FAODmaExStart

INT32S DRV_FAODmaExStart(
   PTR_T DeviceHandle,
   PT_FAODmaExStart *lpFAODmaExStart );

Purpose

On the device indicated by the DeviceHandle, it initiates the FAO (Fast Analog Output) function with a DMA transfer.

Parameters

Some parameters, such as triggering source (TrigSrc), sampling rate (SampleRate), sampling channel (chan), sampling buffer (Buffer) and data count (count), are stored in the PT_FAODmaExStart, structure pointed by the lpFAODmaExStart.

Name Direction Range Description
DeviceHandle input default The pointer retrieved from the DRV_DeviceOpen which specifies the target device.
lpFAODmaExStart input / output default The pointer to indicate the user-prepared structure PT_FAODmaExStart that stores triggering source (INT16U TrigSrc), sampling rate (INT32U SampleRate), sampling channel (INT16U chan), sampling buffer (INT32U *Buffer) and data count (INT32U count).

Return

   1. 0 Successful.
   2. Other value Please reference ErrorCodes