Ecic (1), Enol (2), Solutions – National Instruments NI-488.2 User Manual
Page 107

Appendix C
Error Codes and Solutions
© National Instruments Corporation
C-3
•
Use the unit descriptor returned from
ibdev
or
ibfind
as the first
parameter in subsequent traditional NI-488.2 calls. Examine the
variable before the failing function to make sure its value has not been
corrupted.
ECIC (1)
ECIC is returned when one of the following functions is called while the
interface is not CIC:
•
Any device-level traditional NI-488.2 calls that affect the GPIB.
•
Any board-level traditional NI-488.2 calls that issue GPIB command
bytes:
ibcmd
,
ibcmda
,
ibln
, and
ibrpp
.
•
ibcac
and
ibgts
.
•
Any NI-488.2 multi-device calls that issue GPIB command bytes:
SendCmds
,
PPoll
,
Send
, and
Receive
.
Solutions
Possible solutions for this error are as follows:
•
Use
ibsic
or
SendIFC
to make the GPIB interface become CIC
on the GPIB.
•
Use the
IbcSC
option in
ibconfig
to make sure your GPIB interface
is configured as System Controller.
•
In multiple CIC situations, always be certain that the CIC bit appears
in the status word
Ibsta
before attempting these calls. If it does not
appear, you can perform an
ibwait
(for CIC) call to delay further
processing until control is passed to the interface.
ENOL (2)
ENOL usually occurs when a write operation is attempted with no
Listeners addressed. For a device write, ENOL indicates that the GPIB
address configured for that device in the software does not match the GPIB
address of any device connected to the bus, that the GPIB cable is not
connected to the device, or that the device is not powered on.
ENOL can occur in situations where the GPIB interface is not the CIC and
the Controller asserts ATN before the write call in progress has ended.