Performs D/A conversions using interrupt-based I/O with one scan per interrupt.
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.
BYTE dscDAConvertScanInt(DSCB board, DSCAIOINT*d scaioint);
Name | Description
|
address | I/O address to access
|
value | A pointer to a word that stores the value
|
Error code or 0.