Service manual
iscanf (dm, "%t", cr);
resultl[1][3] = valuel[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 (An*** 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.4If Ohms CH %u & %u %6.4If
Ohms",i,90+ (i/8),result[i],i+ 24,90+ (i/8),result[i+ 24]);
}
printf ("\ n\ nChannels 90-92 LO and G Contact Resistance\ n");
printf ("\ n CH 90 LO %6.41f Ohms CH 91 LO %6.4If Ohms CH 92 LO %6.4If
Ohms", result1[0][1],result1[1][1],result1[2][1]);
printf ("\ n CH 90 G %6.4If Ohms CH 91 G (706.41f Ohms CH 92 G %6.41f
Ohms", result1[0][2],result1[1][2],result1[2][2]);
printf ("\ n\ nChannel 93 HI, LO, and G Contact Resistance\ n");
printf ("\ n CH 93 HI %6.4If Ohms\ n CH 93 LO %6.4lf Ohms\ n CH 93 G %6.41f
Ohms\n",result1[0][3],result1[1][3],result1[2][3]);
iclose (id);
A-6 Example C Programs Appendix A