Performance
Verification
Tests
These programs are designed to do the Performance Verification Tests
found in Chapter 4 - Verification Tests.
Example: Zero Volt
DCV Test
This example performs a DCV test for zero volts input and a power line
reference frequency of 60 Hz.
/* Zero Volt DCV Test E1411A/B */
#include <stdio.h>
#include <sicl.h>
#define ADDR "hpib7,9,03" /* Address of HP E1326B */
void main (void)
{
INST id; /* Define id as an instrument */
char volt[256] = {0}; /* Result variable */
#if defined(__BORLANDC__) && !defined(__WIN32__)
_InitEasyWin();
#endif
ionerror(I_ERROR_EXIT);
id = iopen (ADDR); /* Open instrument session */
iprintf (id, "*RST\n"); /* Resets and set autozero
ON and PLC to 1 */
iprintf (id, "CAL:LFR 60\n"); /* Sets line reference to 60 Hz */
ipromptf (id, "MEAS:VOLT:DC? .1\n", "%t", volt);
/* Measure 0.113 V range */
printf ("Voltage for 0.113 V range = %s\n", volt);
ipromptf (id, "MEAS:VOLT:DC? .9\n", "%t", volt);
/* Measure 0.91 V range */
printf ("Voltage for 0.91 V range = %s\n", volt);
ipromptf (id, "MEAS:VOLT:DC? 7\n", "%t", volt);
/* Measure 7.27 V range */
printf ("Voltage for 7.27 V range = %s\n", volt);
ipromptf (id, "MEAS:VOLT:DC? 58\n", "%t", volt);
/* Measure 58.1 V range */
printf ("Voltage for 58.1 V range = %s\n", volt);
ipromptf (id, "MEAS:VOLT:DC? 300\n", "%t", volt);
/* Measure 300 V range */
printf ("Voltage for 300 V range = %s\n", volt);
iclose (id); /* Close instrument session */
}
72 Verification Tests - C Programs
Appendix B
Содержание E1411A
Страница 4: ...Notes ...
Страница 8: ...Notes 8 HP E1411A B Service Manual ...
Страница 10: ...10 HP E1411A E1411B Service Manual ...
Страница 36: ...Notes 36 Verification Tests Chapter 4 ...
Страница 48: ...Notes 48 Adjustments Chapter 5 ...
Страница 51: ...Figure 6 1 HP E1411A Replaceable Parts Chapter 6 Replaceable Parts 51 ...
Страница 53: ...Figure 6 2 HP E1411B Replaceable Parts Chapter 6 Replaceable Parts 53 ...
Страница 56: ...56 Manual Changes Chapter 7 ...