Appendix B Error Codes and Solutions
© National Instruments Corp. B-7 NI-488.2 User Manual for Windows
Solutions
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 then 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
Check the validity of the call, or make sure your GPIB interface board and the driver both
have the needed capability.
EFSO (12)
EFSO results when an ibrdf or ibwrtf call encounters a problem performing a file
operation. Specifically, this error indicates that the function is unable to open, create,
seek, write, or close the file being accessed. The specific DOS error code for this
condition is contained in ibcntl.
Solutions
Make sure the filename, path, and drive that you specified are correct.
Make sure that the access mode of the file is correct.
Make sure there is enough room on the disk to hold the file.