Instruction manual

Table Of Contents
Page
107
PC215E
6.6.12.2 Free-up Bi-Directional Data Bus Digital I/O Chip - DIOfreeBiDirectionalBus
Frees up the DIO chip used by the given Bi-Directional bus handle.
i = DIOfreeBiDirectionalBus (h, hI)
where
h Integer. Board handle as issued by function
registerBoard.
hI Integer. Bi directional bus handle as issued by
function DIOsetBiDirectionalBus.
Returns Integer:
OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoard
DIOsetBiDirectionalBus
disableInterrupts
See Also
6.7 PC215E Library Error Codes
Mnemonic Returned
Value
Meaning
OK 0 Operation successful.
ERRSUPPORT -1 Operation not supported by board, or the maximum
boards/buffers are already registered.
ERRBASE -2 Base address is invalid or in use.
ERRIRQ -3 Interrupt level is invalid or in use.
ERRHANDLE -4 Invalid board handle, or board not registered.
ERRCHAN -5 Invalid channel number
ERRDATA -6 Invalid data
ERRRANGE -7 Out of range
ERRMEMORY -8 Insufficient Memory
ERRBUFFER -9 Invalid buffer handle - not allocated
ERRPC226 -10 PC226 board not found (for VCO function)