
Error Codes and Solutions
Appendix B
NI-488.2M UM for Windows NT
B-2
© National Instruments Corp.
Solutions
•
Use
ibdev
to open a device without specifying its symbolic name.
•
Use only device or board names that are configured in the utility program
ibconf
as parameters to the
ibfind
function.
•
Using
ibconf
, ensure that each board you want to access is configured properly,
that base address, DMA channel, and interrupt level are correct, and that the
Use
This Board
field is selected.
•
If the NI-488.2M driver is installed and configured, but you continue to receive the
error EDVR, use the Windows NT Event Viewer to find a solution. The driver
maintains a log of errors in this utility and posts possible corrections to any problems
that occur while loading. Refer to Chapter 4, Debugging Your Application , for more
information.
•
Use the unit descriptor returned from
ibdev
or
ibfind
as the first parameter in
subsequent NI-488 functions. Examine the variable before the failing function to
make sure the function has not been corrupted.
ECIC (1)
ECIC is returned when one of the following board functions or routines is called while
the board is not CIC:
•
Any device-level NI-488 functions that affect the GPIB
•
Any board-level NI-488 functions that issue GPIB command bytes:
ibcmd
,
ibcmda
,
ibln
, and
ibrpp
•
ibcac
and
ibgts
•
Any of the NI-488.2 routines that issue GPIB command bytes:
SendCmds
,
PPoll
,
Send
, and
Receive
Solutions
•
Use
ibsic
or
SendIFC
to make the GPIB board become CIC on the GPIB.
•
Use
ibrsc1
to make sure your GPIB board 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
board.