typedef struct tagPT_FAIDmaScanStart
{
USHORT TrigSrc;
DWORD SampleRate;
USHORT NumChans;
USHORT StartChan;
USHORT *GainList;
USHORT *buffer;
ULONG count;
} PT_FAIDmaScanStart, * LPT_FAIDmaScanStart;
PT_FAIDmaScanStart is used by DRV_FAIDmaScanStart function .
| Name | Direction | Type | Range | Description |
| TrigSrc | Input | Unsigned short | 0,1 | triggering source:
external (1), internal (0) |
| SampleRate | Input | floating point | depends on the pacer on hardware | sampling rate in second |
| NumChans | Input | Unsigned short | 0-n (n depends on the available channels on hardware) | number of channels |
| StartChan | Input | Unsigned short | 0-n (n depends on hardware) | start channel of the scan channel |
| GainList | Input | long pointer to Unsigned short array with NumChans entries | depends on input range on hardware | gain code array for the scan channel |
| buffer | Output | long pointer to Unsigned short array | depends on I/O register format on hardware | data buffer allocated by user |
| count | Input | Unsigned long | 1-65536 | conversion count |