Technical data

Creating and Downloading User-Data Files 5
Agilent N8211A/N8212A Performance Upconverter Synthetic Instrument Module, 250 kHz to 20 / 40 GHz 137
// if no errors proceed.
{
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;
}
}
}