Appendix B
Error Codes and Solutions
© National Instruments Corp.
B-5
NI-488.2M SRM for OS/2
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.
•
ibeos
called with meaningless bits set in the high byte of the second
parameter.
•
ibpad
or
ibsad
called with invalid addresses.
•
ibppc
called with invalid parallel poll configurations.
•
A board-level function made with a valid device descriptor, or a
device-level function 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.
•
Termination
parameter in
RcvRespMsg
and
Receive
is neither
STOPend
or an 8-bit EOS character.
•
eotmode
parameter in
Send
,
SendDataBytes
, and
SendList
is
not
DABend
,
NULLend
, or
NLend
.
•
In
Send
,
SendDataBytes
, or
SendList
routine,
eotmode
is
DABend
and
datacnt
is 0.
Solutions
1.
Make sure that the parameters passed to the NI-488 function or NI-488.2
routine are valid.
2.
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.