Man page - ibcmd(3)
Packages contains this manual
- ibln(3)
- ibcnt(3)
- ibwrt(3)
- ibwrta(3)
- ibrsv(3)
- ibspb(3)
- ibrsp(3)
- ibrda(3)
- ibeot(3)
- ibrsc(3)
- ibtrg(3)
- ibtmo(3)
- ibrdf(3)
- ibvers(3)
- ibppc(3)
- ibrpp(3)
- ibist(3)
- ibwait(3)
- ibsad(3)
- ibevent(3)
- ibpad(3)
- iberr(3)
- ibrsv2(3)
- ibask(3)
- ibconfig(3)
- ibcmd(3)
- ibdev(3)
- ibgts(3)
- ibonl(3)
- ibstop(3)
- ibsre(3)
- ibcac(3)
- ibloc(3)
- iblines(3)
- ibfind(3)
- ibeos(3)
- ibrd(3)
- ibsta(3)
- ibbna(3)
- ibpct(3)
- ibclr(3)
- ibwrtf(3)
- ibcmda(3)
- ibsic(3)
apt-get install libgpib-doc
Manual
IBCMD
NAMESYNOPSIS
DESCRIPTION
RETURN VALUE
COPYRIGHT
NAME
ibcmd - write command bytes (board)
SYNOPSIS
#include <gpib/ib.h>
|
int ibcmd(int ud , const void * commands , long num_bytes ); |
DESCRIPTION
ibcmd() writes the command bytes contained in the array commands to the bus. The number of bytes written from the array is specified by num_bytes . The ud argument is a board descriptor, and the board must be controller-in-charge. Most of the possible command bytes are declared as constants in the header files. In particular, the constants GTL, SDC, PPConfig, GET, TCT, LLO, DCL, PPU, SPE, SPD, UNL, UNT,and PPD are available. Additionally, the inline functions MTA(), MLA(), MSA(), and PPE_byte() are available for producing 'my talk address', 'my listen address', 'my secondary address', and 'parallel poll enable' command bytes respectively.
It is generally not necessary to call ibcmd(). It is provided for advanced users who want direct, low-level access to the GPIB bus.
RETURN VALUE
The value of ibsta is returned.
COPYRIGHT
Copyright © 2003-2006, 2008 Frank Mori Hess