ibspb — obtain length of serial poll bytes queue (device)
#include <gpib/ib.h>
int ibspb( | ud, | |
result) ; |
int ud
;short *result
; ibspb() obtains the number of serial poll bytes queued for the
device specified by ud
. The number of
queued serial poll bytes is stored in the location specified
by result
.
If automatic serial polling is enabled on the board controlling the device, the status byte is automatically read and queued whenever the device requests service. Automatic serial polling is controlled with ibconfig().
The queued status bytes are read with ibrsp().
The value of ibsta is returned.