EasyManuals Logo
Home>Agilent Technologies>Portable Generator>N5183A

Agilent Technologies N5183A User Manual

Agilent Technologies N5183A
366 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #102 background imageLoading...
Page #102 background image
92 Agilent N518xA, E8663B, E44x8C, and E82x7D Signal Generators Programming Guide
Programming Examples
GPIB Programming Interface Examples
printf("* Set frequency to maximum value\n");
printf("* Turn On signal generator's RF Output\n");
printf("* Check signal generator's display for the UNLEVEL annunciator\n");
printf("\n");
printf("Press Enter when ready\n");
printf("\n");
getch(); // Waits for keyboard user input
viPrintf(vi, "STAT:QUES:POW:ENAB 2\n"); // Enables the Data Questionable
// Power Condition Register Bits
// Bits '0' and '1'
viPrintf(vi, "STAT:QUES:POW:COND?\n"); // Querys the register for any
// set bits
viScanf(vi, "%s", rdBuffer); // Reads the decimal sum of the
// set bits
num=(int (rdBuffer[1]) -('0')); // Converts string data to
// numeric
switch (num) // Based on the decimal value
{
case 1:
printf("Signal Generator Reverse Power Protection Tripped\n");
printf("/n");
break;
case 2:
printf("Signal Generator Power is Unleveled\n");
printf("\n");
break;
default:
printf("No Power Unleveled condition detected\n");
printf("\n");
}
viClear(vi); // Clears the signal generator
// Prints user information
printf("--------------------------------------------------------------\n");
printf("\n");
printf("Manually set up the sig gen for an unleveled output condition:\n");
printf("\n");
printf("* Select AM modulation\n");
printf("* Select AM Source Ext 1 and Ext Coupling AC\n");
printf("* Turn On the modulation.\n");
printf("* Do not connect any source to the input\n");
printf("* Check signal generator's display for the EXT1 LO annunciator\n");

Table of Contents

Other manuals for Agilent Technologies N5183A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies N5183A and is the answer not in the manual?

Agilent Technologies N5183A Specifications

General IconGeneral
BrandAgilent Technologies
ModelN5183A
CategoryPortable Generator
LanguageEnglish

Related product manuals