Agilent Technologies E1326B Instrukcja Użytkownika Strona 61

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 291
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 60
if (rdgs[j] -.5 || rdgs[j] = .5)
printf("\n%f", rdgs[j]);
}
}
}
T2 = time(NULL); /* get stop time */
/* calculate time for measurements */
printf("\nTime = %f seconds", (difftime(T2,T1)/4));
free(rdgs);
}
/******************************************************************/
void rst_clr(void)
{
/* Reset and clear the scanning multimeter */
IOOUTPUTS(ADDR, "*RST;*CLS", 9); /* Send (9) characters */
}
/******************************************************************/
void check_error(char *func_tion)
{
char into[161];
int length = 160;
IOOUTPUTS(ADDR, "SYST:ERR?", 9); /* Query error register */
IOENTERS(ADDR, into, &length); /* Enter error message */
if (atoi(into) != 0) /* Determine if error is present
If errors present, print and exit */
{
while (atoi(into) != 0)
{
printf("Error %s in function %s\n\n", into, func_tion);
IOOUTPUTS(ADDR, "SYST:ERR?", 9);
IOENTERS(ADDR, into, &length);
}
exit(1);
}
}
62 Using the HP E1326B/E1411B Multimeter Chapter 3
Przeglądanie stron 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 290 291

Komentarze do niniejszej Instrukcji

Brak uwag