Service manual

getchar ();
iprintf (id, "CLOS (@%u)\n", j);
iprintf (dm, "TRIG SGL\n");
iscanf (dm, "%lf", &value1[0][3]);
iscanf (dm, "%t", cr);
result1[0][3] = value1[0][3] - R[38] - R[43];
iprintf (id, "open (@%u)\n", j);
if (result1[0][3] < 0) result1[0][3] = 0;
if (result1[0][3] > 2.0) printf ("\n*** Resistance for Channel 93 HI Relay is 2.0
Ohms");
printf ("\n\n 1. Connect DMM Sense and Input HI leads to VOLTAGE SENSE
LO.");
printf ("\n 2. Connect DMM Sense and Input LO leads to CURRENT SOURCE
LO.");
printf ("\n 3. Press ENTER when connections are complete.");
getchar ();
iprintf (id, "CLOS (@%u)\n", j);
iprintf (dm, "TRIG SGL\n");
iscanf (dm, "%lf", &value1[1][3]);
iscanf (dm, "%t", cr);
result1[1][3] = value1[1][3] - R[39] - R[42];
iprintf (id, "open (@%u)\n", j);
if (result1[1][3] < 0) result1[1][3] = 0;
if (result1[1][3] > 2.0) printf ("\n*** Resistance for Channel 93 LO Relay is 2.0
Ohms");
printf ("\n\n 1. Connect DMM Sense and Input HI leads to VOLTAGE SENSE
G.");
printf ("\n 2. Connect DMM Sense and Input LO leads to CURRENT SOURCE
G.");
printf ("\n 3. Press ENTER when connections are complete.");
getchar ();
iprintf (id, "CLOS (@%u)\n", j);
iprintf (dm, "TRIG SGL\n");
iscanf (dm, "%lf", &value1[2][3]);
iscanf (dm, "%t", cr);
result1[2][3] = value1[2][3] - R[40] - R[41];
iprintf (id, "open (@%u)\n", j);
if (result1[2][3] < 0) result1[2][3] = 0;
if (result1[2][3] > 2.0) printf ("\n*** Resistance for Channel 93 G Relay is 2.0
Ohms");
printf ("\n\nMeasurements complete for Channel 93 HI, LO, and G.");
printf ("\nPress ENTER to display measurement results.");
getchar ();
/*...........................Display Measurement Results................................*/
printf ("\n\n\nChannels 00-47 & 90-92 HI Contact Resistance\n");
for (i = 0;i <= 23; i++)
{
printf ("\n CH %u & %u %6.4lf Ohms CH %u & %u %6.4lf
Ohms",i,90+(i/8),result[i],i+24,90+(i/8),result[i+24]);
}
Appendix A Example C Programs 67