EasyManuals Logo

Agilent Technologies E8257C Programming Guide

Agilent Technologies E8257C
198 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 #65 background imageLoading...
Page #65 background image
Chapter 2 59
Programming Examples
GPIB Programming Examples
// Modulation Condition Register
// bits '0','1','2','3' and '4'
viPrintf(vi, "STAT:QUES:MOD: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 Modulation 1 Undermod\n");
printf("\n");
break;
case 2:
printf("Signal Generator Modulation 1 Overmod\n");
printf("\n");
break;
case 4:
printf("Signal Generator Modulation 2 Undermod\n");
printf("\n");
break;
case 8:
printf("Signal Generator Modulation 2 Overmod\n");
printf("\n");
break;
case 16:
printf("Signal Generator Modulation Uncalibrated\n");
printf("\n");
break;
default:
printf("No Problems with Modulation\n");

Table of Contents

Other manuals for Agilent Technologies E8257C

Questions and Answers:

Question and Answer IconNeed help?

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

Agilent Technologies E8257C Specifications

General IconGeneral
BrandAgilent Technologies
ModelE8257C
CategoryPortable Generator
LanguageEnglish

Related product manuals