Chapter 3
Developing Your NI-488.2 Application
NI-488.2 User Manual for Windows
3-2
www.natinst.com
The NI-488.2 Communicator dialog box appears, as shown in
Figure 3-1.
Figure 3-1.
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.
•
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.
Interactive Instrument Control
Before you write your NI-488.2 application, you might want to use the
Interactive Control utility to communicate with your instruments
interactively by typing individual commands rather than issuing them from
an application. You can also use the Interactive Control utility to learn to
communicate with your instruments using the NI-488.2 API. For specific
device communication instructions, refer to the documentation that came
with your instrument. For information about using the Interactive Control
utility and detailed examples, refer to Chapter 6,