Service manual
/*---------------Measure Protection Resistors ---------------* /
printf ("\ n\ nMeasure Protection Resistors R38 - R43");
printf ("\ n\ n 1. Turn mainframe power OFF.");
printf ("\ n 2. Remove E1346A component assembly from mainframe.");
printf ("\ n 3. Press ENTER when ready to measure protection resistors.");
getchar ();
printf ("\n\n");
for (i = 0; i <= 5; i++)
{
printf ("\ nConnect DMM leads (4-wire) to resistor R%u", i+ 38);
printf ("\ nPress ENTER when ready to measure resistance");
getchar ();
iprintf (dm, "TRIG SGL\ n");
iscanf (dm, "%If’, &R[i]);
iscanf (dm, "%t", cr);
printf ("\ nResistance of R%u = %If’, i+ 38, R[ i] );
}
printf ("\ n\ n\ nlnstall Component Assembly and Test Fixture");
printf ("\ n\ n 1. Turn Mainframe AND Agilent 3458a DMM power OFF.");
printf ("\ n 2. Connect GPIB Cable between mainframe and DMM.");
printf ("\ n 3. Install E1364A 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 Channels 00-47 and 90-92 (HI, Lo, and G)............*/
id = iopen(ADDR);
iprintf (id, "*RST\ n");
iprintf (dm, "PRESET NORM;TRIG HOLD\ n");
iprintf (dm, "END ALWAYS\ n");
iprintf (dm, "FUNC OHMF\ n");
j = 100;
printf ("\ n\ nChannel 00-47 and 90-92 HI measurements");
printf ("\ n\ n 1. Connect DMM Sense and Input HI leads to COMMON HI.");
printf ("\ n 2. Connect DMM Sense and Input LO leads to VOLTAGE SENSE HI.");
printf ("\ n 3. Press ENTER when connections are complete.");
getchar 0;
for (i = 0;i <= 47; i++)
{
iprintf (id, "CLOS (@%u)\ n", j+ i);
iprintf (dm, "TRIG SGL\ n");
iscanf (dm, "%If", &value[i]);
iscanf (dm, "%t", cr);
iprintf (id, "OPEN (@%u)\ n", j+ i);
result[i] = value[i] - R[5];
Appendix A Example C Programs A-3