Agilent Technologies FS2010 Manuel de service Page 120

  • 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 119
112 Agilent Signal Generators Programming Guide
Programming Examples
GPIB Programming Interface Examples
viStatus = viClose(defaultRM);
return 0;
}
// The following function is called when an SRQ event occurs. Code specific to your
// requirements would be entered in the body of the function.
ViStatus _VI_FUNCH interupt(ViSession vi, ViEventType eventType, ViEvent event, ViAddr
addr)
{
ViStatus status;
ViUInt16 stb;
status = viReadSTB(vi, &stb);// Reads the Status Byte
sweep=0;// Sets the flag to stop the ’*’ printing
printf("\n");// Print user information
printf("An SRQ, indicating end of sweep has occurred\n");
viClose(event);// Closes the event
return VI_SUCCESS;
}
Vue de la page 119
1 2 ... 115 116 117 118 119 120 121 122 123 124 125 ... 395 396

Commentaires sur ces manuels

Pas de commentaire