Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ igpibpassct(3) — HP-UX Instrument Control Library G.03.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

igeterrno(3)

igeterrstr(3)

isetlock(3)

IGPIBPASSCTL(3)

HP-UX

NAME

igpibpassctl − pass control to another GP-IB device

SYNOPSIS

 #include <sicl.h>
 int igpibpassctl (id, busaddr);
 INST id;
 int busaddr;

DESCRIPTION

Igpibpassctl passes active control of the GP-IB to the device specified by busaddr.  Busaddr must be between 0-30.  Some GP-IB implementations do not support passing control from the interface to itself.  This routine works only on interface sessions with active control. 
 
Passing control causes the I_INTR_INTFDEACT interrupt to be generated.  If control is passed back to the interface, the I_INTR_INTFACT interrupt is generated.
 

RETURN VALUE

Igpibpassctl returns 0 on success, or a non-zero error code otherwise. 

ERRORS

Igpibpassctl fails under the following circumstances, and sets the return value to one of the following:

­[I_ERR_BADID] The INST id is invalid. 

­[I_ERR_NOINTF] The interface is not active controller. 

­[I_ERR_PARAM] The specified bus address is out of range. 
 

SEE ALSO

igeterrno(3), igeterrstr(3), isetlock(3)

AUTHOR

igpibpassctl was developed by HP. 

Hewlett-Packard Company  —  September 29, 1999

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