Errors While Passing Control - HP 9000 Series 300 Tutorials Manual

Device i/o and user interfacing hp-ux concepts and tutorials
Hide thumbs Also See for HP 9000 Series 300:
Table of Contents

Advertisement

Errors While Passing Control
If any of the following errors are encountered, hpib_pass_ctl returns -1:
• Computer interface is not Active Controller.
• Entity identifier eid does not refer to an HP-IB raw interface file.
• Entity identifier eid does not refer to an open file.
• Address is outside the range [0,30].
• A timeout occurs.
• The interface associated with thie eid is locked by another process and
D_NDELAY
is set for this eid.
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
EINVAL
Error Condition
eid does not refer to an open file.
eid does not refer to a raw interface file.
Interface is not Active Controller.
Invalid bus address.
ETIMEDOUT A timeout occurred (EIO on Series 300)
EACCES
The interface associated with thie eid was locked by another process
and
D_NDELAY
was set for this eid
3-50
Controlling the HP-IB Interface

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp 9000 series 800

Table of Contents