National Instruments NI-488.2 Refrigerator User Manual


 
Chapter 7 Interactive Control Utility
© National Instruments Corporation 7-11 NI-488.2 User Manual
Status Word
In the Interactive Control utility, all NI-488.2 calls (except ibfind and
ibdev) return the status word ibsta in two forms: a hex value in square
brackets and a list of mnemonics in parentheses. In the following example,
the status word is on the second line, showing that the write operation
completed successfully:
ud0: ibwrt "*IDN?"
[0100] (cmpl)
count: 5
ud0:
For more information about ibsta, refer to Appendix B, Status Word
Conditions.
Error Information
If an NI-488.2 call completes with an error, the Interactive Control utility
displays the relevant error mnemonic. In the following example, an error
condition EBUS has occurred during a data transfer:
ud0: ibwrt "*IDN?"
[8100] (err cmpl)
error: EBUS
count: 1
ud0:
In this example, the addressing command bytes could not be transmitted to
the device. This indicates that either the GPIB device is powered off or the
GPIB cable is disconnected.
For a detailed list of the error codes and possible solutions, refer to
Appendix C, Error Codes and Solutions.