Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ igetintftyp(3) — HP-UX Instrument Control Library C.03.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

igeterrno(3)

igeterrstr(3)

IGETINTFTYPE(3)

HP-UX

NAME

igetintftype − Return the type interface associated with a given session. 

SYNOPSIS

 #include <sicl.h>
 int igetintftype(INST id, int *data);

DESCRIPTION

igetintftype will return, in *data, one of the following values:
 

I_INTF_HPIB
The session associated with id is associated with an HP-IB interface. 

I_INTF_VXI
The session associated with id is associated with a VXI or MXI interface. 

If the value returned is a value other than a value listed above, the session associated with id is associated with an interface other than one of the interfaces listed above.  This is true because more interfaces may be added to the list of iinterfaces above in a future release of the HP SICL specification. 

RETURN VALUE

igetintftype returns (0) if successful, or a non-zero error code if an error was encountered. 

ERRORS

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

­[I_ERR_NORSRC] Out of system resources

­[I_ERR_NOINTF] Interface is not active

­[I_ERR_NODEV] Device is not active

­[I_ERR_BADID] The INST id is invalid

­[I_ERR_BADADDR] Invalid address (device/interface doesn’t exist)

 

SEE ALSO

igeterrno(3), igeterrstr(3)
 

AUTHOR

igetintftype was developed by HP. 

Hewlett-Packard Company  —  May 05, 1994

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