HPIB_CARD_PPOLL_RESP(3I) — HP-UX
NAME
hpib_card_ppoll_resp − control response to parallel poll on HP-IB
SYNOPSIS
int hpib_card_ppoll_resp (eid,flag);
int eid,flag;
DESCRIPTION
Hpib_card_ppoll_resp enables an interface to enable (or disable) itself for parallel polls. It also controls the sense, and determines the line on which the response is sent. This gives the interface the ability to either ignore or respond to a parallel poll depending upon whether or not it is enabled to respond.
Eid is an entity identifier of an open HP-IB raw bus device file obtained from an open(2), dup(2), fcntl(2), or creat(2) call. Flag is an integer having one of the following bit patterns:
Bit Pattern Meaning
10000 Disable parallel poll response.
0SPPP Enable parallel poll response, where
S = sense of the response, and
PPP = 3-bit binary number specifying the line on which the response is sent (0 − 7 octal).
RETURN VALUE
Hpib_card_ppoll_resp returns 0 (zero) if successful, or −1 if an error was encountered.
ERRORS
Hpib_card_ppoll_resp fails under the following circumstances, and sets errno (see errno(2)) to the value in square brackets:
[EBADF] eid does not refer to an open file.
[ENOTTY] eid does not refer to an HP-IB raw bus device file.
[EINVAL] the device cannot respond on the line number specified by flag.
HARDWARE DEPENDENCIES
Series 300
The HP 98625A/B HP-IB interface supports only enabling and disabling the parallel poll response (bit 4 of flag). The sense and response line number are not programmable on this card.
Series 500
Note that the HP 27110A HP-IB interface supports only enabling and disabling the parallel poll response (bit 4 of flag). The sense and response line number are not programmable on this card.
Series 800
Since the sense and response line number are not programmable on the HP27110B HP-IB interface, the equivalent parallel poll configuration commands are sent over the HP-IB to the interface. Therefore, this function will fail if the interface is not active controller.
AUTHOR
Hpib_card_ppoll_resp was developed by HP.
SEE ALSO
hpib_ppoll(3I), hpib_ppoll_resp_ctl(3I).
Hewlett-Packard Company — Version B.1, May 11, 2021