Agilent Technologies FS2010 Manuel de service Page 369

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 396
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 368
Agilent Signal Generators Programming Guide 361
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
Vue de la page 368
1 2 ... 364 365 366 367 368 369 370 371 372 373 374 ... 395 396

Commentaires sur ces manuels

Pas de commentaire