PT_MAIConfig

typedef struct tagPT_MAIConfig
{
     INT16U NumChan;
     INT16U StartChan;
     INT16U *GainArray;
} PT_MAIConfig, * LPT_MAIConfig;

PT_MAIConfig is used in function DRV_MAIConfig.

Member Description

Name Direction Range Description
NumChan input 1-N (N is the maximum channel number and depends on the hardware) The range (number) of sampling channels. The first channel is specified by StartChan.
 
StartChan input 0-(N-1) (N is the maximum channel number and depends on the hardware) The start sampling channel. The range of sampling channels is specified by NumChan.
The target channels are specified by the starting channel (StartChan) and the range of channels (NumChan). For example, the sampling channels will be 5, 6 and 7 if the StartChan is 5 and the NumChan is 3. The input range depends on how many channels there are.
GainArray input Refers to the GainCode list in the Hardware Manual. The configuring GainCodes listed in order for the channels that are specified by StartChan and NumChan.