EasyManua.ls Logo

Agilent Technologies N9310A

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
Loading...
Subsystem Command Reference 6
N9310A User’s Guide 157
Programming Comments
Thread Relevant code
Open a session on the
default resource manager
first, and then for the
device you will be using.
viOpenDefaultRM (&defaultRM)
viOpen (defaultRM,
“USB0::2391::8216::0115000001::0::INSTR”,
VI_NULL, VI_NULL, &inst_N9310A)
Preset the signal
generator
viWrite (inst_N9310A, “*RST\n”,
StringLength(“*RST\N”), &rcount)
Set the frequency and
amplitude of the CW
signal
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);
Enable the RF output viWrite (inst_N9310A, “RFO:STAT ON\n”,
StringLength(“RFO:STAT ON\n”), &rcount);
Close device session viClose (inst_N9310A)
viClose (defaultRM)

Table of Contents

Other manuals for Agilent Technologies N9310A

Related product manuals