Error Codes and Solutions
Appendix B
NI-488.2M SRM for OS/2
B-4
© National Instruments Corp.
Solutions
1.
Make sure that the GPIB address of your device matches the GPIB
address of the device you want to write data to.
2.
If you are using board-level functions, make sure that your device is
properly addressed to listen before writing to it by using
ibcmd
or
sendsetup
.
3.
Use the appropriate hex code in
ibcmd
to address your device.
4.
Check your cable connections and make sure at least two-thirds of your
devices are powered on.
5.
Call
ibpad
(or
ibsad
, if necessary) to match the configured address
to the device switch settings.
6.
Reduce the write byte count to that which is expected by the Controller.
EADR (3)
EADR occurs when the GPIB board is CIC and is not properly addressing
itself before read and write functions. This error is usually associated with
board-level functions.
EADR is also returned by the function
ibgts
when the shadow-handshake
feature is requested and the GPIB ATN line is already unasserted. In this
case, the shadow handshake is not possible and the error is returned to notify
you of that fact.
Solutions
1.
Make sure that the GPIB board is addressed correctly before calling
ibrd
or
ibwrt
.
2
Avoid calling
ibgts
except immediately after an
ibcmd
call (
ibcmd
causes ATN to be asserted).