Instruction manual

Table Of Contents
PC215E Page 64
6.6.3.5 Read Data from an Integer Buffer - readIntegerBuf
Reads a data item from an integer buffer, which is returned via a user-supplied pointer. The
pointer must reference an integer variable.
i = readIntegerBuf (b, item, p)
where
b Integer: buffer handle, as issued by the
allocateIntegerBuf function
item Long: index of the data item in the buffer.
p Pointer: points to an integer variable to be
used for the result
Returns Integer:
OK
or ERRBUFFER
ERRRANGE
Prior Calls registerBoard
allocateIntegerBuf
See Also
6.6.3.6 Read Data from Long Buffer - readLongBuf
Reads a data item from long integer buffer, which is returned via a user-supplied pointer. The
pointer must reference a long integer variable.
i = readLongBuf (b, item, p)
where
b Integer: buffer handle, as issued by the
allocateLongBuf function
item Long: index of the data item in the buffer.
p Pointer: points to a long integer variable to be
used for the result
Returns Integer:
OK
or ERRBUFFER
ERRRANGE
Prior Calls registerBoard
allocateLongBuf
See Also