Instruction manual
AMPDIO DRIVERS
Page 107
Prior Calls allocateLongBuf
See Also
6.4.4.13 Query Current Interrupt Position within a Short Integer Data Buffer — getIntegerIntItem
Gets the current interrupt position within a short integer data buffer. None of the currently
supported interrupt functions in the library use short integer data buffers, so the returned
position will be 0.
i = getIntegerIntItem (b, pitem)
where b short: buffer handle as issued by the
allocateIntegerBuf function.
pitem pointer to long: pointer to a long integer
variable, into which the result (the index of the
buffer item to be used on the next interrupt) will
be stored.
Returns short: OK
or ERRHANDLE
ERRDATA
Prior Calls allocateIntegerBuf
See Also
6.4.4.14 Query Current Interrupt Position within a Long Integer Data Buffer — getLongIntItem
Gets the current interrupt position within a long integer data buffer. This function can be called
for any data buffer currently being used for Event Recorder data. In this case, data is written
to the buffer when the interrupt occurs. This function returns the index within the specified
buffer of the data item to be read or written to on the next interrupt, giving an indication of how
much of the buffer contains valid data. The position is reset when the Event Recorder is set
up.
i = getLongIntItem (b, pitem)
where b short: buffer handle as issued by the
allocateLongBuf function.
pitem pointer to long: pointer to a long integer
variable into which the result (the index of the
buffer item to be used on the next interrupt) will
be stored.
Returns short: OK
or ERRHANDLE
ERRDATA
Prior Calls allocateLongBuf
See Also