Appendix B
Common Errors and Their Solutions
©National Instruments Corp.
B-9
GPIB-PC User Manual
Error Condition:
IBIC
reports an error on
IBFIND
or
IBFIND
returns
a negative unit descriptor.
Solutions:
•
Check the solutions listed for EDVR, ENEB, or EARG error
codes.
•
Run
IBCONF
from the root directory to check that the device or
board name is correct.
Error Condition: The GPIB device being programmed appears to
accept the instruction but does not behave properly.
Solutions:
•
Check that the instruction sent with the write function contains
the proper delimiters and message termination characters. For
example, some devices require a carriage return and/or a
linefeed character before they will execute the instruction.
Other devices require special characters to separate multiple
instruction messages. Your instruction manual may be
incomplete or ambiguous, so try several possible combinations.
•
When running a program check for errors after each GPIB-PC
function call . If an early call failed but you did not check
IBSTA
, later functions will behave improperly and give
misleading status data.
•
Check that the board you are using and the GPIB device you
are programming are not at the same GPIB address. If using
device functions, run
IBCONF
to do this.