Test 2-7: Spurious
and Non-Harmonic
Distortion
The purpose of this test is to verify that the AFG meets its specifications for
non-harmonic and spurious distortion.
getchar ();
}
iprintf (id, "*RST;*CLS\n");
iclose (id);
/* Close instrument session */
}
/* Spurios/Non-Harmonic Distortion Performance Verification Test E1340A */
#include <stdio.h>
#include <sicl.h>
#include <math.h>
#define ADDR "hpib7,9,10"
/* Address of device */
void main (void)
{
INST id;
/* Define id as an instrument */
double peak;
double start[9] = {1E6,10.5E6,21E6,31E6,41E6,51E6,75E6,100E6,125E6};
double stop[9] = {9.5E6,19E6,29E6,39E6,49E6,75E6,100E6,125E6,150E6};
int i;
#if defined(__BORLANDC__) && !defined(__WIN32__)
_InitEasyWin();
#endif
ionerror(I_ERROR_EXIT);
id = iopen (ADDR);
/* Open instrument session */
/*--------------------Set up Spectrum Analyzer-----------------------------*/
printf ("\n\nSet up Spectrum Analyzer");
printf ("\n\n 1. Ref Level = 10 dBm");
printf ("\n 2. Resolution BW = 3 kHz");
printf ("\n 3. Video BW = 3 kHz");
printf ("\n 4. Connect Spectrum Analyzer to AFG Output");
printf ("\n\nPress ENTER when ready");
getchar ();
/*--------------------Initialize AFG---------------------------------------*/
iprintf (id, "*RST;*CLS\n");
Appendix A
Verification Tests - C Programs 99
Содержание 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 ...