Error Codes and Solutions
Appendix B
NI-488.2M SRM for OS/2
B-2
© National Instruments Corp.
EDVR (0)
EDVR is returned when the device or board name passed in an
ibfind
call
is not configured in the software. In this case, the variable
ibcntl
contains the OS/2 error code 2, Device not found, or error code 110, Open
failed.
EDVR is also returned when an invalid unit descriptor is passed to any
function call. In this case, the variable
ibcntl
contains the OS/2 error
code 6, Invalid handle.
EDVR is also returned when the driver (
gpib.sys
) is not installed.
Solutions
1.
Use only device or board names that are configured in the software
utility
ibconf
as parameters in the
ibfind
function.
2.
Use the unit descriptor returned from the
ibfind
function as the first
parameter in subsequent NI-488 functions. Examine the variable after
the
ibfind
and before the failing function to make sure it was not
corrupted.
3.
Make sure the NI-488.2M driver is installed by checking the
gpibinst.inf
file in the root directory.
4.
Check the
config.sys
file in the root directory and make sure it
contains the following line:
DEVICE=
dir\gpib.sys
where dir is the directory that contains the file
gpib.sys
.