Instruction manual

AMPDIO DRIVERS
Page 203
TCsetUserInterrupt
TCsetUserInterruptAIO
TCsetUserInterrupt2
TCsetBufferUserInterrupt
TCsetBufferUserInterruptAIO
TCsetBufferUserInterrupt2
TCsetNCBufferUserInterrupt
TCsetNCBufferUserInterruptAIO
TCsetNCBufferUserInterrupt2
enableInterrupts
See Also
6.4.16.3 Expedite Read User Interrupt — TCexpediteReadUserInterrupt
Cause current or following user interrupt data buffer to complete as soon as possible with as
much data as possible without waiting for the buffer to fill.
SUPPORTED IN VERSION 5.02 ONWARDS.
The amount of data returned in the interrupt data buffer will be between 0 and the length of the
buffer inclusive.
There is no point using this function with non-buffered user interrupts.
The function will fail for user interrupts that write data to the device, or if the driver version is
too old, or if the user interrupt event is not currently enabled.
If the user interrupt reads multiple ADC channels and the buffer length is a multiple of the
number of enabled ADC channels, the amount of data returned in the buffer will also be a
multipls of the number of ADC channels. Any remaining ADC channel data will be saved for
the next buffer in continuous mode, but will be discarded in non-continuous mode, preserving
the channel sequence.
i = TCexpediteReadUserInterrupt (h, hUsrInt)
where h short: board handle as issued by the
registerBoardEx function.
hUsrInt short: user interrupt handle as issued by user
interrupt set-up function.
Returns short: OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
TCsetBufferUserInterrupt
TCsetBufferUserInterruptAIO
TCsetBufferUserInterrupt2
TCsetNCBufferUserInterrupt
TCsetNCBufferUserInterruptAIO
TCsetNCBufferUserInterrupt2
enableInterrupts
See Also TCcheckUserInterruptDataAvailable