National Instruments NI-488.2 User Manual
Page 65

Chapter 7
Interactive Control Utility
7-2
ni.com
To start the Interactive Control utility, complete the following steps:
(Windows)
1.
Select Start»Programs»National Instruments»Measurement &
Automation to start Measurement & Automation Explorer.
2.
Expand the Devices and Interfaces directory by clicking the + next to
the folder.
3.
Right-click on your GPIB interface and select Interactive Control
from the drop-down menu that appears.
(Mac OS X)
Double-click on Applications»National
Instruments»NI-488.2»Interactive Control.
(Linux)
Enter the following command:
where
is the directory where you chose to install the
NI-488.2 software. The default is
/usr/local
.
To use the Interactive Control utility to test a sequence of NI-488.2 calls,
complete the following steps:
1.
Open either an interface handle or device handle to use for further
NI-488.2 calls. Use
ibdev
to open a device handle,
ibfind
to
open an interface handle, or the
set 488.2
command to switch
to a 488.2 prompt.
The following example uses
ibdev
to open a device, assigns it to
access interface
gpib0
, chooses a primary address of 6 with no
secondary address, sets a timeout of 10 seconds (T10s = 13), enables
the END message, and disables the EOS mode:
:
ibdev
enter board index:
0
enter primary address:
6
enter secondary address:
0
enter timeout:
13
enter ‘EOI on last byte’ flag:
1
enter end-of-string mode/byte:
0
ud0: