typedef struct tagPT_FAODmaExStart
{
INT32U TrigSrc;
INT32U SampleRate;
INT16U StartChan;
INT16U NumChans;
INT32U *buffer;
INT32U count;
INT16U CyclicMode;
INT16U PacerSource;
INT32U Reserverd[4];
VOID *pReserved[4];
} PT_FAODmaExStart, * LPT_FAODmaExStart;
PT_FAODmaExStart is used in function DRV_FAODmaExStart.
| Name | Direction | Range | Description |
| TrigSrc | input | 0,1 | Reserved |
| SampleRate | input | Depends on the hardware. | Sampling rate on specified channels(Hz). |
| StartChan | input | 0-(N-1) (N is the maximum AO channel number and depends on the hardware) |
The starting channel for scanning. The range is from the
minimum zero (the first AO channel) to the maximum AO
channel number minus one. For example, the range will be
from 0 to (N-1) on a device with N written as
the number of the AO channel. The last channel can be
calculated with the following formula:
number of the last channel = StartChan + NumChans |
| NumChans | input | 0-N(N is the maximum AO channel number and depends on the hardware) | The sampling channel count. |
| buffer | output | Depends on the hardware. | The sampling data buffer. It points to the buffer that stores output binary data. User can transfer the voltage value to the corresponding binary data and store the data in this buffer by calling DRV_FAOScale. Please refer to the FastAnalogOutput to set a buffer with proper size. |
| count | input | 1-N(N is the user data count) | It must be above zero, an even number (because of memory alignment and performance), or a multiple of half the FIFO size if FIFO is used. |
| CyclicMode | input | 1, 0 | The cyclic mode: 0 - Non-cyclic 1 - Cyclic |
| PacerSource | input | 1, 0 | The pacer source: 0 - internal 1 - external |
| Reserved | input | Rserved | Reserved |
| pReserved | output | Rserved | Reserved |