Agilent Technologies N5183A MXG User Manual
Programming guide
Programming Guide
(With Remote Operation and File Downloads)
Agilent Technologies
Signal Generators
This guide applies to the following signal generator models:
Due to our continuing efforts to improve our products through firmware and hardware revisions, signal generator design
and operation may vary from descriptions in this guide. We recommend that you use the latest revision of this guide to
ensure you have up-to-date product information. Compare the print date of this guide (see bottom of page) with the latest
revision, which can be downloaded from the following websites:
N5181A/82A MXG RF Signal Generators
N5183A MXG Microwave Analog Signal Generator
E4428C/38C ESG RF Signal Generators
E8663B RF Analog Signal Generator
E8257D/67D PSG Microwave Signal Generators
http://www.agilent.com/find/mxg
http://www.agilent.com/find/esg
http://www.agilent.com/find/psg
http://www.agilent.com/find/e8663b
Manufacturing Part Number: E8251- 90355
Printed in USA
February 2008
© Copyright 2006- 2008 Agilent Technologies, Inc.
Document Outline
- Title Page
- Table of Contents
- Documentation Overview
- 1 Getting Started with Remote Operation
- 2 Using IO Interfaces
- 3 Programming Examples
- Using the Programming Interface Examples
- Using GPIB
- GPIB Programming Interface Examples
- Before Using the GPIB Examples
- GPIB Function Statements (Command Messages)
- Interface Check using HP Basic and GPIB
- Interface Check Using NI-488.2 and C++
- Interface Check for GPIB Using VISA and C
- Local Lockout Using HP Basic and GPIB
- Local Lockout Using NI-488.2 and C++
- Queries Using HP Basic and GPIB
- Queries Using NI-488.2 and Visual C++
- Queries for GPIB Using VISA and C
- Generating a CW Signal Using VISA and C
- Generating an Externally Applied AC-Coupled FM Signal Using VISA and C
- Generating an Internal FM Signal Using VISA and C
- Generating a Step-Swept Signal Using VISA and C++
- Generating a Swept Signal Using VISA and Visual C++
- Saving and Recalling States Using VISA and C
- Reading the Data Questionable Status Register Using VISA and C
- Reading the Service Request Interrupt (SRQ) Using VISA and C
- Using 8757D Pass-Thru Commands (PSG with Option 007 Only)
- LAN Programming Interface Examples
- RS-232 Programming Interface Examples (ESG/PSG/E8663B Only)
- 4 Programming the Status Register System
- Overview
- Status Register Bit Values
- Accessing Status Register Information
- Status Byte Group
- Status Groups
- Standard Event Status Group
- Standard Operation Status Group
- Baseband Operation Status Group
- Data Questionable Status Group
- Data Questionable Power Status Group
- Data Questionable Frequency Status Group
- Data Questionable Modulation Status Group
- Data Questionable Calibration Status Group
- Data Questionable BERT Status Group
- 5 Creating and Downloading Waveform Files
- Overview of Downloading and Extracting Waveform Files
- Understanding Waveform Data
- Waveform Structure
- Waveform Phase Continuity
- Waveform Memory
- Commands for Downloading and Extracting Waveform Data
- Creating Waveform Data
- Downloading Waveform Data
- Loading, Playing, and Verifying a Downloaded Waveform
- Using the Download Utilities
- Downloading E443xB Signal Generator Files
- Programming Examples
- Troubleshooting Waveform Files
- 6 Creating and Downloading User-Data Files
- Overview
- Signal Generator Memory
- User File Data (Bit/Binary) Downloads (E4438C and E8267D)
- User File Bit Order (LSB and MSB)
- Bit File Type Data
- Binary File Type Data
- User File Size
- Determining Memory Usage for Custom and TDMA User File Data
- Downloading User Files
- Command for Bit File Downloads
- Commands for Binary File Downloads
- Selecting a Downloaded User File as the Data Source
- Modulating and Activating the Carrier
- Modifying User File Data
- Understanding Framed Transmission For Real-Time TDMA
- Real-Time Custom High Data Rates
- Pattern RAM (PRAM) Data Downloads (E4438C and E8267D)
- Understanding PRAM Files
- PRAM File Size
- SCPI Command for a List Format Download
- SCPI Command for a Block Data Download
- Selecting a Downloaded PRAM File as the Data Source
- Modulating and Activating the Carrier
- Storing a PRAM File to Non-Volatile Memory and Restoring to Volatile Memory
- Extracting a PRAM File
- Modifying PRAM Files
- FIR Filter Coefficient Downloads (N5182A, E4438C and E8267D)
- Save and Recall Instrument State Files
- User Flatness Correction Downloads Using C++ and VISA
- Data Transfer Troubleshooting (N5182A, E4438C and E8267D Only)
- Index