Man page - ibevent(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
IBEVENT
NAMESYNOPSIS
DESCRIPTION
RETURN VALUE
COPYRIGHT
NAME
ibevent - get events from event queue (board)
SYNOPSIS
#include <gpib/ib.h>
|
int ibevent(int ud , short * event ); |
DESCRIPTION
ibevent() is used to obtain the oldest event stored in the event queue of the board specified by the board descriptor ud . The EVENT bit of ibsta indicates that the event queue contains 1 or more events. An event may be a clear command, a trigger command, or reception of an interface clear. The type of event is stored in the location specified by event and may be set to any of the following values:
|
Table 8. events |
The event queue is disabled by default. It may be enabled by a call to ibconfig(). Each interface board has a single event queue which is shared across all processes and threads. So, only one process can retrieve any given event from the queue. Also, the queue is of finite size so events may be lost (ibevent() will return an error) if it is neglected too long.
RETURN VALUE
The value of ibsta is returned.
COPYRIGHT
Copyright © 2003-2006, 2008 Frank Mori Hess