National Instruments NI-488.2 Switch User Manual


 
Chapter 6 Interactive Control Utility
NI-488.2 User Manual for Windows 6-10 www.natinst.com
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 Chapter 3, Developing Your
NI-488.2 Application.
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:
+
Turn ON display.
n * function
Execute function
n
times where
function
represents the correct Interactive
Control function syntax.
n * !
Execute previous function
n
times.
$ filename
Execute indirect file where
filename
is the pathname of a file that contains
Interactive Control functions to be executed.
buffer option
Set type of display used for buffers. Valid options are
full
,
brief
,
ascii
,
and
off
. Default is
full
.
q
Exit or quit.
Table 6-4.
Auxiliary Functions in Interactive Control (Continued)
Function Description