dscADSampleInt
Performs A/D conversions using interrupt-based I/O with one A/D conversion per A/D clock tick. Note that calling this function only starts the interrupt operations in a separate system thread. The function call does not result in an atomic transaction with immediate results. Rather, it starts a real-time process that terminates only when the number of conversions reaches the maximum specified (one-shot mode) or if a call to dscCancelOp () is made.
Name | Description |
DSCB | The handle of the board to operate on |
The interrupt-based analog I/O settings to be used |
Return Value |
Error code or 0. |
A/D samples resulting from the interrupt operation are stored in the buffer whose pointer is passed to the function in the DSCAIOINT structure.
Last updated