National Instruments NI-488.2 ユーザーズマニュアル
Chapter 2
Measurement & Automation Explorer
© National Instruments Corporation
2-7
3.
Expand the Devices and Interfaces directory by clicking on the + next
to the folder.
to the folder.
4.
Select your GPIB interface.
Measurement & Automation Explorer displays the connected
instruments in the right window pane.
instruments in the right window pane.
5.
Right-click on your GPIB instrument and select Communicate with
Instrument from the drop-down menu that appears.
Instrument from the drop-down menu that appears.
The NI-488.2 Communicator dialog box appears, as shown in
Figure 2-4.
Figure 2-4.
Figure 2-4. NI-488.2 Communicator
6.
Type a command in the Send String field and do one of the following:
•
To write a command to the instrument then read a response back,
click on the Query button.
click on the Query button.
•
To write a command to the instrument, click on the Write button.
•
To read a response from the instrument, click on the Read button.
To view sample C/C++ code that performs a simple query of a GPIB
instrument, click on the Show Sample button.
instrument, click on the Show Sample button.
Advanced Communication
For advanced interactive communication with GPIB instruments, use the
Interactive Control utility, as follows:
Interactive Control utility, as follows:
1.
Select Start»Programs»National Instruments NI-488.2»Explore
GPIB to start Measurement & Automation Explorer.
GPIB to start Measurement & Automation Explorer.
2.
Expand the Devices and Interfaces directory by clicking on the + next
to the folder.
to the folder.