Ecap (11), Efso (12), Solutions – National Instruments NI-488.2 User Manual

Page 111

Advertising
background image

Appendix C

Error Codes and Solutions

© National Instruments Corporation

C-7

NI-488.2 User Manual

Solutions

Resynchronize the driver and the application before making any further
NI-488.2 calls. Resynchronization is accomplished by using one of the
following functions:

ECAP (11)

ECAP results when your GPIB interface 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 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.

Solutions

Possible solutions for this error are as follows:

Make sure the filename, path, and drive that you specified are correct.

ibnotify callback

If the

Ibsta

value passed to the

ibnotify

callback contains CMPL, the driver and
application are resynchronized.

ibnotify

If the returned

Ibsta

contains CMPL, the

driver and application are resynchronized.

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.

Advertising