Agilent Technologies 53150A Instrukcja Obsługi Strona 95

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 174
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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();
Przeglądanie stron 94
1 2 ... 90 91 92 93 94 95 96 97 98 99 100 ... 173 174

Komentarze do niniejszej Instrukcji

Brak uwag