
{
printf ("\nCurrent Accuracy Measurements on Channel %u\n", chan);
for (i = 0; i < 9; i++)
{
iprintf (id, "CURR%u %f\n", chan, amps[i]);
printf ("\n New current output on channel %u = %f A", chan, amps[i]);
printf ("\n Enter MEASURED current value (in mA) : ");
scanf ("%f", &meas);
acc = 0.0035 * abs(amps[i]) + .00022665;
llim = amps[i] - acc;
ulim = amps[i] + acc;
if ((meas*.001 < llim) || (meas*.001 > ulim))
printf ("Test FAILED on channel %u for %f A", chan, amps[i]);
else
printf ("Test PASSED on channel %u for %f A", chan, amps[i]);
}
}
printf ("Current Accuarcy Tests Complete");
iclose (id);
/* Close instrument session */
}
Appendix B
Verification Tests - C Programs 67
Содержание E1328A
Страница 4: ...Notes 4 Contents HP E1328A Service Manual ...
Страница 46: ...Figure 6 7 HP E1328A DAC Replaceable Parts 46 Replaceable Parts Chapter 6 ...
Страница 48: ...48 Manual Changes Chapter 7 ...
Страница 54: ...54 Service Chapter 8 ...
Страница 60: ...60 Calculating D A Converter Accuracy Appendix A ...