Man page - ibdev(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
IBDEV
NAMESYNOPSIS
DESCRIPTION
RETURN VALUE
COPYRIGHT
NAME
ibdev - open a device (device)
SYNOPSIS
#include <gpib/ib.h>
|
int ibdev(int board_index , int pad , int sad , int timeout , int send_eoi , int eos ); |
DESCRIPTION
ibdev() is used
to obtain a device descriptor, which can then be used by
other functions in the library. The argument
board_index
specifies which GPIB interface board the
device is connected to. The
pad
and
sad
arguments specify the GPIB address of the device to be
opened (see ibpad() and ibsad()). The timeout for io
operations is specified by
timeout
(see ibtmo()). If
send_eoi
is nonzero,
then the EOI line will be asserted with the last byte sent
during writes (see ibeot()). Finally, the
eos
argument specifies the end-of-string character and whether
or not its reception should terminate reads (see ibeos()).
To suppress error messages printed to stderr by ibdev() set
the environment variable IB_NO_ERROR before calling the
routine.
RETURN VALUE
If sucessful, returns a (non-negative) device descriptor. On failure, -1 is returned.
COPYRIGHT
Copyright © 2003-2006, 2008 Frank Mori Hess