EasyManua.ls Logo

Agilent Technologies E8267D User Manual

Agilent Technologies E8267D
366 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #340 background imageLoading...
Page #340 background image
330 Agilent N518xA, E8663B, E44x8C, and E82x7D Signal Generators Programming Guide
Creating and Downloading User-Data Files
Save and Recall Instrument State Files
the local directory (identified by a ".STA" file name extension)
to the signal generator.*/
static public void RestoreInstrumentState(uint device)
{
DirectoryInfo di = new DirectoryInfo(".");// Instantiate object class
FileInfo[] rgFiles = di.GetFiles("*.STA"); // Get the state files
foreach(FileInfo fi in rgFiles)
{
Match m = Regex.Match(fi.Name, @"^(\d)_(\d\d)");
if (m.Success)
{
string sequence = m.Groups[1].ToString();
string register = m.Groups[2].ToString();
Console.WriteLine("Restoring sequence #" + sequence +
", register #" + register);
/* Save the target instrument's current state to the specified sequence/
register pair. This ensures the index file has an entry for the specified
sequence/register pair. This workaround will not be necessary in future
revisions of firmware.*/
WriteDevice(device,"*SAV " + register + ", " + sequence + "\n",
true); // << on SAME line!
// Overwrite the newly created state file with the state
// file that is being restored.
WriteDevice(device, "MEM:DATA \"/USER/STATE/" + m.ToString() + "\",",
false); // << on SAME line!
WriteFileBlock(device, fi.Name);
WriteDevice(device, "\n", true);
}
}
}
/* This method reads out all the sequence/register state files from the signal
generator and stores them in your computer's local directory with a ".STA"
extension */
static public void BackupInstrumentState(uint device)
{
// Get the memory catalog for the state directory
WriteDevice(device, "MEM:CAT:STAT?\n", false);

Table of Contents

Questions and Answers:

Agilent Technologies E8267D Specifications

General IconGeneral
BrandAgilent Technologies
ModelE8267D
CategoryInverter
LanguageEnglish

Summary

1 Getting Started with Remote Operation

Programming and Software/Hardware Layers

Describes the layers supporting remote operation for signal generators.

Interfaces

Details the communication interfaces (GPIB, LAN, RS-232, USB) supported by signal generators.

IO Libraries and Programming Languages

Explains the role of IO libraries and common programming languages for instrument control.

2 Using IO Interfaces

Using GPIB

Details the GPIB interface, its setup, and verification for instrument communication.

Using LAN

Explains LAN communication protocols (VXI-11, Sockets, Telnet, FTP) for signal generator control.

3 Programming Examples

GPIB Programming Interface Examples

Provides examples for instrument control and verification using GPIB.

LAN Programming Interface Examples

Offers examples for controlling the signal generator via LAN interfaces.

4 Programming the Status Register System

Status Register Bit Values

Explains how bits represent decimal values within registers and how to enable/query them.

Accessing Status Register Information

Details methods for monitoring signal generator status, conditions, and events.

5 Creating and Downloading Waveform Files

Overview of Downloading and Extracting Waveform Files

Explains the process of creating, downloading, and extracting waveform files.

Understanding Waveform Data

Details the structure and format of waveform data, including bits, bytes, and endian order.

Creating Waveform Data

Commands for Downloading and Extracting Waveform Data

Loading, Playing, and Verifying a Downloaded Waveform

C++ Programming Examples

MATLAB Programming Examples

Visual Basic Programming Examples

Troubleshooting Waveform Files

6 Creating and Downloading User-Data Files

User File Data (Bit/Binary) Downloads (E4438C and E8267D)

Details user file data types, download requirements, and troubleshooting for E4438C/E8267D.

Pattern RAM (PRAM) Data Downloads (E4438C and E8267D)

Explains PRAM data download processes, control bits, and modulation formats for E4438C/E8267D.

FIR Filter Coefficient Downloads (N5182A, E4438C and E8267D)

Covers FIR filter coefficient download requirements, limitations, and selection for modulation.

Save and Recall Instrument State Files

Guides on saving and recalling instrument states and associated settings using SCPI commands.

User Flatness Correction Downloads Using C++ and VISA

Demonstrates downloading user flatness correction data using C++ and VISA.

Data Transfer Troubleshooting (N5182A, E4438C and E8267D Only)

Provides troubleshooting steps for data transfer issues on specific models.

Signal Generator Memory

User File Data (Bit/Binary) Downloads (E4438C and E8267D)

User File Download Problems

Provides troubleshooting for user file download issues, covering data requirements and symptoms.

PRAM Download Problems

Addresses troubleshooting for PRAM download issues, including pattern reset and memory capacity.

User FIR Filter Coefficient File Download Problems

Offers troubleshooting for FIR filter coefficient file download problems, covering memory and symbol limits.

Selecting a Downloaded User File as the Data Source

Modulating and Activating the Carrier

Pattern RAM (PRAM) Data Downloads (E4438C and E8267D)

FIR Filter Coefficient Downloads (N5182A, E4438C and E8267D)

Downloading FIR Filter Coefficient Data

Selecting a Downloaded User FIR Filter as the Active Filter

Save and Recall Instrument State Files

Save and Recall SCPI Commands

Details SCPI commands (*SAV, *RCL) for saving and recalling instrument states.

Save and Recall Programming Example Using VISA and C#

Provides a C# programming example for saving and restoring instrument states.

User Flatness Correction Downloads Using C++ and VISA

Related product manuals