Event Type

PCI-1718HDU/HGU supports the following events:

Event Type Description
ADS_EVT_INTERRUPT Triggered when a certain number of interrupts occur. The number is specified when applications call DRV_EnableEvent.
ADS_EVT_AI_HIBUFREADY Generally, in the high speed analog input operation, user buffer is divided into two equal parts, called low buffer and high buffer. Data from the device will fill them separately. This event will be triggered when high buffer is full. Applications can call DRV_FAITransfer to take away the data in this buffer. If the data is not taken away in time, the ADS_EVT_OVERRUN will occur.
ADS_EVT_AI_LOBUFREADY Generally, in the high speed analog input operation, user buffer is divided into two equal parts, called low buffer and high buffer. Data from the device will fill them separately. This event will be triggered when low buffer is full. Applications can call call DRV_FAITransfer to take away the data in this buffer. If the data is not taken away in time, the ADS_EVT_OVERRUN will occur.
ADS_EVT_TERMINATED(AI) Triggered when a high speed analog input operation finishes, or applications call DRV_FAITerminate.
ADS_EVT_OVERRUN Triggered when the data in buffer has not been taken away in time after an ADS_EVT_AI_HIBUFREADY or ADS_EVT_AI_LOBUFREADY occurs. If ADS_EVT_OVERRUN occurs, the data would be overwritten by new ones.
ADS_EVT_TIME_OUT Triggered when no events occur during the wait interval in DRV_CheckEvent.

See also

PT_EnableEvent