Agilent Technologies E8663B Portable Generator User Manual


 
62 Agilent N518xA, E8663B, E44x8C, and E82x7D Signal Generators Programming Guide
Programming Examples
Using GPIB
Using GPIB
GPIB enables instruments to be connected together and controlled by a computer. GPIB and its
associated interface operations are defined in the ANSI/IEEE Standard 488.1-1987 and ANSI/IEEE
Standard 488.2-1992. See the IEEE website, http://www.ieee.org, for details on these standards.
The following sections contain information for installing a GPIB interface card or NI-GPIB interface
card for your PC or UNIX-based system.
“Installing the GPIB Interface Card” on page 62
For more information on setting up a GPIB interface card or NI-GPIB interface card, refer to:
“Set Up the GPIB Interface” on page 24
“Verify GPIB Functionality” on page 25
NOTE You can also connect GPIB instruments to a PC USB port using the Agilent 82357A
USB/GPIB Interface Converter, which eliminates the need for a GPIB card. For more
information, go to http://www.agilent.com/find/gpib.
Installing the GPIB Interface Card
Refer to “Installing the GPIB Interface” on page 22.
GPIB Programming Interface Examples
“Interface Check using HP Basic and GPIB” on page 66
“Interface Check Using NI-488.2 and C++” on page 67
“Interface Check for GPIB Using VISA and C” on page 68
“Local Lockout Using HP Basic and GPIB” on page 69
“Local Lockout Using NI-488.2 and C++” on page 71
“Queries Using HP Basic and GPIB” on page 72
“Queries Using NI-488.2 and Visual C++” on page 73
“Queries for GPIB Using VISA and C” on page 75
“Generating a CW Signal Using VISA and C” on page 77
“Generating an Externally Applied AC-Coupled FM Signal Using VISA and C” on page 79
“Generating an Internal FM Signal Using VISA and C” on page 81
“Generating a Step-Swept Signal Using VISA and C++” on page 83
“Generating a Swept Signal Using VISA and Visual C++” on page 84
“Saving and Recalling States Using VISA and C” on page 88
“Reading the Data Questionable Status Register Using VISA and C” on page 90
“Reading the Service Request Interrupt (SRQ) Using VISA and C” on page 94
“Using 8757D Pass-Thru Commands (PSG with Option 007 Only)” on page 98
Before Using the GPIB Examples
HP Basic addresses the signal generator at 719. The GPIB card is addressed at 7 and the signal
generator at 19. The GPIB address designator for other libraries is typically GPIB0 or GPIB1.