Appendix B
Error Codes and Solutions
© National Instruments Corp.
B-7
NI-488.2M SRM for OS/2
EOIP (10)
EOIP occurs when an asynchronous I/O operation has not finished before
some other call is made. During asynchronous I/O, you can use only
ibstop
,
ibwait
, and
ibonl
. If any other call is attempted, EOIP is
returned.
With the asynchronous I/O calls (
ibcmda
,
ibrda
,
ibwrta
), your
application can perform additional non-GPIB operations while the I/O is in
progress. Once the asynchronous I/O has begun, further GPIB calls other
than
ibstop
,
ibwait
, or
ibonl
are strictly limited. If a call interferes
with the I/O operation in progress, it causes the driver to return EOIP.
Solutions
1.
Resynchronize the driver and the application before making any
further GPIB calls. Resynchronization is accomplished by using one
of the following three functions:
•
ibwait
If the returned
ibsta
contains CMPL, the driver and
application are resynchronized.
•
ibstop
The I/O is canceled; the driver and application are
resynchronized.
•
ibonl
The I/O is canceled and the interface is reset; the driver
and application are resynchronized.
ECAP (11)
ECAP results when your GPIB board lacks the ability to carry out an
operation or when a particular capability has been disabled in the software
and a call is made that requires the capability.
Solutions
1.
Check the validity of the call, or make sure your GPIB interface board
and the driver both have the needed capability.