EasyManuals Logo

Keysight N9322C User Manual

Keysight N9322C
223 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 #53 background imageLoading...
Page #53 background image
45
Programming Example
Using Marker Delta Mode and Marker Minimum Search
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <ctype.h>
#include <string.h>
#include "visa.h"
ViSession defaultRM, viN9322C;
ViStatus errStatus;
ViChar cIdBuff[256] ={0};
char cEnter = 0;
int iResult =0;
/*Set the input port to the 50MHz amplitude reference*/
void Route50MHzSignal()
{
viQueryf(viN9322C, "*IDN?\n", "%t", &cIdBuff);
/* prompt the user*/
/* to connect the amplitude reference output to the
input*/
printf ("Connect CAL OUT to the RF IN \n");
printf ("......Press Return to continue \n");
scanf( "%c",&cEnter);
/*Externally route the 50MHz Signal*/
viPrintf(viN9322C,"CAL:SOUR:STAT ON \n");
}
void main()
{
/*Program Variable*/
ViStatus viStatus = 0;
double dStartFreq =0.0;
double dStopFreq =0.0;
double dMarkerAmplitude = 0.0;

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keysight N9322C and is the answer not in the manual?

Keysight N9322C Specifications

General IconGeneral
BrandKeysight
ModelN9322C
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals