break;
}
}
Errors During Parallel Polls
hpib_ppoll returns the value -1 if anyone of the following error conditions
are encountered:
• Timeout defined by io_ timeout_ctl occurred before all devices
responded.
• Computer's interface is not the Active Controller.
• Entity identifier eid does not refer to a raw HP-IB interface file.
• Entity identifier eid does not refer to an open file.
• A timeout occurs.
To find out which of these conditions caused the error, your program should
check for the following values of errno:
errno Value
EBADF
ENOTTY
EIO
Error Condition
eid
does not refer to an open file.
eid
does not refer to a raw interface file.
Interface is not Active Controller. (EACCES
~m
Series 800)
ETIMEDOUT A timeout occurred. (EIO on Series 300)
Controlling the HP-IB Interface
3-41