EasyManuals Logo

Keysight Technologies X Series Programming Guide

Keysight Technologies X Series
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 #105 background imageLoading...
Page #105 background image
Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide 105
Programming Examples
GPIB Programming Interface Examples
—error checking
— clears the signal generator
— resets the signal generator
— the data questionable status register is enabled to read an unleveled
condition
— prompts user to manually set up the signal generator for an unleveled
condition
— queries the data questionable status register for any set bits and converts
the string data to numeric
— based on the numeric value, program checks for a corresponding status
check value
— similarly checks for over or undermodulation condition
The following program example is available on the signal generator
Documentation CD-ROM as visaex9.cpp.
//*****************************************************************
// PROGRAM NAME:visaex9.cpp
//
// PROGRAM DESCRIPTION:In this example, the data questionable status
register is read.
// The data questionable status register is enabled to read an
unleveled condition.
// The signal generator is then set up for an unleveled condition
and the data
// questionable status register read. The results are then displayed
to the user.
// The status questionable register is then setup to monitor a
modulation error condition.
// The signal generator is set up for a modulation error condition
and the data
// questionable status register is read.
// The results are displayed to the active window.
//
//*****************************************************************
#include <visa.h>
#include "StdAfx.h"
#include <iostream>
#include <conio.h>
void main ()

Table of Contents

Other manuals for Keysight Technologies X Series

Questions and Answers:

Question and Answer IconNeed help?

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

Keysight Technologies X Series Specifications

General IconGeneral
BrandKeysight Technologies
ModelX Series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals