Instruction manual
AMPDIO DRIVERS
Page 209
See Also AIOADCgroupHasFIFO
6.4.17.7 Test if DAC Interrupt Source is Free — AIODACisAvailable
Called to determine whether a DAC 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 DAC chip. Generally, only cards with DAC FIFOs have an interrupt source.
SUPPORTED IN VERSION 4.20 ONWARDS.
i = AIODACisAvailable (h, Chip)
where h short: board handle as issued by the
registerBoardEx function.
Chip short: determines DAC interrupt source. The
interrupt source number from 0 to 5 multiplied
by 4 (0, 4, 8, 12, 16, 20). It depends on the bit
position in the card’s interrupt enable register.
The following pre-defined constants may be
used:
DAC2 = 8
DAC4 = 16
For PCI224 and PCI234 use DAC2.
For PCI230+ hardware version 2 use DAC4.
Returns short: 0 = DAC chip interrupt source NOT available, 1 = Available;
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
See Also AIOcountDACgroups
AIODACgroupIntChip
AIOcountDACchans
6.4.17.8 Determine Number of DAC Channel Groups — AIOcountDACgroups
Called to determine the number of DAC channel groups supported on a card. Generally, non-
multiplexed DAC channels will be in the same channel group and DAC channels that share
the same multiplexer will be in the same channel group. If a card has DAC channel groups
they are numbered from 0 to number of groups–1.
N.B. all currently supported cards have at most one DAC channel group.
SUPPORTED IN VERSION 4.00 ONWARDS.
i = AIOcountDACgroups (h)
where h short: board handle as issued by the
registerBoardEx function.