Instruction manual
AMPDIO DRIVERS
Page 206
TCsetBufferUserInterrupt
TCsetBufferUserInterruptAIO
TCsetBufferUserInterrupt2
TCsetNCBufferUserInterrupt
TCsetNCBufferUserInterruptAIO
TCsetNCBufferUserInterrupt2
See Also TCenableUserInterrupt
setIntMask
getIntMask
TCdisableInterruptChip
6.4.17 Analogue I/O Resource Management
6.4.17.1 Test if ADC Interrupt Source is Free — AIOADCisAvailable
Called to determine whether an ADC chip is available at a particular base address offset for
use as an interrupt source. For some cards, the base address offset is just a placeholder for
the ADC chip.
SUPPORTED IN VERSION 4.00 ONWARDS.
i = AIOADCisAvailable (h, Chip)
where h short: board handle as issued by the
registerBoardEx function.
Chip short: determines ADC interrupt source. The
interrupt source number from 0 to 5 multiplied
by 4 (0, 4, 8, 12, 16, 20). For some ADC cards
this is an actual base address offset. For
others it depends on the bit position in the
card’s interrupt enable register. The following
pre-defined constants may be used:
ADC0 = 0
ADC2 = 8
For PC26AT, PC27E and PC30AT use ADC0.
For PCI230 and PCI260 use ADC2.
Returns short: 0 = ADC chip interrupt source NOT available, 1 = Available;
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
See Also AIOcountADCgroups
AIOADCgroupIntChip
AIOcountADCchans
6.4.17.2 Determine Number of ADC Channel Groups — AIOcountADCgroups
Called to determine the number of ADC channel groups supported on a card. Generally, ADC
channels that share the same multiplexer will be in the same channel group. If a card has