Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ hpib_card_p(3D) — HP-UX 5.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

hpib_ppoll(3D)

hpib_ppoll_resp_ctl(3D)

HPIB_CARD_PPOLL_RESP(3D)

NAME

hpib_card_ppoll_resp − control response to parallel poll on HP-IB

SYNOPSIS

int hpib_card_ppoll_resp (eid,flag);
int eid,flag;

HP-UX COMPATIBILITY

Level: Device I/O Library − HP-UX/EXTENDED

Origin: HP

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).

HARDWARE DEPENDENCIES

Series 500:
Note that the HP 27110A/B HP-IB interface cards do not support programmatic parallel poll response configuration. 

RETURN VALUE

Hpib_card_ppoll_resp returns 0 (zero) if  successful,  or −1 if an error was encountered. 

SEE ALSO

hpib_ppoll(3D) and hpib_ppoll_resp_ctl(3D). 

DIAGNOSTICS

Hpib_card_ppoll_resp fails under the following circumstances, and sets errno (see errno(2)) to the value in square brackets:

eid does not refer to an open file [EBADF];

eid does not refer to an HP-IB raw bus device file [ENOTTY];

the device cannot respond on the line number specified by flag [EINVAL]. 

Hewlett-Packard  —  last mod. May 11, 2021

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026