PT_MAIBinaryIn

typedef struct tagPT_MAIBinaryIn
{
    INT16U NumChan;
    INT16U StartChan;
    INT16U TrigMode;
    INT16U *ReadingArray;
} PT_MAIBinaryIn, * LPT_MAIBinaryIn;

PT_MAIBinaryIn is used in function DRV_MAIBinaryIn.

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 hardware channels there are.
TrigMode input 0: internal
1: external
The triggering mode.
ReadingArray output Depends on the hardware. The pointer that indicates the user prepared space for return raw data.