IGPIBPPOLLCONFIG(3)
HP-UX
NAME
igpibppollconfig − configure a device’s parallel poll response
SYNOPSIS
#include <sicl.h>
int igpibppollconfig (id, val);
INST id;
int val;
DESCRIPTION
Igpibppollconfig configures a device’s parallel poll response. This routine works only on interface sessions with active control.
If val is -1, the device specified by id is disabled from generating parallel poll responses. If val is > 0, the device is enabled to generate paralell poll responses. In this case, the lower 4 bits of val correspond to:
bit 3 Set the sense of the ppoll response. A 1 in this bit means that an affirmative response means service request. A 0 in this bit means that an affirmative response means no service request.
bits 2-0 A value from 0-7 specifying the GP-IB data line to respond on for parallel polls.
RETURN VALUE
Igpibppollconfig returns 0 on success, or a non-zero error code otherwise.
ERRORS
Igpibppollconfig fails under the following circumstances, and sets the return value to one of the following values:
[I_ERR_BADID] The INST id is invalid.
[I_ERR_NOINTF] The interface is not active.
SEE ALSO
igeterrno(3), igeterrstr(3), isetlock(3)
AUTHOR
igpibppollconfig was developed by HP.
Hewlett-Packard Company — September 29, 1999