Chapter 5
ibic-Interface Bus Interactive Control Utility
© National Instruments Corp.
5-9
NI-488.2M UM for Windows NT
Table 5-3. Syntax for NI-488.2 Routines in ibic (Continued)
Routine Syntax
Description
SendSetup addrlist
Send setup
SetRWLS addrlist
Put devices in remote with lockout state
TestSys addrlist
Cause multiple devices to perform self-tests
TestSRQ
Test for service request
Trigger address
Trigger a device
TriggerList addrlist
Trigger multiple devices
WaitSRQ
Wait for service request
Status Word
In
ibic
, all NI-488 functions (except
ibfind
and
ibdev
) and NI-488.2 routines
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. It shows that the device function write operation completed successfully:
ud0: ibwrt "f2t3x"
[0100] (cmpl)
count: 5
ud0:
For more information about the status word, refer to Chapter 3, Developing Your
Application .
Error Information
If an NI-488 function or NI-488.2 routine completes with an error,
ibic
displays the
relevant error mnemonic. In the following example, an error condition EBUS has
occurred during a data transfer.
ud0: ibwrt "f2t3x"
[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
dev1
is powered off, or the GPIB cable is disconnected.