Man page - ibrsp(3)

Packages contains this manual

Manual

IBRSP

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
COPYRIGHT

NAME

ibrsp - read status byte / serial poll (device)

SYNOPSIS

#include <gpib/ib.h>

int ibrsp(int ud , char * result );

DESCRIPTION

ibrsp() obtains the status byte from the device specified by ud . The status byte 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. If the status byte queue is not empty ibrsp() obtains the status byte information from the queue. If the queue is empty the status byte is obtained by serial polling the device. Automatic serial polling is controlled with ibconfig(). The contents of the status byte returned in result are device specific. Refer to the device manufacturer's documentation for details. For devices conforming to the IEEE488.1 or 2 specification the bits defined in the table below are available if enabled in the device's Status Byte Enable register.

Table 10. Standard IEEE.488 GPIB status byte bits

Image grohtml-509144-1.png

RETURN VALUE

The value of ibsta is returned.

COPYRIGHT

Copyright © 2003-2006, 2008 Frank Mori Hess