Agilent Technologies 53150A Manuál s instrukcemi Strana 95

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 174
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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();
Zobrazit stránku 94
1 2 ... 90 91 92 93 94 95 96 97 98 99 100 ... 173 174

Komentáře k této Příručce

Žádné komentáře