Instruction manual

Table Of Contents
PC215E Page 68
6.6.3.13 Query Number of Interrupt Operations to date on a Buffer - getIntItem
This function can be called for any data buffer currently being used for Event Recorder or Bi-
Directional Bus data. In these two cases, data is read from or written to the buffer when the
relevant interrupt occurs. This function returns the index within the specified buffer of the data
item to be read or written to on the next relevant interrupt, giving an indication of how much of
the buffer contains valid data.
i = getIntItem(hB, item)
where
hB Integer: buffer handle as issued by the
allocateBuf functions.
item Pointer to Long: pointer to a variable (declared
as a long integer), into which the result (the
index of the buffer item to be used on the next
relevant interrupt) will be stored.
Returns Integer:
OK
or ERRHANDLE
Prior Calls registerBoard
allocateIntegerBuf
allocateLongBuf
enableInterrupts
See Also disableInterrupts