Test 2-5: Frequency
Accuracy
The purpose of this test is to verify that the AFG meets its specifications for
oscillator frequency accuracy.
printf ("\n%uE6 %7.5lf %7.5lf %7.5lf %7.5lf %5.3lf ", i,
watts[i-1], volts[i-1], corrvolts[i-1], dbm[i-1], error[i-1]);
if (i <= 10) printf ("0.2");
else printf ("0.5");
}
iprintf (id, "*RST;*CLS\n");
iprintf (dm, "RESET\n");
iprintf (pm, "IP\n");
iclose (id);
/* Close instrument session */
iclose (dm);
iclose (pm);
}
/* Frequency Accuracy Performance Verification Test E1340A */
#include <stdio.h>
#include <sicl.h>
#define ADDR "hpib7,9,10"
/* Address of device */
void main (void)
{
INST id, co;
/* Define id and co as an instrument */
float result;
#if defined(__BORLANDC__) && !defined(__WIN32__)
_InitEasyWin();
#endif
ionerror(I_ERROR_EXIT);
id = iopen (ADDR);
/* Open instrument session */
/*--------------------Connect Equipment------------------------------------*/
printf ("\n\nFrequency Accuracy Test");
printf ("\n\n 1. Connect the counter to AFG Aux Out");
printf ("\n 2. Set counter function to Frequency");
printf ("\n\nPress ENTER when ready");
getchar ();
/*--------------------Initialize AFG-------------------------------------------*/
iprintf (id, "*RST;*CLS\n");
iprintf (id, "MARK:FEED \"ROSC\"\n");
96 Verification Tests - C Programs
Appendix A
Содержание E1340A
Страница 6: ...Notes 6 HP E1340A Arbitrary Function Generator Service Manual ...
Страница 8: ......
Страница 10: ...Notes 12 What s in this Manual HP E1340A Service Manual ...
Страница 18: ...Notes 20 General Information Chapter 1 ...
Страница 74: ...Notes 76 Adjustments Chapter 3 ...
Страница 78: ...Notes 80 Replaceable Parts Chapter 4 ...
Страница 104: ...Notes 106 Verification Tests C Programs Appendix A ...