![HP E4401B Скачать руководство пользователя страница 107](http://html.mh-extra.com/html/hp/e4401b/e4401b_programmers-manual_161548107.webp)
Chapter 3
3-43
Programming Examples
Creating a Limit Line
exit(0);
}
/*Clear the analyzer*/
viClear(viESA);
/*Reset the analyzer*/
viPrintf(viESA,"*RST\n");
/* Check for the analyzer model number and route the
50 MHz signal accordingly*/
Route50MHzSignal();
/*Display the program heading */
printf("\n\t\t Limit Lines Program \n\n" );
/*Turn on Frequency Mode*/
viPrintf(viESA,"CALC:LLINE1:CONT:DOM FREQ\n");
/*Delete any current limit line and define the upper
limit line to have the following frequency/amplitude pairs*/
viPrintf(viESA,"CALC:LLINE1:TYPE UPP\n");
/* Turn on display*/
viPrintf(viESA,"CALC:LLINE1:DISP ON\n");
/*Send the upper limit line data*/
viPrintf(viESA,"CALC:LLINE1:DATA 40E06,-50,1,
45E06,-20,1, 50E06,-15,1, 55E06,-20,1, 60E06,-50,1\n");
/* Turn on display*/
viPrintf(viESA,"CALC:LLINE1:DISP ON\n");
/*Delete any current limit line and define the lower
limit line to have the following frequency/amplitude pairs*/
viPrintf(viESA,"CALC:LLINE2:TYPE LOW\n");
/*Send the lower limit line data*/
viPrintf(viESA,"CALC:LLINE2:DATA
40E06,-100,1,49.99E06,-100,1,50E06,-30,1,50.01E06,-100,1,60E
06,-100,1\n");
/* Turn on display*/
viPrintf(viESA,"CALC:LLINE2:DISP ON\n");
/*Turn the limit line test function on.*/
viPrintf(viESA,"CALC:LLINE2:STAT ON\n");
Содержание E4401B
Страница 6: ...vi ...
Страница 14: ...xiv Contents ...
Страница 64: ...2 34 Chapter2 HP ESA Status Registers Using the Analyzer Status Registers ...
Страница 65: ...3 1 3 Programming Examples ...
Страница 118: ...3 54 Chapter3 Programming Examples Entering Amplitude Correction Data Close the session viClose viESA viClose defaultRM ...
Страница 151: ...4 1 4 Programming Command Cross References ...
Страница 286: ...5 132 Chapter5 Language Reference UNIT Subsystem ...
Страница 287: ...6 1 6 HP 8590 HP ESA Spectrum Analyzers Programming Conversion Guide ...
Страница 292: ...1 HP 8590 HP ESA Spectrum Analyzers Conversion Guide ...
Страница 368: ...7 1 7 Error Messages ...
Страница 393: ...7 26 Chapter7 Error Messages 201 to 799 Device Specific Errors ...