HP E1328A Service Manual page 64

4-channel d/a converter
Hide thumbs Also See for E1328A:
Table of Contents

Advertisement

64 Verification Tests - C Programs
source = 11.5;
value = 0;
printf ("\nCurrent Compliance Tests on Channel %u", chan);
do
{
source = source + 0.5;
printf("\n Set source to %.1f Volts DC", source);
printf("\n Measure channel output (in mA)");
printf("\n Enter channel output (in mA): ");
scanf ("%f", &value);
result = abs(100 * value / 24.0);
printf("\n DC Source value = %.1f VDC", source);
printf("\n Channel %u output = %.1f mA", chan, value);
printf("\n Output = %.2f %% of max value", result);
}
while (result > 90.0);
if (source >= 13.0)
pass = "PASSED";
else
pass = "FAILED";
printf("\n\nDC Source value for 90\% of max = %.1f VDC", source);
printf("\nTest %s for channel %u\n", pass, chan);
}
iclose (id);
}
/* Close instrument session */
Appendix B

Advertisement

Table of Contents
loading

Table of Contents