Man page - ibrd(3)
Packages contas this manual
- ibwrtf(3)
- ibcnt(3)
- ibrd(3)
- ibeot(3)
- ibclr(3)
- ibrpp(3)
- ibloc(3)
- ibrsv2(3)
- ibppc(3)
- ibstop(3)
- ibsad(3)
- ibrsp(3)
- ibist(3)
- ibwrta(3)
- ibsta(3)
- ibrda(3)
- ibgts(3)
- ibrdf(3)
- ibtmo(3)
- ibcac(3)
- ibvers(3)
- ibcmd(3)
- ibtrg(3)
- ibsic(3)
- ibeos(3)
- ibcmda(3)
- ibwait(3)
- ibonl(3)
- ibpct(3)
- ibrsc(3)
- ibwrt(3)
- ibbna(3)
- iblines(3)
- ibrsv(3)
- ibpad(3)
- ibspb(3)
- iberr(3)
- ibask(3)
- ibsre(3)
- ibconfig(3)
- ibfind(3)
- ibln(3)
- ibdev(3)
- ibevent(3)
apt-get install libgpib-doc
Manual
| IBRD(3) | Traditional API Functions | IBRD(3) |
NAME
ibrd - read data bytes (board or device)
SYNOPSIS
#include <gpib/ib.h>
int ibrd(int ud, void *buffer, long num_bytes);
DESCRIPTION
ibrd() is used to read data bytes from a device or board. The argument ud can be either a device or board descriptor. Up to num_bytes bytes are read into the user-supplied array buffer. The read may be terminated by a timeout occuring(see ibtmo()), the talker asserting the EOI line, the board receiving the end-of-string character (see ibeos()), receiving a device clear command, or receiving an interface clear.
If ud is a device descriptor, then the library automatically handles addressing the device as talker and the interface board as listener before performing the read.
If ud is a board descriptor, no addressing is performed and the board must be addressed as a listener by the controller-in-charge.
After the ibrd() call, ibcnt and ibcntl are set to the number of bytes read.
RETURN VALUE
The value of ibsta is returned.
COPYRIGHT
Copyright © 2003-2006, 2008 Frank Mori Hess
| 11/30/2025 | linux-gpib 4.3.7 |