Download Programming Guide, E4428C/38C ESG Signal Generators

Transcript
Getting Started
Using GPIB
4. Verifying GPIB Functionality
Use the VISA Assistant, available with the Agilent IO Library or the Getting Started Wizard available with
the National Instrument I/O Library, to verify GPIB functionality. These utility programs allow you to
communicate with the signal generator and verify its operation over the GPIB. Refer to the Help menu
available in each utility for information and instructions on running these programs.
If You Have Problems
1. Verify the signal generator’s address matches that declared in the program (example programs in
Chapter 2 use address 19).
2. Remove all other instruments connected to the GPIB and re-run the program.
3. Verify that the GPIB card’s name or id number matches the GPIB name or id number configured for
your PC.
GPIB Interface Terms
An instrument that is part of a GPIB network is categorized as a listener, talker, or controller, depending on
its current function in the network.
listener
A listener is a device capable of receiving data or commands from other instruments.
Several instruments in the GPIB network can be listeners simultaneously.
talker
A talker is a device capable of transmitting data. To avoid confusion, a GPIB system
allows only one device at a time to be an active talker.
controller
A controller, typically a computer, can specify the talker and listeners (including itself)
for an information transfer. Only one device at a time can be an active controller.
GPIB Function Statements
Function statements are the basis for GPIB programming and instrument control. These function statements
combined with SCPI provide management and data communication for the GPIB interface and the signal
generator.
This section describes functions used by different I/O libraries. Refer to the NI-488.2 Function Reference
Manual for Windows, Agilent Standard Instrument Control Library reference manual, and Microsoft®
Visual C++ 6.0 documentation for more information.
Microsoft is a registered trademark of Microsoft Corporation.
10
Chapter 1