Instruction manual
AMPDIO DRIVERS
Page 199
registerBoardEx function.
hUsrInt short: user interrupt handle as issued by the
TCsetNCBufferUserInterrupt function.
pBuffer pointer to unsigned long: pointer to the start
of user’s buffer with which to transfer data to or
from one of the interrupt data buffers. The
amount of data to be transferred is given by
the value of the SizeReq parameter which was
passed to the user interrupt set-up function.
pRetLen pointer to unsigned long: points to an
unsigned long variable used for returned length
result value. The returned length value is valid
if the function returns OK. The returned length
value is the same as SizeReq parameter which
was passed to the user interrupt set-up
function unless a failure occurred when
reading data from the card, in which case the
returned length value will be 0.
Returns short: OK
or ERRHANDLE
ERRCHAN
ERRDATA
Prior Calls registerBoardEx
TCsetNCBufferUserInterrupt
TCsetNCBufferUserInterruptAIO
TCsetNCBufferUserInterrupt2
enableInterrupts
See Also TCwaitNCBufferReady
TCwaitMultiNCBufferReady
6.4.15.5 Poll or Wait for Interrupt Data Buffer Ready for Non-Callback Buffered User Interrupt —
TCwaitNCBufferReady
Called to poll non-callback buffered user interrupt to see if an interrupt data buffer is ready for
data transfer using TCdriveNCBufferUserInterrupt. Also used to wait until an interrupt data
buffer is ready with a timeout facility (a poll is implemented as a zero-length timeout). To wait
until more than one non-callback buffered user interrupt has an interrupt data buffer available,
use the TCwaitMultiNCBufferReady function instead. This function may be used by a HP VEE
application.
SUPPORTED IN VERSION 4.02 ONWARDS.
i = TCwaitNCBufferReady (h, hUsrInt, TOutMs)
where h short: board handle as issued by the
registerBoardEx function.
hUsrInt short: user interrupt handle as issued by the
TCsetNCBufferUserInterrupt function.
TOutMs unsigned long: maximum amount of time in