EasyManuals Logo

Keysight Technologies N5173B EXG Programming Guide

Keysight Technologies N5173B EXG
398 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 #95 background imageLoading...
Page #95 background image
Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide 95
Programming Examples
GPIB Programming Interface Examples
exit(0);}
printf("Example program to set up the signal generator\n");
printf("for an AC-coupled FM signal\n");
printf("\n");
printf("Press any key to continue\n");
getch();
viClear(vi); // Clears the signal
generator
viPrintf(vi, "*RST\n"); // Resets the signal
generator
viPrintf(vi, "FM2:INT:FREQ 5 kHz\n"); // Sets FM path 2 to
internal at a modulation rate of 5 kHz
viPrintf(vi, "FM2:DEV 100 kHz\n"); // Sets FM path 2
modulation deviation rate of 100 kHz
viPrintf(vi, "FREQ 900 MHz\n"); // Sets carrier frequency
to 900 MHz
viPrintf(vi, "POW -15 dBm\n"); // Sets the power level to
-15 dBm
viPrintf(vi, "FM2:STAT ON\n"); // Turns on frequency
modulation
viPrintf(vi, "OUTP:STAT ON\n"); // Turns on RF output
printf("\n"); // Prints a carriage return
// Print user information
printf("Power level : -15 dBm\n");
printf("FM state : on\n");
printf("RF output : on\n");
printf("Carrier Frequency : 900 MHZ\n");
printf("Deviation : 100 kHZ\n");
printf("Internal modulation : 5 kHz\n");
printf("\n"); // Print a carrage return
// Close the sessions
viClose(vi);
viClose(defaultRM);
}

Table of Contents

Other manuals for Keysight Technologies N5173B EXG

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keysight Technologies N5173B EXG and is the answer not in the manual?

Keysight Technologies N5173B EXG Specifications

General IconGeneral
BrandKeysight Technologies
ModelN5173B EXG
CategoryPortable Generator
LanguageEnglish

Related product manuals