EasyManua.ls Logo

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 #167 background imageLoading...
Page #167 background image
Subsystem Command Reference 6
N9310A User’s Guide 161
status = viWrite (inst_N9310A, “SWE:RF:STAT ON\n”,
StringLength(“SWE:RF:STAT ON\n”), &rcount);
/* Close session. */
status = viClose (inst_N9310A);
status = viClose (defaultRM);
return 1;
}
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 start frequency
and the stop frequency
viWrite (inst_N9310A, “SWE:RF:STAR 1 GHz\n”,
StringLength(“SWE:RF:STAR 1 GHz\n”), &rcount)
viWrite (inst_N9310A, “SWE:RF:STOP 2 GHz\n”,
StringLength(“SWE:RF:STOP 2 GHz\n”), &rcount)
Set the number of points
and dwell time for each
point
viWrite (inst_N9310A, “SWE:STEP:POIN 90\n”,
StringLength(“SWE:STEP:POIN 90\n”), &rcount)
viWrite (inst_N9310A, “SWE:STEP:DWEL 20 ms\n”,
StringLength(“SWE:STEP:DWEL 20 ms\n”), &rcount)
Enable RF output viWrite (inst_N9310A, “RFO:STAT ON\n”,
StringLength(“RFO:STAT ON\n”), &rcount)
Enable RF sweep viWrite (inst_N9310A, “SWE:RF:STAT ON\n”,
StringLength(“SWE:RF:STAT ON\n”), &rcount)
Close device session viClose (inst_N9310A)
viClose (defaultRM)
NOTE
After presetting the signal generator, the Sweep Repeat is set to CONT,
Sweep Direction is set to UP and Sweep trigger and Point trigger is set to
IMMediate by default. The commands to set the Sweep Repeat, Sweep
Direction, Sweep trigger and Point trigger are omitted in this example.

Table of Contents

Other manuals for Agilent Technologies N9310A

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

Summary

Overview of Agilent N9310A RF Signal Generator

Agilent N9310A At a Glance

Provides a summary of the Agilent N9310A RF Signal Generator's general purpose applications.

Front Panel Overview

Details the front panel layout and functions of the Agilent N9310A RF Signal Generator.

Getting Started with the Signal Generator

Safety Notices and Precautions

Important warnings and cautions to ensure personal and instrumental safety before operating the device.

Power On and Check Procedure

Step-by-step guide for powering on the signal generator and performing initial checks.

Using Signal Generator Functions

Generating a CW Signal

Procedure for generating a Continuous Wave (CW) signal by setting frequency and amplitude.

Generating a Step Swept Signal

Guide to configuring and generating step swept signals in RF, LF, or amplitude modes.

Generating a Modulated Signal

Instructions for preparing and generating AM, FM, Phase, and Pulse modulated signals.

Programming Fundamentals

Getting Started with SCPI Programming

Introduction to SCPI (Standard Commands for Programmable Instruments) language.

Instrument Messages and Error Handling

Command Errors

Lists and explains specific command errors encountered during operation.

Related product manuals