Instruction manual

Table Of Contents
Page
99
PC215E
6.6.10 Digital Input/Output Functions
6.6.10.1 Test if Digital I/O Chip is Free - DIOisAvailable
Checks if a particular Digital I/O (DIO) chip is available on a board. A DIO chip may not be
available for one of two reasons:
1. the DIO chip is not provided by the board specified, or
2. the DIO chip is being used by some other function.
i = DIOisAvailable (h, chip)
where
h Integer. Board handle as issued by function
registerBoard.
chip Integer. Address offset of the DIO chip. Use
one of the following pre-defined constants:
PPIX = 0
PPIY = 8
PPIZ = 16.
Returns Integer:
0 = DIO Chip NOT Available, 1 = Available
or ERRHANDLE
ERRCHAN
Prior Calls registerBoard
See Also DIOfreeResource