Instruction manual
AMPDIO DRIVERS
Page 104
6.4.4.6 Read Data from a Long Integer Buffer — readLongBuf
Reads a data item from a long integer buffer, returning the item via a user-supplied pointer.
The pointer must reference a long integer variable.
i = readLongBuf (b, item, p)
where b short: buffer handle, as issued by the
allocateLongBuf function
item long: index of the data item in the buffer.
p pointer to long: points to a long integer
variable to be used for the result.
Returns short: OK
or ERRBUFFER
ERRRANGE
Prior Calls allocateLongBuf
See Also
6.4.4.7 Write Data to a Short Integer Buffer — writeIntegerBuf
Writes a single short integer data item to a short integer buffer.
i = writeIntegerBuf (b, item, data)
where b short: buffer handle, as issued by the
allocateIntegerBuf function.
item long: index of item in buffer.
data short: data value.
Returns short: OK
or ERRBUFFER
ERRRANGE
ERRDATA
Prior Calls allocateIntegerBuf
See Also
6.4.4.8 Write Data to a Long Integer Buffer — writeLongBuf
Writes a single long integer data item to a long integer buffer.
i = writeLongBuf (b, item, data)
where b short: buffer handle, as issued by the
allocateLongBuf function.
item long: index of item in buffer.