Service manual
  j = 100;
 for (i = 0;i <= 2; i++)
 {
   iprintf (id, "CLOS (@%u)\n", j);
   iprintf (dm, "TRIG SGL\n");
  iscanf (dm, "%lf", &value1[i][1]);
  iscanf  (dm, "%t", cr);
   iprintf (id, "OPEN (@%u)\n", i*8);
   result1[i][1] = value1[i][1] - R[42];
  if (result1[i][1] < 0)  result1[i][1] = 0;
   if (result1[i][1] > 2.0) printf ("\n*** Resistance for Channel %u LO Relay is 2.0
Ohms", i+90);
  j = j + 8;
 }
 printf ("\n\nMeasurements complete for Channels 90-92 LO.");
  printf ("\nPress ENTER for Channel 90-92 G measurements.");
 getchar ();
/*...........................Measure Channels 90-92 G...................................*/
  printf ("\n\n\nChannels 90-92 G measurements");
 printf ("\n\n 1. Connect DMM Sense and Input HI leads to COMMON G.");
  printf ("\n 2. Connect DMM Sense and Input LO leads to VOLTAGE SENSE G.");
 printf ("\n 3. Press ENTER when connections are complete.");
 getchar ();
  j = 100;
 for (i = 0;i <= 2; i++)
 {
   iprintf (id, "CLOS (@%u)\n", j);
   iprintf (dm, "TRIG SGL\n");
  iscanf (dm, "%lf", &value1[i][2]);
  iscanf  (dm, "%t", cr);
   iprintf (id, "OPEN (@%u)\n", i*8);
   result1[i][2] = value1[i][2] - R[42];
  if (result1[i][2] < 0)  result1[i][2] = 0;
   if (result1[i][2] > 2.0) printf ("\n*** Resistance for Channel %u G Relay is 2.0
Ohms", i+90);
  j = j + 8;
 }
 printf ("\n\nMeasurements complete for Channels 90-92 G.");
  printf ("\nPress ENTER for Channel 93 HI, LO, and G measurements.");
 getchar ();
/*...........................Measure Channel 93 HI, LO, and G...........................*/
  j = 193;
 printf ("\n\n\nChannel 93 HI, LO, and G measurements");
 printf ("\n\n 1. Connect DMM Sense and Input HI leads to VOLTAGE SENSE
HI.");
  printf ("\n 2. Connect DMM Sense and Input LO leads to CURRENT SOURCE
HI.");
 printf ("\n 3. Press ENTER when connections are complete.");
66 Example C Programs Appendix A










