Agilent Technologies Agilent E5810A Guide de l'utilisateur Page 99

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 192
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 98
99
Programming Your Instruments
Example Programs
strcpy(SCPIcmd, "FUNCtion:SHAPe USER\n"); /* Output the selected
arb waveform */
CHECK(viWrite(Instrument, SCPIcmd, (ViUInt32)strlen(SCPIcmd),
&actual));
strcpy(SCPIcmd, "OUTPut:LOAD 50\n"); /* Output termination is 50 Ohms
*/
CHECK(viWrite(Instrument, SCPIcmd, (ViUInt32)strlen(SCPIcmd),
&actual));
strcpy(SCPIcmd, "FREQuency 5000;VOLTage 5\n"); /* Output frequency
is 5 kHz @ 5 Vpp */
CHECK(viWrite(Instrument, SCPIcmd, (ViUInt32)strlen(SCPIcmd),
&actual));
strcpy(SCPIcmd, "OUTPut ON\n"); /* Enable output */
CHECK(viWrite(Instrument, SCPIcmd, (ViUInt32)strlen(SCPIcmd),
&actual));
CHECK(viClose(Instrument));
CHECK(viClose(viDefaultRM));
}
Vue de la page 98
1 2 ... 94 95 96 97 98 99 100 101 102 103 104 ... 191 192

Commentaires sur ces manuels

Pas de commentaire