Event Type

PCI-1712/L supports the following events:

Event Type Description
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_AI_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_AI_OVERRUN will occur.
ADS_EVT_AI_TERMINATED Triggered when a high speed analog input operation finishes, or applications call DRV_FAITerminate.
ADS_EVT_AI_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_AI_OVERRUN occurs, the data would be overwritten by new ones.
ADS_EVT_AO_HIBUF_TRANSFERED Generally, in the high speed analog output operation, user buffer is divided into two equal parts, called low buffer and high buffer. This event will be triggered when the data in high buffer is transferred.
ADS_EVT_AO_LOBUF_TRANSFERED Generally, in the high speed analog output operation, user buffer is divided into two equal parts, called low buffer and high buffer. This event will be triggered when the data in low buffer is transferred.
ADS_EVT_AO_UNDERRUN Triggered when the data in buffer has not been loaded in time after an ADS_EVT_AO_HIBUF_TRANSFERED or ADS_EVT_AO_LOBUF_TRANSFERED occurs. If ADS_EVT_AO_UNDERRUN occurs, no data is ready in buffer.

See also

PT_EnableEvent