EasyManuals Logo

Agilent Technologies N5182A Programming Guide

Agilent Technologies N5182A
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 #339 background imageLoading...
Page #339 background image
Agilent N518xA, E8663B, E44x8C, and E82x7D Signal Generators Programming Guide 329
Creating and Downloading User-Data Files
Save and Recall Instrument State Files
bool quit = false;
while (!quit)// Get user input
{
Console.Write("1) Backup state files\n" +
"2) Restore state files\n" +
"3) Quit\nEnter 1,2,or 3. Your choice: ");
string choice = Console.ReadLine();
switch (choice)
{
case "1":
{
BackupInstrumentState(device); // Write instrument state
break; // files to the computer
}
case "2":
{
RestoreInstrumentState(device); // Read instrument state
break;// files to the sig gen
}
case "3":
{
quit = true;
break;
}
default:
{
break;
}
}
}
VisaInterop.Close(device);// Close the device
}
else
{
Console.WriteLine("Unable to open " + visaOpenString);
}
VisaInterop.Close(defaultRM); // Close the default resource manager
}
else
{
Console.WriteLine("Unable to open the VISA resource manager");
}
}
/* This method restores all the sequence/register state files located in

Table of Contents

Other manuals for Agilent Technologies N5182A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies N5182A and is the answer not in the manual?

Agilent Technologies N5182A Specifications

General IconGeneral
BrandAgilent Technologies
ModelN5182A
CategoryPortable Generator
LanguageEnglish

Related product manuals