Instruction manual

AMPDIO DRIVERS
Page 103
i = freeIntegerBuf (b)
where b short: buffer handle as issued by the
allocateIntegerBuf function.
Returns short: OK
or ERRBUFFER
Prior Calls allocateIntegerBuf
See Also
6.4.4.4 Free up a Long Integer Data Buffer freeLongBuf
Frees a block of memory previously allocated for the given data buffer by the allocateLongBuf
function.
i = freeLongBuf (b)
where b short: buffer handle as issued by the
allocateLongBuf function.
Returns short: OK
or ERRBUFFER
Prior Calls allocateLongBuf
See Also
6.4.4.5 Read Data from a Short Integer Buffer readIntegerBuf
Reads a data item from a short integer buffer, returning the item via a user-supplied pointer.
The pointer must reference a short integer variable.
i = readIntegerBuf (b, item, p)
where b short: buffer handle, as issued by the
allocateIntegerBuf function
item long: index of the data item in the buffer.
p pointer to short: points to a short integer
variable to be used for the result.
Returns short: OK
or ERRBUFFER
ERRRANGE
Prior Calls allocateIntegerBuf
See Also