Instruction manual

AMPDIO DRIVERS
Page 200
milliseconds to wait for an interrupt data buffer
to become available for transfer. Can be set to
0 for a poll or to INFINITE (FFFFFFFF
16
) to
wait indefinitely.
Returns short: 0 if timed out; 1 if ready for data transfer.
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
TCsetNCBufferUserInterrupt
TCsetNCBufferUserInterruptAIO
TCsetNCBufferUserInterrupt2
enableInterrupts
See Also TCdriveNCBufferUserInterrupt
TCwaitMultiNCBufferReady
6.4.15.6 Poll or Wait for Interrupt Data Buffer Ready for Multiple Non-Callback Buffered User Interrupts
TCwaitMultiNCBufferReady
Called to wait until one of multiple non-callback buffered user interrupts has an interrupt data
buffer that is ready for data transfer using TCdriveNCBufferUserInterrupt, with timeout facility.
May also be used to poll without waiting (a poll is implemented as a zero-length timeout) and
may also be used for a single non-callback buffered user interrupt, but it may be easier to use
the TCwaitNCBufferReady function for those cases. This function may be used by a HP VEE
application.
SUPPORTED IN VERSION 4.20 ONWARDS.
i = TCwaitMultiNCBufferReady (nPairs, phBInArr, phUIInArr, phBout,
phUIOut, TOutMs)
where nPairs unsigned long: number of non-callback
buffered user interrupts being checked.
phBInArr pointer to short: points to the first of an array
of nPairs board handles as issued by the
registerBoardEx function. Each index
corresponds to one of the nPairs non-callback
buffered user interrupts being checked. The
function does not modify the contents of the
array.
phUIInArr pointer to short: points to the first of an array
of nPairs user interrupt handles as issued by
the TCsetNCBufferUserInterrupt function. Each
index corresponds to one of the nPairs non-
callback buffered user interrupts being
checked. The function does not modify the
contents of the array.
phBOut pointer to short: pointer to short integer
variable which will be set to 1 on timeout, or
to the board handle of the first user interrupt
which is ready for data transfer.