typedef struct tagPT_FAIIntStart
{
INT16U TrigSrc;
INT32U SampleRate;
INT16U chan;
INT16U gain;
INT16U *buffer;
INT32U count;
INT16U cyclic;
INT16U IntrCount;
} PT_FAIIntStart, * LPT_FAIIntStart;
PT_FAIIntStart is used in function DRV_FAIIntStart.
| Name | Direction | Range | Description |
| TrigSrc | input | 0,1 | The triggering source: external (1), internal (0) |
| SampleRate | input | Depends on the pacer on hardware. | The total sampling rate on scanning channels (Hz). |
| chan | input | 0-(N-1) (N is the maximum AI channel number) | The sampling channel number. The range is from the minimum zero (the first AI channel) to the maximum AI 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 AI channel. |
| gain | input | Depends on the input range on hardware. | The corresponding GainCode for voltage input range. Please refer to the Hardware Manual for details. |
| buffer | output | 1 ~ 65535 | The sampling data buffer. Please refer to the FastAnalogInput to set a buffer with proper size. |
| count | input | 1-N(N is the sampling 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. |
| cyclic | input | 0,1 | The cyclic mode: 0 - Non-cyclic 1 - Cyclic |
| IntrCount | input | Depends on hardware. | It sets the count of conversions that create an
interrupt. If FIFO is not used, it should be set to 1; if FIFO is used, it should be set to half the FIFO size. |