Error Codes and Solutions Appendix B
NI-488.2 User Manual for Windows B-4 © National Instruments Corp.
Solutions
• Make sure that the GPIB board is addressed correctly before calling ibrd, ibwrt ,
RcvRespMsg, or SendDataBytes.
• Avoid calling ibgts except immediately after an ibcmd call. ibcmd causes ATN
to be asserted.
EARG (4)
EARG results when an invalid argument is passed to a function call. The following are
some examples:
• ibtmo called with a value not in the range 0 through 17
• ibpad or ibsad called with invalid addresses
• ibppc called with invalid parallel poll configurations
• A board-level NI-488 call made with a valid device descriptor, or a device-level
NI-488 call made with a board descriptor.
• An NI-488.2 routine called with an invalid address.
• PPollConfig called with an invalid data line or sense bit.
Solutions
• Make sure that the parameters passed to the NI-488 function or NI-488.2 routine are
valid.
• Do not use a device descriptor in a board function or vice-versa.
ESAC (5)
ESAC results when ibsic , ibsre, SendIFC , or EnableRemote is called when the
GPIB board does not have System Controller capability.
Solutions
Give the GPIB board System Controller capability by calling ibrsc 1 or by using
wibconf to configure that capability into the software.