Agilent Technologies E1356A Manuale di Servizio Pagina 64

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 68
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 63
Example: Leakage
Current Test
This example performs a leakage test from HI to LO, HI to Chassis, and LO
to Chassis. If the leakage is too high (caused by a failure of the input
impedance), the test prints a message indicating which leakage path has
failed and halts.
/* Leakage Current Test E1351A */
#include <stdio.h>
#include <sicl.h>
#define ADDR "hpib7,9,14" /* Address of device */
#define DMM "hpib7,22"
void main (void)
{
INST id, dm; /* Define id and dm as an instrument */
int i;
double result[6][4], value;
char cr[256];
char *path;
#if defined(__BORLANDC__) && !defined(__WIN32__)
_InitEasyWin();
#endif
ionerror(I_ERROR_EXIT);
dm = iopen (DMM);
id = iopen(ADDR);
itimeout (dm, 10000);
itimeout (id, 10000);
printf ("\n\n\nInstall Component Assembly and Test Fixture");
printf ("\n\n 1. Turn Mainframe AND 3458a DMM power OFF.");
printf ("\n 2. Connect GPIB Cable between mainframe and DMM.");
printf ("\n 3. Install Agilent E1351A Component Assembly into Mainframe.");
printf ("\n 4. Attach Test Fixture to Component Assembly.");
printf ("\n 5. Turn Mainframe and DMM power ON");
printf ("\n 6. Press ENTER when ready to begin testing.");
getchar ();
/*...........................Measure Leakage........................................*/
iprintf (dm, "PRESET NORM;TRIG HOLD\n");
iprintf (dm, "END ALWAYS\n");
iprintf (dm, "FUNC DCV\n");
for (i = 0;i <= 5; i++)
{
iprintf (id, "*RST\n");
printf ("\n\n1. Connect 100 kOhm resistor from DMM Input HI to DMM Input LO");
A-6 Example C Programs
Vedere la pagina 63
1 2 ... 59 60 61 62 63 64 65 66 67 68

Commenti su questo manuale

Nessun commento