Iberr() or iberr Error Codes and Solutions

NI-488.2

Iberr() or iberr Error Codes and Solutions

Iberr is the NI-488.2 error function. If a call failed within an error, the Iberr value describes the NI-488.2 error that occurred. When using the GPIB32 API, iberr is the global variable.

The following table lists the NI-488.2 error codes. Remember that the error function is meaningful only when the ERR bit in the status function, Ibsta, is set. For a detailed description of each error and possible solutions, click on the error mnemonic.

Mnemonic Value Meaning

EDVR 0 System error
ECIC 1 Function requires GPIB interface to be CIC
ENOL 2 No Listeners on the GPIB
EADR 3 GPIB interface not addressed correctly
EARG 4 Invalid argument to function call
ESAC 5 GPIB interface not System Controller as required
EABO 6 I/O operation aborted (timeout)
ENEB 7 Nonexistent GPIB interface
EDMA 8 DMA error
EOIP 10 Asynchronous I/O in progress
ECAP 11 No capability for operation
EFSO 12 File system error
EBUS 14 GPIB bus error
ESRQ 16 SRQ stuck in ON position
ETAB 20 Table problem
ELCK 21 Interface is locked
EARM 22 ibnotify callback failed to rearm
EHDL 23 Input handle is invalid
EWIP 26 Wait in progress on specified input handle
ERST 27 The event notification was cancelled due to a reset of the interface
EPWR 28 The interface lost power