National Instruments NI-488.2 NI-488.2 User Manual page 98

National instruments network hardware - networking hardware user manual
Hide thumbs Also See for NI-488.2 NI-488.2:
Table of Contents

Advertisement

Appendix B
Status Word Conditions
ERR (dev, brd)
TIMO (dev, brd)
END (dev, brd)
NI-488.2 User Manual
ERR is set in the status word following any call that results in an error.
You can determine the particular error by examining the error variable
. Appendix C,
Error Codes and
iberr
that are recorded in
iberr
following any call that does not result in an error.
TIMO indicates that the timeout period has expired. TIMO is set in the
status word following any synchronous I/O functions (for example,
,
,
ibrd
ibwrt
Receive
expires before the I/O operation has completed. TIMO is also set in the
status word following an
in the
parameter and the timeout period expires before any other
mask
specified
bit condition occurs. TIMO is cleared in all other
mask
circumstances.
END indicates either that the GPIB EOI line has been asserted or that
the EOS byte has been received, if the software is configured to terminate
a read on an EOS byte. If the GPIB interface is performing a shadow
handshake as a result of the
a status word with the END bit set if the END condition occurs before or
during that call. END is cleared when any I/O operation is initiated.
Some applications might need to know the exact I/O read termination mode
of a read operation—EOI by itself, the EOS character by itself, or EOI
plus the EOS character. You can use the
IbcEndBitIsNormal
when EOI is asserted. In this mode, if the I/O operation completes because
of the EOS character by itself, END is not set. The application should check
the last byte of the received buffer to see if it is the EOS character.
Solutions, describes error codes
along with possible solutions. ERR is cleared
,
, and
Send
SendCmds
or
ibwait
ibnotify
function, any other function can return
ibgts
ibconfig
) to enable a mode in which the END bit is set only
B-2
ibcmd
) if the timeout period
call if the TIMO bit is set
function (option
,
ni.com

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents