EasyManuals Logo
Home>Agilent Technologies>Test Equipment>N9310A

Agilent Technologies N9310A User Manual

Agilent Technologies N9310A
188 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 #162 background imageLoading...
Page #162 background image
156 N9310A User’s Guide
6 Subsystem Command Reference
Example 2 - Generating a CW signal
Assume you wish to generate a CW signal with a frequency
of 1 GHz and an amplitude of –10 dBm.
**************************************************
int main(void)
{
status = viOpenDefaultRM (&defaultRM);
if (status != VI_SUCCESS) return 1;
status = viOpen (defaultRM,
“USB0::2391::8216::0115000001::0::INSTR”,
VI_NULL, VI_NULL, &INST_N9310A);
if (status != VI_SUCCESS) return 1;
/* Setup N9310A to generate a CW wave. */
status = viWrite (inst_N9310A, “*RST\n”,
StringLength(“*RST\n”), &rcount)
status = viWrite (inst_N9310A, “FREQ:CW 1 GHz\
n”, StringLength(“FREQ:CW 1 GHz\n”), &rcount);
status = viWrite (inst_N9310A, “AMPL:CW -10 dBm\
n”, StringLength(“AMPL:CW -10 dBm\n”), &rcount);
status = viWrite (inst_N9310A, “RFO:STAT ON\n”,
StringLength(“RFO:STAT ON\n”), &rcount);
staus = viClose (inst_N9310A);
status = viClose (defaultRM)
return 1;
}

Table of Contents

Other manuals for Agilent Technologies N9310A

Questions and Answers:

Question and Answer IconNeed help?

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

Agilent Technologies N9310A Specifications

General IconGeneral
BrandAgilent Technologies
ModelN9310A
CategoryTest Equipment
LanguageEnglish

Related product manuals