Agilent Technologies PSG Instruction Manual

Browse online or download Instruction Manual for Power generators Agilent Technologies PSG. Agilent Technologies PSG Programming instructions User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 362
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews

Summary of Contents

Page 1 - Programming Guide

Programming GuideAgilent TechnologiesPSG Family Signal GeneratorsThis guide applies to the signal generator models and associated serial number prefix

Page 2

Contentsx:FLATness:STORe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235[:STATe] . . . .

Page 3

Programming ExamplesLAN Programming ExamplesChapter 286 /*********************************************/ /* open a socket connection to the ins

Page 4

Programming ExamplesLAN Programming ExamplesChapter 2 87 PRORGAM DESCRIPTION: getopt returns the next option letter in argv (starting from argv[1

Page 5

Programming ExamplesLAN Programming ExamplesChapter 288 posn = strchr(optstring, c); /* DDP */ if (posn == NULL || c == ’:’) {

Page 6

Programming ExamplesLAN Programming ExamplesChapter 2 89Sockets LAN Programming Using PERLThis example uses PERL script to control the signal generato

Page 7

Programming ExamplesLAN Programming ExamplesChapter 290$response = <$sock>; chomp $response; print "Instrument ID: $response\n";

Page 8

Programming ExamplesLAN Programming ExamplesChapter 2 91Sockets LAN Programming Using Java In this example the Java program connects to the signal gen

Page 9

Programming ExamplesLAN Programming ExamplesChapter 292 // Setup read/write mechanism BufferedWriter out = ne

Page 10 - Contents

Programming ExamplesRS-232 Programming ExamplesChapter 2 93RS-232 Programming Examples• “Interface Check Using Agilent BASIC” on page 94• “Interface C

Page 11

Programming ExamplesRS-232 Programming ExamplesChapter 294Interface Check Using Agilent BASIC This example program causes the signal generator to perf

Page 12

Programming ExamplesRS-232 Programming ExamplesChapter 2 95Interface Check Using VISA and CThis program uses VISA library functions to communicate wit

Page 13

Contents xi:LIST:DWELl. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255:LIST:DWELl

Page 14

Programming ExamplesRS-232 Programming ExamplesChapter 296 if(viStatus){ // If operation fails, prompt userprintf("

Page 15 - 1 Getting Started

Programming ExamplesRS-232 Programming ExamplesChapter 2 97Queries Using Agilent BASIC This example program demonstrates signal generator query comman

Page 16

Programming ExamplesRS-232 Programming ExamplesChapter 298Queries Using VISA and CThis example uses VISA library functions to communicate with the sig

Page 17 - IO Libraries

Programming ExamplesRS-232 Programming ExamplesChapter 2 99printf("\n");exit(0);} // Set timeout for

Page 18 - Programming Language

Programming ExamplesRS-232 Programming ExamplesChapter 2100

Page 19 - Using GPIB

1013 Programming the Status Register System

Page 20

Programming the Status Register SystemOverviewChapter 3102OverviewDuring remote operation, it is important to monitor the status of the signal generat

Page 21

Programming the Status Register SystemOverviewChapter 3 103Figure 3-1 The Overall Status Byte Register System

Page 22 - GPIB Interface Terms

Programming the Status Register SystemStatus Register Bit ValuesChapter 3104Status Register Bit ValuesEach bit in a register is represented by a numer

Page 23 - GPIB Function Statements

Programming the Status Register SystemAccessing Status Register InformationChapter 3 105Accessing Status Register Information1. Determine which regist

Page 24 - Preset key is pressed

Contentsxii:PM[1]|2:INTernal[1]|2:FUNCtion:NOISe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274:PM[1]|2:INTernal[1]|2:FUNCtion:RA

Page 25

Programming the Status Register SystemAccessing Status Register InformationChapter 3106Deciding How to MonitorYou can use either of two methods to pro

Page 26

Programming the Status Register SystemAccessing Status Register InformationChapter 3 107Using the Service Request (SRQ) MethodThe programming language

Page 27

Programming the Status Register SystemAccessing Status Register InformationChapter 3108If a program enables the controller to detect and respond to se

Page 28 - Using LAN

Programming the Status Register SystemAccessing Status Register InformationChapter 3 109*SRE, *SRE? (service request enable) sets and queries the valu

Page 29

Programming the Status Register SystemStatus Byte GroupChapter 3110Status Byte GroupThe Status Byte Group includes the Status Byte Register and the Se

Page 30 - Utility >

Programming the Status Register SystemStatus Byte GroupChapter 3 111Status Byte RegisterTable 3-3 Status Byte Register BitsBit Description0,1 Unused.

Page 31 - Using VXI-11

Programming the Status Register SystemStatus Byte GroupChapter 3112Service Request Enable RegisterThe Service Request Enable Register lets you choose

Page 32 - Figure 1-2 Show Devices Form

Programming the Status Register SystemStatus GroupsChapter 3 113Status GroupsThe Standard Operation Status Group and the Data Questionable Status Grou

Page 33 - Using Sockets LAN

Programming the Status Register SystemStatus GroupsChapter 3114Byte Register.Standard Event Status GroupThe Standard Event Status Group is used to det

Page 34 - Using TELNET LAN

Programming the Status Register SystemStatus GroupsChapter 3 115Standard Event Status RegisterTable 3-4 Standard Event Status Register BitsBit Descrip

Page 35 - Start > Run

Contents xiiiSCPI Command Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294:SYSTem:IDN . . . .

Page 36

Programming the Status Register SystemStatus GroupsChapter 3116Standard Event Status Enable RegisterThe Standard Event Status Enable Register lets you

Page 37

Programming the Status Register SystemStatus GroupsChapter 3 117Standard Operation Status GroupThe Standard Operation Status Group is used to determin

Page 38 - Using FTP

Programming the Status Register SystemStatus GroupsChapter 3118Standard Operation Condition RegisterThe Standard Operation Condition Register continuo

Page 39

Programming the Status Register SystemStatus GroupsChapter 3 119Standard Operation Transition Filters (negative and positive)The Standard Operation Tr

Page 40 - Using RS-232

Programming the Status Register SystemStatus GroupsChapter 3120Data Questionable Status GroupThe Data Questionable Status Group is used to determine t

Page 41

Programming the Status Register SystemStatus GroupsChapter 3 121Data Questionable Condition RegisterThe Data Questionable Condition Register continuou

Page 42 - Settings > ASCII Setup

Programming the Status Register SystemStatus GroupsChapter 3122Data Questionable Transition Filters (negative and positive)The Data Questionable Trans

Page 43 - Character Format Parameters

Programming the Status Register SystemStatus GroupsChapter 3 123Data Questionable Event Enable RegisterThe Data Questionable Event Enable Register let

Page 44 - Chapter 130

Programming the Status Register SystemStatus GroupsChapter 3124Data Questionable Power Status GroupThe Data Questionable Power Status Group is used to

Page 45 - 2 Programming Examples

Programming the Status Register SystemStatus GroupsChapter 3 125Data Questionable Power Condition RegisterThe Data Questionable Power Condition Regist

Page 47

Programming the Status Register SystemStatus GroupsChapter 3126Data Questionable Power Event RegisterThe Data Questionable Power Event Register latche

Page 48 - GPIB Programming Examples

Programming the Status Register SystemStatus GroupsChapter 3 127Data Questionable Frequency Status GroupThe Data Questionable Frequency Status Group i

Page 49

Programming the Status Register SystemStatus GroupsChapter 3128Data Questionable Frequency Condition RegisterThe Data Questionable Frequency Condition

Page 50

Programming the Status Register SystemStatus GroupsChapter 3 129Data Questionable Frequency Event RegisterLatches transition events from the condition

Page 51

Programming the Status Register SystemStatus GroupsChapter 3130Data Questionable Modulation Status GroupThe Data Questionable Modulation Status Group

Page 52

Programming the Status Register SystemStatus GroupsChapter 3 131Data Questionable Modulation Condition RegisterThe Data Questionable Modulation Condit

Page 53

Programming the Status Register SystemStatus GroupsChapter 3132Data Questionable Modulation Transition Filters (negative and positive)The Data Questio

Page 54 - Chapter 240

Programming the Status Register SystemStatus GroupsChapter 3 133Data Questionable Calibration Status GroupThe Data Questionable Calibration Status Gro

Page 55

Programming the Status Register SystemStatus GroupsChapter 3134Data Questionable Calibration Condition RegisterThe Data Questionable Calibration Condi

Page 56 - Chapter 242

Programming the Status Register SystemStatus GroupsChapter 3 135Data Questionable Calibration Event Enable RegisterThe Data Questionable Calibration E

Page 57

11 Getting Started

Page 58 - Chapter 244

Programming the Status Register SystemStatus GroupsChapter 3136

Page 59

1374 Command Reference

Page 60 - Chapter 246

Command ReferenceCommand Reference InformationChapter 4138Command Reference InformationSCPI Command ListingsThe Table of Contents lists the PSG SCPI c

Page 61

Command ReferenceSCPI BasicsChapter 4 139SCPI BasicsThis section describes the general use of the Standard Commands for Programmable Instruments (SCPI

Page 62 - Chapter 248

Command ReferenceSCPI BasicsChapter 4140Command SyntaxA typical command is made up of keywords prefixed with colons (:). The keywords are followed by

Page 63

Command ReferenceSCPI BasicsChapter 4 141Table 4-2 Command SyntaxCharacters, Keywords, and Syntax ExampleUpper-case lettering indicates the minimum se

Page 64 - Chapter 250

Command ReferenceSCPI BasicsChapter 4142Command Types Commands can be separated into two groups: common commands and subsystem commands. Figure 4-1, s

Page 65

Command ReferenceSCPI BasicsChapter 4 143Command TreeMost programming tasks involve subsystem commands. SCPI uses a structure for subsystem commands s

Page 66 - Chapter 252

Command ReferenceSCPI BasicsChapter 4144Command Parameters and Responses SCPI defines different data formats for use in program and response messages.

Page 67

Command ReferenceSCPI BasicsChapter 4 145The following are examples of numeric parameters:Extended Numeric ParametersMost subsystems use extended nume

Page 68 - Chapter 254

Getting StartedIntroduction to Remote OperationChapter 12Introduction to Remote OperationPSG family signal generators support the following interfaces

Page 69

Command ReferenceSCPI BasicsChapter 4146Discrete ParametersDiscrete parameters use mnemonics to represent each valid setting. They have a long and a s

Page 70 - Chapter 256

Command ReferenceSCPI BasicsChapter 4 147String ParametersString parameters allow ASCII strings to be sent as parameters. Single or double quotes are

Page 71

Command ReferenceSCPI BasicsChapter 4148Discrete Response DataDiscrete response data are similar to discrete parameters. The main difference is that d

Page 72 - Chapter 258

Command ReferenceSCPI BasicsChapter 4 149Program MessagesThe following commands will be used to demonstrate the creation of program messages:[:SOURce]

Page 73 - Chapter 2 59

Command ReferenceSCPI BasicsChapter 4150File Name VariablesFile name variables, such as "<file name>", represent two formats, "&l

Page 74

Command ReferenceSCPI BasicsChapter 4 151MSUS (Mass Storage Unit Specifier) VariableThe variable "<msus>" enables a command to be file

Page 75 - Chapter 2 61

Command ReferenceSCPI BasicsChapter 4152Quote Usage with SCPI CommandsAs a general rule, programming languages require that SCPI commands be enclosed

Page 76 - Chapter 262

Command ReferenceSCPI BasicsChapter 4 153Binary, Decimal, Hexadecimal, and Octal FormatsCommand values may be entered using a binary, decimal, hexadec

Page 77 - Chapter 2 63

Command ReferenceIEEE 488.2 Common CommandsChapter 4154IEEE 488.2 Common Commands*CLSSupported All*CLSThe Clear Status (CLS) command clears the Stat

Page 78

Command ReferenceIEEE 488.2 Common CommandsChapter 4 155*ESE?Supported All*ESE?The Standard Event Status Enable (ESE) query returns the value of the

Page 79 - VXI-11 Programing

Getting StartedIntroduction to Remote OperationChapter 1 3InterfacesGPIB GPIB is used extensively when a dedicated computer is available for remote

Page 80

Command ReferenceIEEE 488.2 Common CommandsChapter 4156*IDN?Supported All*IDN?The Identification (IDN) query outputs an identifying string. The resp

Page 81 - Chapter 2 67

Command ReferenceIEEE 488.2 Common CommandsChapter 4 157*OPC?Supported All*OPC?The Operation Complete (OPC) query returns the ASCII character 1 when

Page 82 - Chapter 268

Command ReferenceIEEE 488.2 Common CommandsChapter 4158*PSC?Supported All*PSC?The Power-On Status Clear (PSC) query returns the flag setting as enab

Page 83

Command ReferenceIEEE 488.2 Common CommandsChapter 4 159*SAVSupported All*SAV <reg>,<seq> The Save (SAV) command saves the state of the

Page 84

Command ReferenceIEEE 488.2 Common CommandsChapter 4160*SRE?Supported All*SRE?The Service Request Enable (SRE) query returns the value of the Servic

Page 85

Command ReferenceIEEE 488.2 Common CommandsChapter 4 161*TST?Supported All*TST?The Self-Test (TST) query initiates the internal self-test and return

Page 86

Command ReferenceCalibration subsystem (:CALibration)Chapter 4162Calibration subsystem (:CALibration):DCFMSupported PSG-A Series:CALibration:DCFMThi

Page 87 - Chapter 2 73

Command ReferenceCommunication Subsystem (:SYSTem:COMMunicate)Chapter 4 163Communication Subsystem (:SYSTem:COMMunicate):GPIB:ADDRess Supported All:

Page 88 - Chapter 274

Command ReferenceCommunication Subsystem (:SYSTem:COMMunicate)Chapter 4164:LAN:IPSupported All:SYSTem:COMMunicate:LAN:IP "<ipstring>"

Page 89 - Chapter 2 75

Command ReferenceCommunication Subsystem (:SYSTem:COMMunicate)Chapter 4 165:PMETer:CHANnel Supported All:SYSTem:COMMunicate:PMETer:CHANnel A|B:SYSTe

Page 90 - Chapter 276

Getting StartedIntroduction to Remote OperationChapter 14Programming LanguageThe programming language is used along with Standard Commands for Program

Page 91 - Chapter 2 77

Command ReferenceCommunication Subsystem (:SYSTem:COMMunicate)Chapter 4166:PMETer:TIMEoutSupported All:SYSTem:COMMunicate:PMETer:TIMEout <num>

Page 92 - Chapter 278

Command ReferenceCommunication Subsystem (:SYSTem:COMMunicate)Chapter 4 167:SERial:ECHOSupported All:SYSTem:COMMunicate:SERial:ECHO ON|OFF|1|0:SYSTe

Page 93 - Chapter 2 79

Command ReferenceCommunication Subsystem (:SYSTem:COMMunicate)Chapter 4168:SERial:RESetSupported All:SYSTem:COMMunicate:SERial:RESetThis event comma

Page 94 - Chapter 280

Command ReferenceCommunication Subsystem (:SYSTem:COMMunicate)Chapter 4 169:SERial:TRANsmit:PACESupported All:SYSTem:COMMunicate:SERial:TRANsmit:PAC

Page 95 - Chapter 2 81

Command ReferenceDiagnostic Subsystem (:DIAGnostic)Chapter 4170Diagnostic Subsystem (:DIAGnostic)[:CPU]:INFOrmation:BOARdsSupported All:DIAGnostic[:

Page 96 - Chapter 282

Command ReferenceDiagnostic Subsystem (:DIAGnostic)Chapter 4 171[:CPU]:INFOrmation:CCOunt:PONSupported All:DIAGnostic[:CPU]:INFOrmation:CCOunt:PON?T

Page 97 - Chapter 2 83

Command ReferenceDiagnostic Subsystem (:DIAGnostic)Chapter 4172[:CPU]:INFOrmation:OPTions:DETailSupported All:DIAGnostic[:CPU]:INFOrmation:OPTions:D

Page 98 - Chapter 284

Command ReferenceDiagnostic Subsystem (:DIAGnostic)Chapter 4 173[:CPU]:INFOrmation:SDATeSupported All:DIAGnostic[:CPU]:INFOrmation:SDATe?This query

Page 99 - Chapter 2 85

Command ReferenceDisplay Subsystem (:DISPlay)Chapter 4174Display Subsystem (:DISPlay):BRIGhtnessSupported All:DISPlay:BRIGhtness <value>:DISPl

Page 100 - Chapter 286

Command ReferenceDisplay Subsystem (:DISPlay)Chapter 4 175:CONTrastSupported All:DISPlay:CONTrast <value>:DISPlay:CONTrast?This command sets t

Page 101 - Chapter 2 87

Getting StartedUsing GPIBChapter 1 5Using GPIB The GPIB allows instruments to be connected together and controlled by a computer. The GPIB and its ass

Page 102 - Chapter 288

Command ReferenceDisplay Subsystem (:DISPlay)Chapter 4176:REMoteSupported All:DISPlay:REMote ON|OFF|1|0:DISPlay:REMote?This command enables or disab

Page 103

Command ReferenceMemory Subsystem (:MEMory)Chapter 4 177Memory Subsystem (:MEMory):CATalog:BINarySupported All:MEMory:CATalog:BINary?This command ou

Page 104 - Chapter 290

Command ReferenceMemory Subsystem (:MEMory)Chapter 4178:CATalog:LISTSupported All:MEMory:CATalog:LIST? This command outputs a list of the list sweep

Page 105 - Start > Programs >

Command ReferenceMemory Subsystem (:MEMory)Chapter 4 179:CATalog:UFLTSupported All:MEMory:CATalog:UFLT?This command outputs a list of the user flatn

Page 106 - Chapter 292

Command ReferenceMemory Subsystem (:MEMory)Chapter 4180:COPY[:NAME]Supported All:MEMory:COPY[:NAME] "<file name>","<file nam

Page 107 - RS-232 Programming Examples

Command ReferenceMemory Subsystem (:MEMory)Chapter 4 181:DELete:ALLSupported AllCAUTION Using this command deletes all user files including binary,

Page 108

Command ReferenceMemory Subsystem (:MEMory)Chapter 4182:DELete:LISTSupported All:MEMory:DELete:LISTThis command deletes all list files.*RST N/ARan

Page 109

Command ReferenceMemory Subsystem (:MEMory)Chapter 4 183:DELete[:NAME]Supported All:MEMory:DELete[:NAME] "<file name>"This command c

Page 110 - Chapter 296

Command ReferenceMemory Subsystem (:MEMory)Chapter 4184:MOVESupported All:MEMory:MOVE "<src_file>","<dest_file>"This

Page 111 - Queries Using Agilent BASIC

Command ReferenceMass Memory Subsystem (:MMEMory)Chapter 4 185Mass Memory Subsystem (:MMEMory):CATalogSupported All:MMEMory:CATalog? "<msus&

Page 113 - Chapter 2 99

Getting StartedUsing GPIBChapter 16Table 1-2 NI-GPIB Interface Card for PC-Based SystemsInterfaceCardOperatingSystemIO LibraryLanguages Backplane/BUSM

Page 114 - Chapter 2100

Command ReferenceMass Memory Subsystem (:MMEMory)Chapter 4186:COPYSupported All:MMEMory:COPY "<file name>","<file name>&q

Page 115 - 3 Programming the

Command ReferenceMass Memory Subsystem (:MMEMory)Chapter 4 187:DELete[:NAME]Supported All:MMEMory:DELete[:NAME] "<file name>",["

Page 116 - Overview

Command ReferenceMass Memory Subsystem (:MMEMory)Chapter 4188:MOVESupported All:MMEMory:MOVE "<src_file>","<dest_file>&qu

Page 117 - Chapter 3 103

Command ReferenceOutput Subsystem(:OUTPut)Chapter 4 189Output Subsystem(:OUTPut):MODulation[:STATe] Supported PSG-A Series:OUTPut:MODulation[:STATe]

Page 118 - Status Register Bit Values

Command ReferenceStatus Subsystem (:STATus)Chapter 4190Status Subsystem (:STATus):OPERation:CONDitionSupported All:STATus:OPERation:CONDition?This c

Page 119 - Determining What to Monitor

Command ReferenceStatus Subsystem (:STATus)Chapter 4 191:OPERation:NTRansitionSupported All:STATus:OPERation:NTRansition <value>:STATus:OPERat

Page 120 - Deciding How to Monitor

Command ReferenceStatus Subsystem (:STATus)Chapter 4192:OPERation[:EVENt]Supported AllCAUTION This is a destructive read. The data in the register i

Page 121

Command ReferenceStatus Subsystem (:STATus)Chapter 4 193:QUEStionable:CALibration:CONDitionSupported PSG-A Series:STATus:QUEStionable:CALibration:CO

Page 122 - Status Register SCPI Commands

Command ReferenceStatus Subsystem (:STATus)Chapter 4194:QUEStionable:CALibration:NTRansitionSupported PSG-A Series:STATus:QUEStionable:CALibration:N

Page 123

Command ReferenceStatus Subsystem (:STATus)Chapter 4 195:QUEStionable:CALibration[:EVENt]Supported PSG-A SeriesCAUTION This is a destructive read. T

Page 124 - Status Byte Group

Getting StartedUsing GPIBChapter 1 72. Selecting IO Libraries for GPIBThe IO libraries are included with your GPIB interface card. These libraries can

Page 125 - Status Byte Register

Command ReferenceStatus Subsystem (:STATus)Chapter 4196:QUEStionable:ENABleSupported All:STATus:QUEStionable:ENABle <value>:STATus:QUEStionabl

Page 126 - Chapter 3112

Command ReferenceStatus Subsystem (:STATus)Chapter 4 197:QUEStionable:FREQuency:ENABleSupported All:STATus:QUEStionable:FREQuency:ENABle <value&g

Page 127 - Status Groups

Command ReferenceStatus Subsystem (:STATus)Chapter 4198:QUEStionable:FREQuency:PTRansitionSupported All:STATus:QUEStionable:FREQuency:PTRansition &l

Page 128 - Standard Event Status Group

Command ReferenceStatus Subsystem (:STATus)Chapter 4 199:QUEStionable:FREQuency[:EVENt]Supported AllCAUTION This is a destructive read. The data in

Page 129 - Chapter 3 115

Command ReferenceStatus Subsystem (:STATus)Chapter 4200:QUEStionable:MODulation:ENABleSupported PSG-A Series:STATus:QUEStionable:MODulation:ENABle &

Page 130

Command ReferenceStatus Subsystem (:STATus)Chapter 4 201:QUEStionable:MODulation:PTRansitionSupported PSG-A Series:STATus:QUEStionable:MODulation:PT

Page 131

Command ReferenceStatus Subsystem (:STATus)Chapter 4202:QUEStionable:MODulation[:EVENt]Supported PSG-A SeriesCAUTION This is a destructive read. The

Page 132

Command ReferenceStatus Subsystem (:STATus)Chapter 4 203:QUEStionable:NTRansitionSupported All:STATus:QUEStionable:NTRansition <value>:STATus:

Page 133

Command ReferenceStatus Subsystem (:STATus)Chapter 4204:QUEStionable:POWer:ENABleSupported All:STATus:QUEStionable:POWer:ENABle <value>:STATus

Page 134

Command ReferenceStatus Subsystem (:STATus)Chapter 4 205:QUEStionable:POWer:PTRansitionSupported All:STATus:QUEStionable:POWer:PTRansition <value

Page 135

Getting StartedUsing GPIBChapter 184. Verifying GPIB FunctionalityUse the VISA Assistant, available with the Agilent IO Library or the Getting Started

Page 136

Command ReferenceStatus Subsystem (:STATus)Chapter 4206:QUEStionable:POWer[:EVENt]Supported AllCAUTION This is a destructive read. The data in the r

Page 137 - Chapter 3 123

Command ReferenceStatus Subsystem (:STATus)Chapter 4 207:QUEStionable:PTRansitionSupported All:STATus:QUEStionable:PTRansition <value>:STATus:

Page 138

Command ReferenceSystem Subsystem (:SYSTem)Chapter 4208System Subsystem (:SYSTem):CAPabilitySupported All:SYSTem:CAPability?This command queries the

Page 139

Command ReferenceSystem Subsystem (:SYSTem)Chapter 4 209:HELP:MODESupported All:SYSTem:HELP:MODE SINGle|CONTinuous :SYSTem:HELP:MODE?This command se

Page 140

Command ReferenceSystem Subsystem (:SYSTem)Chapter 4210:PON:TYPESupported All:SYSTem:PON:TYPE PRESet|LAST:SYSTem:PON:TYPE?This command sets the defi

Page 141

Command ReferenceSystem Subsystem (:SYSTem)Chapter 4 211:PRESet:ALLSupported All:SYSTem:PRESet:ALLThis command sets all states of the signal generat

Page 142

Command ReferenceSystem Subsystem (:SYSTem)Chapter 4212:PRESet:TYPESupported All:SYSTem:PRESet:TYPE NORMal|USER :SYSTem:PRESet:TYPE?This command tog

Page 143

Command ReferenceSystem Subsystem (:SYSTem)Chapter 4 213:SSAVer:DELaySupported All:SYSTem:SSAVer:DELay <val> :SYSTem:SSAVer:DELay?This command

Page 144

Command ReferenceSystem Subsystem (:SYSTem)Chapter 4214:SSAVer:STATeSupported All:SYSTem:SSAVer:STATe ON|OFF|1|0:SYSTem:SSAVer:STATe?This command en

Page 145

Command ReferenceTrigger SubsystemChapter 4 215Trigger Subsystem:ABORtSupported All:ABORtThis command causes the list or step sweep in progress to a

Page 146

Getting StartedUsing GPIBChapter 1 9GPIB Function StatementsFunction statements are the basis for GPIB programming and instrument control. These funct

Page 147

Command ReferenceTrigger SubsystemChapter 4216:INITiate[:IMMediate][:ALL]Supported All:INITiate[:IMMediate][:ALL]This command arms or arms and start

Page 148

Command ReferenceTrigger SubsystemChapter 4 217:TRIGger[:SEQuence]:SLOPeSupported All:TRIGger[:SEQuence]:SLOPe POSitive|NEGative :TRIGger[:SEQuence]

Page 149

Command ReferenceTrigger SubsystemChapter 4218:TRIGger[:SEQuence][:IMMediate]Supported All:TRIGger[:SEQuence][:IMMediate]This event command enables

Page 150 - Chapter 3136

Command ReferenceUnit Subsystem (:UNIT)Chapter 4 219Unit Subsystem (:UNIT):POWerSupported All:UNIT:POWer DBM|DBUV|DBUVEMF|V|VEMF:UNIT:POWer?This com

Page 151 - 4 Command Reference

Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4220Amplitude Modulation Subsystem ([:SOURce]):AM[1]|2...Supported PSG-A Series[:

Page 152 - Command Reference Information

Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4 221:AM:INTernal:FREQuency:STEP[:INCRement]Supported PSG-A Series[:SOURce]:AM:IN

Page 153 - SCPI Basics

Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4222:AM:MODESupported PSG-A Series[:SOURce]:AM:MODE DEEP|NORMal[:SOURce]:AM:MODE?

Page 154 - Command Syntax

Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4 223:AM[1]|2:EXTernal[1]|2:COUPlingSupported PSG-A Series[:SOURce]:AM[1]|2:EXTer

Page 155

Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4224:AM[1]|2:INTernal[1]:FREQuency:ALTernateSupported PSG-A Series[:SOURce]:AM[1]

Page 156 - Command Types

Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4 225:AM[1]|2:INTernal[1]:SWEep:RATESupported PSG-A Series[:SOURce]:AM[1]|2:INTer

Page 157 - Command Tree

Getting StartedUsing GPIBChapter 110Remote FunctionThe Agilent BASIC function REMOTE and the other listed IO library functions cause the signal genera

Page 158

Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4226:AM[1]|2:INTernal[1]|2:FREQuencySupported PSG-A Series[:SOURce]:AM[1]|2:INTer

Page 159

Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4 227:AM[1]|2:INTernal[1]|2:FUNCtion:RAMPSupported PSG-A Series[:SOURce]:AM[1]|2:

Page 160

Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4228:AM[1]|2:SOURceSupported PSG-A Series[:SOURce]:AM[1]|2:SOURce INT[1]|INT2|EXT

Page 161

Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4 229:AM[1]|2:TYPESupported PSG-A Series[:SOURce]:AM[1]|2:TYPE LINear|EXPonential

Page 162

Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4230:AM[1]|2[:DEPTh][:LINear]Supported PSG-A Series[:SOURce]:AM[1]|2[:DEPTh][:LIN

Page 163 - Program Messages

Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4 231:AM[1]|2[:DEPTh][:LINear]:TRACkSupported PSG-A Series[:SOURce]:AM[1]|2[:DEPT

Page 164 - File Name Variables

Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4232:AM[:DEPTh]:STEP[:INCRement]Supported PSG-A Series[:SOURce]:AM[:DEPTh]:STEP[:

Page 165

Command ReferenceCorrection Subsystem ([:SOURce]:CORRection)Chapter 4 233Correction Subsystem ([:SOURce]:CORRection):FLATness?Supported All[:SOURce]

Page 166

Command ReferenceCorrection Subsystem ([:SOURce]:CORRection)Chapter 4234:FLATness:PAIRSupported All[:SOURce]:CORRection:FLATness:PAIR <freq>[&

Page 167

Command ReferenceCorrection Subsystem ([:SOURce]:CORRection)Chapter 4 235:FLATness:PRESetSupported AllCAUTION The current correction data will be ov

Page 168 - IEEE 488.2 Common Commands

Getting StartedUsing GPIBChapter 1 11VISA Library The VISA library, at this time, does not have a similar command. NI-488.2 Library The NI-488.2 l

Page 169

Command ReferenceCorrection Subsystem ([:SOURce]:CORRection)Chapter 4236[:STATe] Supported All[:SOURce]:CORRection[:STATe] ON|OFF|1|0[:SOURce]:CORRe

Page 170 - Diagnostic Info

Command ReferenceFrequency Subsystem ([:SOURce])Chapter 4 237Frequency Subsystem ([:SOURce]):FREQuency:FIXedSupported All[:SOURce]:FREQuency:FIXed &

Page 171

Command ReferenceFrequency Subsystem ([:SOURce])Chapter 4238:FREQuency:MULTiplier Supported All[:SOURce]:FREQuency:MULTiplier <val>[:SOURce]:F

Page 172 - RECALL Reg Select Seq:

Command ReferenceFrequency Subsystem ([:SOURce])Chapter 4 239:FREQuency:OFFSet:STATeSupported All[:SOURce]:FREQuency:OFFSet:STATe ON|OFF|1|0[:SOURce

Page 173 - Save Reg Save Seq[n] Reg[nn]

Command ReferenceFrequency Subsystem ([:SOURce])Chapter 4240:FREQuency:STARt Supported All[:SOURce]:FREQuency:STARt <val><unit>[:SOURce]

Page 174

Command ReferenceFrequency Subsystem ([:SOURce])Chapter 4 241:FREQuency[:CW] Supported All[:SOURce]:FREQuency[:CW] <val><unit>[:SOURce]:

Page 175 - Run Complete Self Test

Command ReferenceFrequency Subsystem ([:SOURce])Chapter 4242:PHASe[:ADJust] Supported All[:SOURce]:PHASe[:ADJust] <val><unit>[:SOURce]:P

Page 176 - DCFM/DCΦM Cal

Command ReferenceFrequency Subsystem ([:SOURce])Chapter 4 243:ROSCillator:SOURce:AUTO Supported All except signal generators with Option UNJ[:SOURce

Page 177 - :LAN:HOSTname

Command ReferenceFrequency Modulation Subsystem ([:SOURce])Chapter 4244Frequency Modulation Subsystem ([:SOURce]):FM[1]|2...Supported PSG-A Series[:

Page 178 - :PMETer:ADDRess

Command ReferenceFrequency Modulation Subsystem ([:SOURce])Chapter 4 245:FM:INTernal:FREQuency:STEP[:INCRement]Supported PSG-A Series[:SOURce]:FM:IN

Page 179 - :PMETer:IDN

Getting StartedUsing GPIBChapter 112Clear FunctionThe Agilent BASIC function CLEAR and the other listed IO library functions cause the signal generato

Page 180 - :SERial:BAUD

Command ReferenceFrequency Modulation Subsystem ([:SOURce])Chapter 4246:FM[1]|2:EXTernal[1]|2:IMPedanceSupported PSG-A Series[:SOURce]:FM[1]|2:EXTer

Page 181 - :SERial:RECeive:PACE

Command ReferenceFrequency Modulation Subsystem ([:SOURce])Chapter 4 247:FM[1]|2:INTernal[1]:FREQuency:ALTernate:AMPLitude:PERCentSupported PSG-A Se

Page 182 - :SERial:TOUT

Command ReferenceFrequency Modulation Subsystem ([:SOURce])Chapter 4248:FM[1]|2:INTernal[1]:SWEep:TRIGgerSupported PSG-A Series[:SOURce]:FM[1]|2:INT

Page 183 - :SERial:TRANsmit:PACE

Command ReferenceFrequency Modulation Subsystem ([:SOURce])Chapter 4 249:FM[1]|2:INTernal[1]|2:FREQuencySupported PSG-A Series[:SOURce]:FM[1]|2:INTe

Page 184 - [:CPU]:INFOrmation:BOARds

Command ReferenceFrequency Modulation Subsystem ([:SOURce])Chapter 4250:FM[1]|2:INTernal[1]|2:FUNCtion:RAMPSupported PSG-A Series[:SOURce]:FM[1]|2:I

Page 185 - [:CPU]:INFOrmation:OPTions

Command ReferenceFrequency Modulation Subsystem ([:SOURce])Chapter 4 251:FM[1]|2:SOURceSupported PSG-A Series[:SOURce]:FM[1]|2:SOURce INT[1]|INT2|EX

Page 186 - [:CPU]:INFOrmation:REVision

Command ReferenceFrequency Modulation Subsystem ([:SOURce])Chapter 4252:FM[1]|2[:DEViation]Supported PSG-A Series[:SOURce]:FM[1]|2[:DEViation] <v

Page 187 - [:CPU]:INFOrmation:SDATe

Command ReferenceFrequency Modulation Subsystem ([:SOURce])Chapter 4 253:FM[1]|2[:DEViation]:TRACkSupported PSG-A Series[:SOURce]:FM[1]|2[:DEViation

Page 188 - Display Subsystem (:DISPlay)

Command ReferenceList/Sweep subsystem ([:SOURce])Chapter 4254List/Sweep subsystem ([:SOURce]):LIST:DIRectionSupported All[:SOURce]:LIST:DIRection UP

Page 189 - :INVerse

Command ReferenceList/Sweep subsystem ([:SOURce])Chapter 4 255:LIST:DWELlSupported All[:SOURce]:LIST:DWELl <val>{,<val>}[:SOURce]:LIST:D

Page 190 - [:WINDow][:STATe]

Getting StartedUsing GPIBChapter 1 13NI-488.2 Library The NI-488.2 library function addresses the GPIB and writes data to the signal generator. The

Page 191 - Memory Subsystem (:MEMory)

Command ReferenceList/Sweep subsystem ([:SOURce])Chapter 4256:LIST:DWELl:TYPESupported All[:SOURce]:LIST:DWELl:TYPE LIST|STEP[:SOURce]:LIST:DWELl:TY

Page 192 - :CATalog:STATe

Command ReferenceList/Sweep subsystem ([:SOURce])Chapter 4 257:LIST:FREQuency:POINtsSupported All[:SOURce]:LIST:FREQuency:POINts?This command querie

Page 193 - :CATalog[:ALL]

Command ReferenceList/Sweep subsystem ([:SOURce])Chapter 4258:LIST:MODESupported All[:SOURce]:LIST:MODE AUTO|MANual[:SOURce]:LIST:MODE?This command

Page 194 - :COPY[:NAME]

Command ReferenceList/Sweep subsystem ([:SOURce])Chapter 4 259:LIST:POWer:POINtsSupported All[:SOURce]:LIST:POWer:POINts?This command queries the nu

Page 195 - :DELete:BINary

Command ReferenceList/Sweep subsystem ([:SOURce])Chapter 4260:LIST:TYPESupported All[:SOURce]:LIST:TYPE LIST|STEP[:SOURce]:LIST:TYPE?This command to

Page 196 - :DELete:UFLT

Command ReferenceList/Sweep subsystem ([:SOURce])Chapter 4 261:LIST:TYPE:LIST:INITialize:PRESetSupported AllCAUTION The current list sweep data will

Page 197 - :LOAD:LIST

Command ReferenceList/Sweep subsystem ([:SOURce])Chapter 4262:SWEep:DWELlSupported All[:SOURce]:SWEep:DWELl <val>[:SOURce]:SWEep:DWELl?This co

Page 198 - :STORe:LIST

Command ReferenceLow Frequency Output Subsystem ([:SOURce]:LFOutput)Chapter 4 263Low Frequency Output Subsystem ([:SOURce]:LFOutput):AMPLitudeSupporte

Page 199 - :CATalog

Command ReferenceLow Frequency Output Subsystem ([:SOURce]:LFOutput)Chapter 4264:FUNCtion[1]:FREQuency:ALTernate:AMPLitude:PERCentSupported PSG-A Se

Page 200 - Copy File

Command ReferenceLow Frequency Output Subsystem ([:SOURce]:LFOutput)Chapter 4 265:FUNCtion[1]:SWEep:TRIGgerSupported PSG-A Series[:SOURce]:LFOutput:

Page 201

Getting StartedUsing LANChapter 114Using LAN The signal generator can be remotely programmed via a LAN interface and LAN-connected computer using one

Page 202

Command ReferenceLow Frequency Output Subsystem ([:SOURce]:LFOutput)Chapter 4266:FUNCtion[1]|2:FREQuencySupported PSG-A Series[:SOURce]:LFOutput:FUN

Page 203 - Output Subsystem(:OUTPut)

Command ReferenceLow Frequency Output Subsystem ([:SOURce]:LFOutput)Chapter 4 267:FUNCtion:NOISeSupported PSG-A Series[:SOURce]:LFOutput:FUNCtion[1]

Page 204 - Status Subsystem (:STATus)

Command ReferenceLow Frequency Output Subsystem ([:SOURce]:LFOutput)Chapter 4268:SOURceSupported PSG-A Series[:SOURce]:LFOutput:SOURce INT[1]|INT2|F

Page 205 - :OPERation:PTRansition

Command ReferencePhase Modulation subsystem ([:SOURce])Chapter 4 269Phase Modulation subsystem ([:SOURce]):PM[1]|2...Supported PSG-A Series[:SOURce]

Page 206 - :OPERation[:EVENt]

Command ReferencePhase Modulation subsystem ([:SOURce])Chapter 4270:PM:INTernal:FREQuency:STEP[:INCRement]Supported PSG-A Series[:SOURce]:PM:INTerna

Page 207

Command ReferencePhase Modulation subsystem ([:SOURce])Chapter 4 271:PM[1]|2:EXTernal[1]|2:COUPlingSupported PSG-A Series[:SOURce]:PM[1]|2:EXTernal[

Page 208

Command ReferencePhase Modulation subsystem ([:SOURce])Chapter 4272:PM[1]|2:INTernal[1]:FREQuency:ALTernateSupported PSG-A Series[:SOURce]:PM[1]|2:I

Page 209 - :QUEStionable:CONDition

Command ReferencePhase Modulation subsystem ([:SOURce])Chapter 4 273:PM[1]|2:INTernal[1]:SWEep:RATESupported PSG-A Series[:SOURce]:PM[1]|2:INTernal[

Page 210 - :QUEStionable:ENABle

Command ReferencePhase Modulation subsystem ([:SOURce])Chapter 4274:PM[1]|2:INTernal[1]|2:FREQuencySupported. PSG-A Series[:SOURce]:PM[1]|2:INTernal[1

Page 211

Command ReferencePhase Modulation subsystem ([:SOURce])Chapter 4 275:PM[1]|2:INTernal[1]|2:FUNCtion:RAMPSupported PSG-A Series[:SOURce]:PM[1]|2:INTe

Page 212

Getting StartedUsing LANChapter 1 152. Setting Up the LAN InterfaceFor LAN operation, an IP address must be assigned to the signal generator and the s

Page 213

Command ReferencePhase Modulation subsystem ([:SOURce])Chapter 4276:PM[1]|2:SOURceSupported PSG-A Series[:SOURce]:PM[1]|2:SOURce INT[1]|INT2|EXT1|EX

Page 214

Command ReferencePhase Modulation subsystem ([:SOURce])Chapter 4 277:PM[1]|2[:DEViation]Supported PSG-A Series[:SOURce]:PM[1]|2[:DEViation] <val&

Page 215

Command ReferencePhase Modulation subsystem ([:SOURce])Chapter 4278:PM[1]|2[:DEViation]:TRACkSupported PSG-A Series[:SOURce]:PM[1]|2[:DEViation]:TRA

Page 216

Command ReferencePower Subsystem ([:SOURce])Chapter 4 279Power Subsystem ([:SOURce]):POWer:ALC:BANDwidth|BWIDthSupported All[:SOURce]:POWer:ALC:BAND

Page 217 - :QUEStionable:NTRansition

Command ReferencePower Subsystem ([:SOURce])Chapter 4280:POWer:ALC:LEVelSupported All with Option 1E1[:SOURce]:POWer:ALC:LEVel <value>DB[:SOUR

Page 218 - :QUEStionable:POWer:ENABle

Command ReferencePower Subsystem ([:SOURce])Chapter 4 281:POWer:ALC:SOURceSupported All[:SOURce]:POWer:ALC:SOURce INTernal|DIODe|MMHead[:SOURce]:POW

Page 219

Command ReferencePower Subsystem ([:SOURce])Chapter 4282:POWer:ALC[:STATe]Supported All[:SOURce]:POWer:ALC[:STATe] ON|OFF|1|0[:SOURce]:POWer:ALC[:ST

Page 220 - :QUEStionable:POWer[:EVENt]

Command ReferencePower Subsystem ([:SOURce])Chapter 4 283:POWer:ATTenuation:AUTOSupported All with Option 1E1[:SOURce]:POWer:ATTenuation:AUTO ON|OFF

Page 221 - :QUEStionable[:EVENt]

Command ReferencePower Subsystem ([:SOURce])Chapter 4284:POWer:REFerenceSupported All[:SOURce]:POWer:REFerence <val><unit>[:SOURce]:POWe

Page 222 - System Subsystem (:SYSTem)

Command ReferencePower Subsystem ([:SOURce])Chapter 4 285:POWer:STARtSupported All[:SOURce]:POWer:STARt <val><unit>[:SOURce]:POWer:STARt

Page 223 - :HELP:MODE

Contents iii1. Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Introduction t

Page 224 - :PON:TYPE

Getting StartedUsing LANChapter 116Table 1-12 Ping ResponsesNormal Response for UNIXA normal response to the ping command will be a total of 9 or 10 p

Page 225 - :PRESet:PERSistent

Command ReferencePower Subsystem ([:SOURce])Chapter 4286:POWer[:LEVel][:IMMediate]:OFFSetSupported All[:SOURce]:POWer[:LEVel][:IMMediate]:OFFSet <

Page 226 - :PRESet[:USER]:SAVE

Command ReferencePower Subsystem ([:SOURce])Chapter 4 287:POWer[:LEVel][:IMMediate][:AMPLitude]Supported All[:SOURce]:POWer[:LEVel][:IMMediate][:AMP

Page 227 - :SSAVer:MODE

Command ReferencePulse Modulation Subsystem ([:SOURce])Chapter 4288Pulse Modulation Subsystem ([:SOURce]):PULM:INTernal[1]:DELaySupported PSG-A Seri

Page 228 - :VERSion

Command ReferencePulse Modulation Subsystem ([:SOURce])Chapter 4 289:PULM:INTernal[1]:DELay:STEPSupported PSG-A Series[:SOURce]:PULM:INTernal[1]:DEL

Page 229 - Trigger Subsystem

Command ReferencePulse Modulation Subsystem ([:SOURce])Chapter 4290:PULM:INTernal[1]:PERiodSupported PSG-A Series[:SOURce]:PULM:INTernal[1]:PERiod &

Page 230 - :TRIGger:OUTPut:POLarity

Command ReferencePulse Modulation Subsystem ([:SOURce])Chapter 4 291:PULM:INTernal[1]:PWIDthSupported PSG-A Series[:SOURce]:PULM:INTernal[1]:PWIDth

Page 231 - :TRIGger[:SEQuence]:SOURce

Command ReferencePulse Modulation Subsystem ([:SOURce])Chapter 4292:PULM:SOURceSupported PSG-A Series[:SOURce]:PULM:SOURce INTernal|EXTernal[:SOURce

Page 232

Command ReferencePulse Modulation Subsystem ([:SOURce])Chapter 4 293:PULM:STATeSupported PSG-A Series[:SOURce]:PULM:STATe ON|OFF|1|0[:SOURce]:PULM:S

Page 233 - Unit Subsystem (:UNIT)

Command ReferenceSCPI Command CompatibilityChapter 4294SCPI Command Compatibility:SYSTem:IDNSupported All:SYSTem:IDN "<string>"This

Page 234 - :AM[1]

Command ReferenceSCPI Command CompatibilityChapter 4 2958340B/41B Compatible Commands (firmware ≥ C.01.21)The tables in this section provide the follo

Page 235 - Incr Set

Getting StartedUsing LANChapter 1 17Using VXI-11 The signal generator supports the LAN interface protocol described in the VXI-11 standard. VXI-11 is

Page 236 - :AM:MODE

Command ReferenceSCPI Command CompatibilityChapter 4296Table 4-5 8340B/41B Programming Codes and Equivalent SCPI SequencesCode Description Equivalent

Page 237 - Ext Impedance 50 Ohm 600 Ohm

Command ReferenceSCPI Command CompatibilityChapter 4 297DF Delta frequency FREQuency:MODE LISTPOWer:MODE FIXEDLIST:TYPE STEPINITiate:CONTinuous[:ALL]

Page 238 - AM Tone 2 Rate AM Stop Rate

Command ReferenceSCPI Command CompatibilityChapter 4298GZ GHz terminator GHZHZ Hz terminator HZIF Increment frequency TRIGger[:SEQuence][:IMMediate]or

Page 239 - Bus Free Run Ext Trigger Key

Command ReferenceSCPI Command CompatibilityChapter 4 299M2 Marker 2 on not supportedM3 Marker 3 on not supportedM4 Marker 4 on not supportedM5 Marker

Page 240 - Gaussian Uniform

Command ReferenceSCPI Command CompatibilityChapter 4300OPFA Output start frequency FREQuency:START?OPFB Output stop frequency FREQuency:STOP?OPFM1 Out

Page 241 - Positive Negative

Command ReferenceSCPI Command CompatibilityChapter 4 301S2 Sweep, single not supportedS3 Sweep, manual not supportedSC Seconds terminator not supporte

Page 242 - :AM[1]

Command ReferenceSCPI Command CompatibilityChapter 4302SHM4 Diagnostic: test/display results not supportedSHM5 Diagnostics off not supportedSHMO All

Page 243 - :AM[1]

Command ReferenceSCPI Command CompatibilityChapter 4 303SHKZ Write to IO not supportedSHHZ Read from IO not supportedSL0 Power slope off POWer:SLOPe:S

Page 244 - :AM[1]

Command ReferenceSCPI Command CompatibilityChapter 4304Table 4-6 Programming Codes that Set the Active Function; RB Compatibility; OA Query & UP/D

Page 245 - AM Depth Couple Off On

Command ReferenceSCPI Command CompatibilityChapter 4 305SHPL✓✓✓POWer[:LEVel][:Immediate][:AMPLitude]:STEP[:INCREment]?SHPS✓✓✓✓POWer:ALC:LEVel?POWer:AT

Page 246 - :AM[:DEPTh]:STEP[:INCRement]

Getting StartedUsing LANChapter 118Figure 1-2 Show Devices Form

Page 247 - :FLATness:LOAD

Command ReferenceSCPI Command CompatibilityChapter 4306Table 4-7 8340 Status Byte MasksBit Number 7 654 3 2 1 0DecimalValue128 64 32 16 8 4 2 1RM Mask

Page 248 - :FLATness:POINts?

Command ReferenceSCPI Command CompatibilityChapter 4 307Table 4-8 8340 OS Status Byte #1Bit Number 7 6 5 4Decimal Value 128 64 32 16FunctionSRQ on New

Page 249 - :FLATness:STORe

Command ReferenceSCPI Command CompatibilityChapter 4308Table 4-9 OS Status Byte #2Bit Number 7 6 5 4Decimal Value 128 64 32 16Function Fault indicator

Page 250 - [:STATe]

Command ReferenceSCPI Command CompatibilityChapter 4 309836xxB/L Compatible SCPI CommandsTable 4-10 is a comprehensive list of 836xxB/L SCPI commands

Page 251 - :FREQuency:MODE

Command ReferenceSCPI Command CompatibilityChapter 4310*STB?YY*TRGYY*TST?YY*WAIYYAbort Subsystem :ABORtYYAmplitude Modulation Subsystem :AM[:DEPTh] &l

Page 252 - :FREQuency:OFFSet

Command ReferenceSCPI Command CompatibilityChapter 4 311Calibration Subsystem:CALibration:AM:AUTO ON|OFF|1|0N:CALibration:AM:AUTO?N:CALibration:AM[:EX

Page 253 - :FREQuency:REFerence:STATe

Command ReferenceSCPI Command CompatibilityChapter 4312:CORRection:FLATness:POINts? [MAXimum|MINimum]YY:CORRection[:STATe] ON|OFF|1|0YY:CORRection[:ST

Page 254 - :FREQuency:STOP

Command ReferenceSCPI Command CompatibilityChapter 4 313:DIAGnostics:TEST:ENABle {<num>}1*?|ALLNN:DIAGnostics:TEST[:EXECute] <value>NN:DIA

Page 255 - :PHASe:REFerence

Command ReferenceSCPI Command CompatibilityChapter 4314:FM:INTernal:FREQuency <num>[<freq suffix>]|MAXimum|MINimumY:FM:INTernal:FREQuency?

Page 256 - :ROSCillator:SOURce

Command ReferenceSCPI Command CompatibilityChapter 4 315:FREQuency:MANual <num>[freq suffix]|MAXimum|MINimum|UP|DOWNNN:FREQuency:MANual? [MAXimu

Page 257 - :ROSCillator:SOURce:AUTO

Getting StartedUsing LANChapter 1 19Using Sockets LAN Sockets LAN is a method used to communicate with the signal generator over the LAN interface usi

Page 258 - :FM[1]

Command ReferenceSCPI Command CompatibilityChapter 4316:FREQuency:STOP <num>[<freq suffix>]|MAXimum|MINimum|UP|DOWNYY:FREQuency:STOP? [MAX

Page 259

Command ReferenceSCPI Command CompatibilityChapter 4 317:LIST:TRIGger:SOURce?YYMarker Subsystem:MARKer[n]:AMPLitude[:STATe] ON|OFF|1|0NN:MARKer[n]:AMP

Page 260 - FM Tone 2 Rate FM Stop Rate

Command ReferenceSCPI Command CompatibilityChapter 4318:MODulation:OUTPut:STATe ON|OFF|1|0Y:MODulation:OUTPut:STATe?Y:MODulation:STATe?YPower Subsyste

Page 261 - FM Sweep Rate

Command ReferenceSCPI Command CompatibilityChapter 4 319:POWer:ATTenuation:AUTO ON|OFF|1|0YY:POWer:ATTenuation:AUTO?YY:POWer:CENTer <num>[<lv

Page 262

Command ReferenceSCPI Command CompatibilityChapter 4320:POWer:SPAN? [MAXimum|MINimum]YY:POWer:STARt <val><unit>|MAXimum|MINimum|UP|DOWNYY:

Page 263 - Gaussian

Command ReferenceSCPI Command CompatibilityChapter 4 321:PULM:INTernal:PERiod <num>[<time suffix>]|MAXimum|MINimumY:PULM:INTernal:PERiod?

Page 264 - Negative

Command ReferenceSCPI Command CompatibilityChapter 4322Reference Oscillator Subsystem:ROSCillator:SOURce?YY:ROSCillator:SOURce:AUTO ON|OFF|1|0YY:ROSCi

Page 265 - :FM[1]

Command ReferenceSCPI Command CompatibilityChapter 4 323:STATus:QUEStionable:PTRansition?YYSweep Subsystem:SWEep:CONTrol:STATe ON|OFF|1|0NN:SWEep:CONT

Page 266 - :FM[1]

Command ReferenceSCPI Command CompatibilityChapter 4324:SWEep:POINts? [MAXimum|MINimum]YY:SWEep:STEP <value>[<freq suffix>]|MAXimum|MINimu

Page 267 - :FM[1]

Command ReferenceSCPI Command CompatibilityChapter 4 325:SYSTem:MMHead:SELect FRONt|REAR|NONEcYY:SYSTem:MMHead:SELect?YY:SYSTem:PRESet[:EXECute]YY:SYS

Page 268 - :LIST:DIRection

Getting StartedUsing LANChapter 120Using TELNET LAN TELNET provides a means of communicating with the signal generator over the LAN. The TELNET client

Page 269 - :LIST:DWELl:POINts

Command ReferenceSCPI Command CompatibilityChapter 4326:UNIT:POWer {<lvl suffix>}YY:UNIT:POWer?YYa. The identification information can be modife

Page 270 - :LIST:FREQuency

Command ReferenceSCPI Command CompatibilityChapter 4 3278373xB and 8371xB Compatible SCPI CommandsTable 4-11 is a comprehensive list of 8373xB and 837

Page 271 - :LIST:MANual

Command ReferenceSCPI Command CompatibilityChapter 4328*PMCNN*PSCYY*PSC?YY*RCL <reg_num>YY*RMCNN*RSTYY*SAV <reg_num>YY*SRE <data>YY*

Page 272 - :LIST:POWer

Command ReferenceSCPI Command CompatibilityChapter 4 329[:SOURce]:AM:INTernal:FUNCtion SINusoid|SQUare|TRIangle|RAMP|NOISe|UNIForm|GAUSsianY[:SOURce]:

Page 273 - :LIST:TRIGger:SOURce

Command ReferenceSCPI Command CompatibilityChapter 4330[:SOURce]:CORRection:CSET[:SELect]?NN[:SOURce]:CORRection:CSET:STATe ON|OFF|1|0NN[:SOURce]:CORR

Page 274 - :LIST:TYPE

Command ReferenceSCPI Command CompatibilityChapter 4 331[:SOURce]:FREQuency[:CW|:FIXed]:STEP?YY[:SOURce]:FREQuency:MULTiplier <val>|UP|DOWN|DEFa

Page 275 - Preset List

Command ReferenceSCPI Command CompatibilityChapter 4332[:SOURce]:MODulation:STATe?YOutput Subsystem:OUTPut:IMPedance?NN:OUTPut:PROTection[:STATe] ON|O

Page 276 - :SWEep:POINts

Command ReferenceSCPI Command CompatibilityChapter 4 333[:SOURce]:POWer:ALC:PMETer:STEP incr|MINimum|MAXimum|DEFaultNN[:SOURce]:POWer:ALC:PMETer:STEP?

Page 277 - :AMPLitude

Command ReferenceSCPI Command CompatibilityChapter 4334Pulse Subsystem[:SOURce]:PULSe:DELay delay|MINimum|MAXimum|UP|DOWN|DEFaultY[:SOURce]:PULSe:DELa

Page 278 - :FUNCtion[1]:SWEep:RATE

Command ReferenceSCPI Command CompatibilityChapter 4 335[:SOURce]:PULSe:WIDTh:STEP <num>[<time suffix>]|DEFault Y[:SOURce]:PULSe

Page 279 - :FUNCtion[1]:SWEep:TRIGger

Getting StartedUsing LANChapter 1 21Figure 1-3 Connect FormUsing TELNET On a PC With a Host/Port Setting Menu GUI1. On your PC click Start > Run. 2

Page 280 - :FUNCtion[1]

Command ReferenceSCPI Command CompatibilityChapter 4336System Subsystem:SYSTem:COMMunicate:GPIB:ADDRess <number>YY:SYSTem:COMMunicate:GPIB:ADDRe

Page 281 - :FUNCtion[1]

Command ReferenceSCPI Command CompatibilityChapter 4 337:UNIT:POWer?YY:UNIT:TIMENN:UNIT:TIME?NN:UNIT:VOLTage {<lvl suffix>}NN:UNIT:VOLTage?NNa.

Page 282 - Function Generator 2

Command ReferenceSCPI Command CompatibilityChapter 4338

Page 283 - :PM[1]

Index 339Symbolsphase modulation subsystem keysΦM Tone 2 Ampl Percent of Peak softkey, 272softkey, 269, 272, 273, 274, 276, 277, 278Numericssoftkey,

Page 284 - :PM[1]

Index340ABORT, 9CLEAR, 12ENTER, 13LOCAL, 11LOCAL LOCKOUT, 10OUTPUT, 12REMOTE, 10Binary softkey, 177, 185binary values, 153bit status, how and what to

Page 285

Index 341Delete All List Files, 182Delete All State Files, 182Delete All UFLT Files, 182Delete File, 183developing programs, 33Diagnostic Info softke

Page 286 - ΦM Stop Rate ΦM Tone 2 Rate

Index342FM Start Rate, 249FM Stop Rate, 246FM Sweep Rate, 247FM Tone 1 Rate, 249FM Tone 2 Amp Percent of Peak, 247FM Tone 2 Rate, 246Free Run, 248Gaus

Page 287 - ΦM Sweep Rate

Index 343Internal softkeysInternal, 281Internal 1, 251, 276Internal 1 Monitor, 268Internal 2, 251, 276Internal 2 Monitor, 268Internal Square, 292Inve

Page 288

Index344MManual Mode Off On softkey, 258manual operation, 10Manual Point softkey, 257mass memory subsystem keysBinary, 185Copy File, 186Delete File, 1

Page 289

Index 345Ext1, 276Ext2, 276FM ΦM Normal High BW, 270Free Run, 273Gaussian, 274Incr Set, 270, 278Internal 1, 276Internal 2, 276Negative, 275Noise, 275

Page 290 - :PM[1]

Getting StartedUsing LANChapter 122Figure 1-4 TELNET WindowThe Standard UNIX TELNET CommandSynopsis telnet [host [port]] Description This command is

Page 291 - :PM[1]

Index346data questionable modulation event, 132data questionable modulation event enable, 132data questionable power condition, 125data questionable p

Page 292 - :PM[1]

Index 347SCPI register model, 102Screen Saver softkeysScreen Saver, 213Screen Saver Delay:, 213Screen Saver Off On, 214Select Seq: softkey, 158servic

Page 293 - Power Subsystem ([:SOURce])

Index348STB command, 108Step Dwell softkey, 262Store To File softkey, 184, 188, 235string response data, 148string SCPI parameter, 147strings, quote u

Page 294 - :POWer:ALC:SEARch

Getting StartedUsing LANChapter 1 23NOTE If your TELNET connection is in line-by-line mode, there is no local echo. This means you cannot see the cha

Page 295 - :POWer:ALC:SOURce

Getting StartedUsing LANChapter 124Using FTP FTP allows users to transfer files between the signal generator and any computer connected to the LAN. Fo

Page 296 - :POWer:ATTenuation

Getting StartedUsing LANChapter 1 25The following steps outline a sample FTP session from the MS-DOS Command Prompt:1. On the PC click Start > Prog

Page 297 - :POWer:MODE

ContentsivQueries Using NI-488.2 and C++. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43Queries Using VISA and C.

Page 298 - :POWer:REFerence:STATe

Getting StartedUsing RS-232Chapter 126Using RS-232 The RS-232 serial interface can be used to communicate with the signal generator. The RS-232 connec

Page 299 - :POWer:STOP

Getting StartedUsing RS-232Chapter 1 272. Setting Up the RS-232 Interface1. Press Utility > GPIB/RS-232 > RS-232 Baud Rate > 9600 Use baud ra

Page 300 - Ampl Offset

Getting StartedUsing RS-232Chapter 1283. Verifying RS-232 FunctionalityYou can use the HyperTerminal program available on your computer to verify the

Page 301

Getting StartedUsing RS-232Chapter 1 29If You Have Problems1. Verify that the baud rate, parity, stop bits, and flow control are the same for the comp

Page 302 - :PULM:INTernal[1]:DELay

Getting StartedUsing RS-232Chapter 130

Page 304 - :PULM:INTernal[1]:PERiod

Programming ExamplesUsing the Programming ExamplesChapter 232Using the Programming Examples The programming examples for remote control of the signal

Page 305 - :PULM:INTernal[1]:PWIDth:STEP

Programming ExamplesUsing the Programming ExamplesChapter 2 33Programming Examples Development EnvironmentThe C/C++ examples in this guide were writte

Page 306 - :PULM:SOURce:INTernal

Programming ExamplesGPIB Programming ExamplesChapter 234GPIB Programming Examples• “Interface Check using Agilent BASIC” on page 35• “Interface Check

Page 307 - :PULM:STATe

Programming ExamplesGPIB Programming ExamplesChapter 2 35Interface Check using Agilent BASIC This simple program causes the signal generator to perfor

Page 308 - SCPI Command Compatibility

Contents vData Questionable Power Status Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124Data Questionable Frequency St

Page 309

Programming ExamplesGPIB Programming ExamplesChapter 236Interface Check Using NI-488.2 and C++This example uses the NI-488.2 library to verify that th

Page 310 - Chapter 4296

Programming ExamplesGPIB Programming ExamplesChapter 2 37Interface Check using VISA and CThis program uses VISA library functions and the C language t

Page 311 - Chapter 4 297

Programming ExamplesGPIB Programming ExamplesChapter 238Local Lockout Using Agilent BASICThis example demonstrates the Local Lockout function. Local L

Page 312 - Chapter 4298

Programming ExamplesGPIB Programming ExamplesChapter 2 39Local Lockout Using NI-488.2 and C++This example uses the NI-488.2 library to set the signal

Page 313 - Chapter 4 299

Programming ExamplesGPIB Programming ExamplesChapter 240cout<<endl;cout<<"The signal generator should now be in local mode\n";re

Page 314 - Chapter 4300

Programming ExamplesGPIB Programming ExamplesChapter 2 41Queries Using Agilent BASIC This example demonstrates signal generator query commands. The si

Page 315 - Chapter 4 301

Programming ExamplesGPIB Programming ExamplesChapter 242420 END IF430 OUTPUT Sig_gen;"*IDN?" ! Querys for signal generator ID440 EN

Page 316 - Chapter 4302

Programming ExamplesGPIB Programming ExamplesChapter 2 43Queries Using NI-488.2 and C++This example uses the NI-488.2 library to query different instr

Page 317 - Chapter 4 303

Programming ExamplesGPIB Programming ExamplesChapter 244cin.ignore(10000,’\n’);ibwrt(sig, ":FREQ:MODE?",11); // Querys source frequency m

Page 318

Programming ExamplesGPIB Programming ExamplesChapter 2 45Queries Using VISA and CThis example uses VISA library functions to query different instrumen

Page 319

Contentsvi*TST?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161*WAI . .

Page 320

Programming ExamplesGPIB Programming ExamplesChapter 246getch(); viPrintf(vi, "POW:AMPL?\n"); // Querys the power levelviScanf(vi, "

Page 321 - Chapter 4 307

Programming ExamplesGPIB Programming ExamplesChapter 2 47Generating a CW Signal Using VISA and CThis example uses VISA library functions to control th

Page 322 - Table 4-9 OS Status Byte #2

Programming ExamplesGPIB Programming ExamplesChapter 248viPrintf(vi, "POW:AMPL -2.3 dBm\n"); // Set the power level to -2.3 dBmviPrintf(vi,

Page 323

Programming ExamplesGPIB Programming ExamplesChapter 2 49Generating an Externally Applied AC-Coupled FM Signal Using VISA and CIn this example, the VI

Page 324

Programming ExamplesGPIB Programming ExamplesChapter 250printf("for an AC-coupled FM signal\n");printf("Press any key to continue\n&quo

Page 325

Programming ExamplesGPIB Programming ExamplesChapter 2 51Generating an Internal AC-Coupled FM Signal Using VISA and CIn this example the VISA library

Page 326

Programming ExamplesGPIB Programming ExamplesChapter 252viPrintf(vi, "FREQ 900 MHz\n"); // Sets carrier frequency to 700 MHzviPrintf(v

Page 327

Programming ExamplesGPIB Programming ExamplesChapter 2 53Generating a Step-Swept Signal Using VISA and CIn this example the VISA library is used to se

Page 328

Programming ExamplesGPIB Programming ExamplesChapter 254viPrintf(vi, "INIT:CONT ON\n"); // Begins the step sweep operation

Page 329

Programming ExamplesGPIB Programming ExamplesChapter 2 55Saving and Recalling States Using VISA and CIn this example, instrument settings are saved in

Page 330

Contents vii:CATalog:BINary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177:CATalog:LIS

Page 331

Programming ExamplesGPIB Programming ExamplesChapter 256printf("used to save and recall an instrument’s state\n");printf("\n");viP

Page 332

Programming ExamplesGPIB Programming ExamplesChapter 2 57Reading the Data Questionable Status Register Using VISA and CIn this example, the signal gen

Page 333

Programming ExamplesGPIB Programming ExamplesChapter 258viClear(vi); // Clears the signal generator // Prints user information

Page 334

Programming ExamplesGPIB Programming ExamplesChapter 2 59printf("Press Enter when ready\n");printf("\n");getch();

Page 335

Programming ExamplesGPIB Programming ExamplesChapter 260Reading the Service Request Interrupt (SRQ) Using VISA and CThis example demonstrates use of t

Page 336

Programming ExamplesGPIB Programming ExamplesChapter 2 61ViStatus viStatus = 0; // Declares a variable of type ViStatus // for G

Page 337

Programming ExamplesGPIB Programming ExamplesChapter 262viStatus = viInstallHandler(vi, VI_EVENT_SERVICE_REQ, interupt, rdBuffer);// The next line of

Page 338

Programming ExamplesGPIB Programming ExamplesChapter 2 63viClose(event); // Closes the eventreturn VI_SUCCESS;}

Page 339

Programming ExamplesLAN Programming ExamplesChapter 264LAN Programming Examples• “VXI-11 Programming Using SICL in C” on page 65• “VXI-11 Programming

Page 340

Programming ExamplesLAN Programming ExamplesChapter 2 65VXI-11 Programing The signal generator supports the VXI-11 standard for instrument communicati

Page 341

Contentsviii:QUEStionable:CALibration:NTRansition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194:QUEStionable:CALibration:PTRans

Page 342

Programming ExamplesLAN Programming ExamplesChapter 266char buf[256]; // Variable for id stringionerror(I_ERROR_EXIT); // Register SICL error handler

Page 343

Programming ExamplesLAN Programming ExamplesChapter 2 67// screen. Next the signal generator is set for a -5 dBm power level and then// queried for th

Page 344

Programming ExamplesLAN Programming ExamplesChapter 268status = viRead(instr, (ViBuf)buffer, MAX_COUNT, &retCount);buffer[retCount]= ’\0’;

Page 345

Programming ExamplesLAN Programming ExamplesChapter 2 69Sockets LAN Programming using C The program listing shown in “Setting Parameters and Sending Q

Page 346

Programming ExamplesLAN Programming ExamplesChapter 270The int main1() function will output a sequence of commands in a program format. If you want to

Page 347

Programming ExamplesLAN Programming ExamplesChapter 2 71The int main1() function will output a sequence of commands in a program format. If you want t

Page 348

Programming ExamplesLAN Programming ExamplesChapter 272Setting Parameters and Sending Queries Using Sockets and CThe following programming examples ar

Page 349

Programming ExamplesLAN Programming ExamplesChapter 2 73 * routines typically use the lower level read() and write() calls. * * - In the Win

Page 350

Programming ExamplesLAN Programming ExamplesChapter 274# include <unistd.h> /* for getopt(3C) */#endif#define COMMAND_ERROR (1)#defi

Page 351

Programming ExamplesLAN Programming ExamplesChapter 2 75/*************************************************************************** * > $Function:

Page 352 - Chapter 4338

Contents ix:VERSion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214Trigger

Page 353 - Numerics

Programming ExamplesLAN Programming ExamplesChapter 276 peeraddr_in.sin_family = AF_INET; peeraddr_in.sin_port = htons((unsigned short)portNumbe

Page 354

Programming ExamplesLAN Programming ExamplesChapter 2 77 **************************************************************************/char * recv_line(S

Page 355

Programming ExamplesLAN Programming ExamplesChapter 278}/*************************************************************************** * > $Function:

Page 356

Programming ExamplesLAN Programming ExamplesChapter 2 79 { if (ch == ’#’) { /* binary data encountered - figure out what i

Page 357

Programming ExamplesLAN Programming ExamplesChapter 280 if (recv_line(sock, result, maxLength) == NULL) break; i

Page 358

Programming ExamplesLAN Programming ExamplesChapter 2 81 break; } puts(result_str); } while (1);}/************************

Page 359

Programming ExamplesLAN Programming ExamplesChapter 282/*************************************************************************** * > $Function:

Page 360

Programming ExamplesLAN Programming ExamplesChapter 2 83 if (optind < argc) { strcat(command, " ");

Page 361

Programming ExamplesLAN Programming ExamplesChapter 284 long bufBytes; bufBytes = queryInstrument(instSock, command,

Page 362

Programming ExamplesLAN Programming ExamplesChapter 2 85 { fwrite(" ", 2, 1, stdout) ;

Comments to this Manuals

No comments