National Instruments NI-488.2 Switch User Manual


 
Appendix C Error Codes and Solutions
NI-488.2 User Manual for Windows C-2 www.natinst.com
EDVR (0)
EDVR is returned when the interface or device name passed to
ibfind
,
or the interface index passed to
ibdev
, cannot be accessed. The global
variable
ibcntl
contains an error code. This error occurs when you try to
access an interface or device that is not installed or configured properly.
EDVR is also returned if an invalid unit descriptor is passed to any
traditional NI-488.2 call.
Solutions
Possible solutions for this error are as follows:
Use
ibdev
to open a device without specifying its symbolic name.
Use only device or interface names that are configured in the NI-488.2
Configuration utility as parameters to the
ibfind
function.
Use the NI-488.2 Troubleshooting Wizard to ensure that each interface
you want to access is working properly, as follows:
1. Select Start»Programs»National Instruments
NI-488.2»Explore GPIB.
2. Select Help»Troubleshooting»NI-488.2 Troubleshooting
Wizard.
The Troubleshooting Wizard tests your GPIB interface and
displays the results.
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.
For more troubleshooting information, refer to the Troubleshooting
EDVR Error Conditions section in Appendix D, Windows 98/95:
Troubleshooting and Common Questions.
ECIC (1)
ECIC is returned when one of the following board 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
.