Reference for libgpib functions, macros, and constants.
- Table of Contents
- ibask -- query configuration (board or device)
- ibbna -- change access board (device)
- ibcac -- assert ATN (board)
- ibclr -- clear device (device)
- ibcmd -- write command bytes (board)
- ibcmda -- write command bytes asynchronously (board)
- ibconfig -- change configuration (board or device)
- ibdev -- open a device (device)
- ibeos -- set end-of-string mode (board or device)
- ibeot -- assert EOI with last data byte (board or device)
- ibevent -- get events from event queue (board)
- ibfind -- open a board or device (board or device)
- ibgts -- release ATN (board)
- ibist -- set individual status bit (board)
- iblines -- monitor bus lines (board)
- ibln -- check if listener is present (board or device)
- ibloc -- go to local mode (board or device)
- ibonl -- close or reinitialize descriptor (board or device)
- ibpad -- set primary GPIB address (board or device)
- ibpct -- pass control (board)
- ibppc -- parallel poll configure (board or device)
- ibrd -- read data bytes (board or device)
- ibrda -- read data bytes asynchronously (board or device)
- ibrdf -- read data bytes to file (board or device)
- ibrpp -- perform a parallel poll (board or device)
- ibrsc -- request system control (board)
- ibrsp -- read status byte / serial poll (device)
- ibrsv -- request service (board)
- ibrsv2 -- request service (board)
- ibsad -- set secondary GPIB address (board or device)
- ibsic -- perform interface clear (board)
- ibspb -- obtain length of serial poll bytes queue (device)
- ibsre -- set remote enable (board)
- ibstop -- abort asynchronous i/o operation (board or device)
- ibtmo -- adjust io timeout (board or device)
- ibtrg -- trigger device (device)
- ibvers -- Obtain the current linux gpib version.
- ibwait -- wait for event (board or device)
- ibwrt -- write data bytes (board or device)
- ibwrta -- write data bytes asynchronously (board or device)
- ibwrtf -- write data bytes from file (board or device)
The "Multidevice" API functions provide similar functionality to the "Traditional" API functions.
However, some of the "multidevice" functions can be
performed on multiple devices simultaneously. For example,
SendList()
can be used to write a message to multiple devices. Such functions take an array of Addr4882_t
as an argument. The end of the array is specified by setting the last element to the
constant NOADDR.
- Table of Contents
- AsyncIbcnt and AsyncIbcntl -- ibcnt and ibcntl values for last asynchronous I/O operation
- AsyncIberr -- iberr value for last asynchronous I/O operation
- AsyncIbsta -- ibsta value for last asynchronous I/O operation
- CFGn -- generate 'configure n meters' command byte
- GetPAD -- extract primary address from an Addr4882_t value
- GetSAD -- extract secondary address from an Addr4882_t value
- MakeAddr -- pack primary and secondary address into an Addr4882_t value
- MLA -- generate 'my listen address' command byte
- MSA -- generate 'my secondary address' command byte
- MTA -- generate 'my talk address' command byte
- PPE_byte -- generate 'parallel poll enable' command byte
- ThreadIbcnt and ThreadIbcntl -- thread-specific ibcnt and ibcntl values
- ThreadIberr -- thread-specific iberr value
- ThreadIbsta -- thread-specific ibsta value