PT_FAICheck

typedef struct tagPT_FAICheck
{
    INT16U ActiveBuf;
    INT16U stopped;
    INT32U retrieved;
    INT16U overrun;
    INT16U HalfReady;
} PT_FAICheck, * LPT_FAICheck;

PT_FAICheck is used in function DRV_FAICheck.

Member Description

Name Direction Range* Description
ActiveBuf output 0, 1 Reserved and always set to "0" at present.
Stopped output 0, 1 Indicates the operation is complete or incomplete.
0-incomplete
1-complete
retrieved output From 0 to the length of the buffer. The converted data count stored in the buffer.
overrun output 0, 1 The overrun status. If the data in 1st/2nd half of the buffer has not been taken away in time, an overrun flag will be set and the data will be overwritten by new ones.
0- No overrun occurs
1- Overrun occurs
HalfReady output 0, 1, 2 The buffer status.
0- Not ready
1- Data in the first half of the buffer is ready
2- Data in the second half of the buffer is ready

When the 1st/2nd half of the buffer is ready, the user can transfer the data in time from sampling buffer to user's buffer by calling the DRV_FAITransfer.

*Please refer to the Hardware Manual for individual card's Member Range.