Agilent Technologies 53150A Manuel d'instructions Page 95

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 174
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 94
Chapter 3 Programming Your Counter for Remote Operation
Programming Examples
Programming Guide 3-59
3
Sendhp(":CONF:FREQ DEFAULT,DEFAULT,(@2)") /* Set to Band 2 */
Sendhp("INIT:IMM")
Sendhp("READ?")
IOENTERS(ctr,freq,&length);
length=strlen(freq);
freq[length-1]=’\0’ ;
printf ("Frequency in Band 2 = %s Hz\n",freq);
printf("Press a key to continue\n");
getch();
Sendhp(":CONF:POW") /* Set measurement function to Power */
Sendhp("INIT:IMM")
Sendhp("READ?")
IOENTERS(ctr,pow,&length);
length=strlen(pow);
freq[length-1]=’\0’ ;
printf ("Power = %s Hz\n",pow);
printf("Press a key to continue\n");
getch();
Vue de la page 94
1 2 ... 90 91 92 93 94 95 96 97 98 99 100 ... 173 174

Commentaires sur ces manuels

Pas de commentaire