Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

igeterrno(3)

igeterrstr(3)

isetlock(3)

IGPIBSENDCMD(3)

HP-UX

NAME

igpibsendcmd − send command bytes over the GP-IB

SYNOPSIS

 #include <sicl.h>
 int igpibsendcmd (id, buf, len);
 INST id;
 char *buf;
 int len;

DESCRIPTION

Igpibsendcmd sends len arbitrary bytes from buf over the GP-IB with the ATN line asserted.  This provides a means to configure and control the bus.  The ATN line is reset upon return.  This routine works only on interface sessions with active control. 
 

RETURN VALUE

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

ERRORS

Igpibsendcmd 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_TIMEOUT] The call timed out before all of the bytes requested were sent. 

SEE ALSO

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

AUTHOR

igpibsendcmd was developed by HP. 

Hewlett-Packard Company  —  May 05, 1994

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