Instruction manual

AMPDIO DRIVERS
Page 105
data long: data value.
Returns short: OK
or ERRBUFFER
ERRRANGE
ERRDATA
Prior Calls allocateLongBuf
See Also
6.4.4.9 Copy a Block of Data to a Short Integer Buffer copyToIntegerBuf
Copies a block of short integer data to a short integer buffer.
i = copyToIntegerBuf (b, start, nItems, p)
where b short: buffer handle as issued by the
allocateIntegerBuf function.
start long: index of the starting item in the buffer.
nItems long: number of items to copy.
p pointer to short: pointer to the beginning of
the memory block to copy.
Returns short: OK
or ERRBUFFER
ERRRANGE
ERRDATA
Prior Calls allocateIntegerBuf
See Also
6.4.4.10 Copy a Block of Data to a Long Integer Buffer copyToLongBuf
Copies a block of long integer data to a long integer buffer.
i = copyToLongBuf (b, start, nItems, p)
where b short: buffer handle as issued by the
allocateLongBuf function.
start long: index of the starting item in the buffer.
nItems long: number of items to copy.
p pointer to long: pointer to the beginning of the
memory block to copy.
Returns short: OK
or ERRBUFFER