EasyManua.ls Logo

Keysight N9322C - System Subsystem

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
Loading...
Programming Example
Using Marker Del ta Mode and Marker Minimum Search
46
{
/* Open an USB session*/
viStatus=viOpenDefaultRM(&defaultRM);
viStatus=viO-
pen(defaultRM,"USB0::2391::8472::9876543210::0::INSTR",VI_NULL,V
I_NULL,&viN9322C);
if(viStatus)
printf("Could not open a session to USB device!\n");
exit(0);
}
/*Clear the instrument*/
viClear(viN9322C);
/*Reset the instrument*/
viPrintf(viN9322C,"*RST\n");
/*Display the program heading */
printf("\n\t\t Marker Delta Program \n\n" );
/*Check for the instrument model number and route the 50MHz
signal accordingly*/
Route50MHzSignal();
/*Set the analyzer to single sweep mode*/
viPrintf(viN9322C,"INIT:CONT 0\n");
/*Prompt the user for the start frequency*/
printf("\t Enter the Start frequency in MHz ");
/*The user enters the start frequency*/
scanf("%lf",&dStartFreq);
/*Prompt the user for the stop frequency*/
printf("\t Enter the Stop frequency in MHz ");
/*The user enters the stop frequency*/
scanf("%lf",&dStopFreq);

Table of Contents

Related product manuals