Programming GuideAgilent TechnologiesPSG Family Signal GeneratorsThis guide applies to the signal generator models and associated serial number prefix
Contentsx:FLATness:STORe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235[:STATe] . . . .
Programming ExamplesLAN Programming ExamplesChapter 286 /*********************************************/ /* open a socket connection to the ins
Programming ExamplesLAN Programming ExamplesChapter 2 87 PRORGAM DESCRIPTION: getopt returns the next option letter in argv (starting from argv[1
Programming ExamplesLAN Programming ExamplesChapter 288 posn = strchr(optstring, c); /* DDP */ if (posn == NULL || c == ’:’) {
Programming ExamplesLAN Programming ExamplesChapter 2 89Sockets LAN Programming Using PERLThis example uses PERL script to control the signal generato
Programming ExamplesLAN Programming ExamplesChapter 290$response = <$sock>; chomp $response; print "Instrument ID: $response\n";
Programming ExamplesLAN Programming ExamplesChapter 2 91Sockets LAN Programming Using Java In this example the Java program connects to the signal gen
Programming ExamplesLAN Programming ExamplesChapter 292 // Setup read/write mechanism BufferedWriter out = ne
Programming ExamplesRS-232 Programming ExamplesChapter 2 93RS-232 Programming Examples• “Interface Check Using Agilent BASIC” on page 94• “Interface C
Programming ExamplesRS-232 Programming ExamplesChapter 294Interface Check Using Agilent BASIC This example program causes the signal generator to perf
Programming ExamplesRS-232 Programming ExamplesChapter 2 95Interface Check Using VISA and CThis program uses VISA library functions to communicate wit
Contents xi:LIST:DWELl. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255:LIST:DWELl
Programming ExamplesRS-232 Programming ExamplesChapter 296 if(viStatus){ // If operation fails, prompt userprintf("
Programming ExamplesRS-232 Programming ExamplesChapter 2 97Queries Using Agilent BASIC This example program demonstrates signal generator query comman
Programming ExamplesRS-232 Programming ExamplesChapter 298Queries Using VISA and CThis example uses VISA library functions to communicate with the sig
Programming ExamplesRS-232 Programming ExamplesChapter 2 99printf("\n");exit(0);} // Set timeout for
Programming ExamplesRS-232 Programming ExamplesChapter 2100
1013 Programming the Status Register System
Programming the Status Register SystemOverviewChapter 3102OverviewDuring remote operation, it is important to monitor the status of the signal generat
Programming the Status Register SystemOverviewChapter 3 103Figure 3-1 The Overall Status Byte Register System
Programming the Status Register SystemStatus Register Bit ValuesChapter 3104Status Register Bit ValuesEach bit in a register is represented by a numer
Programming the Status Register SystemAccessing Status Register InformationChapter 3 105Accessing Status Register Information1. Determine which regist
Contentsxii:PM[1]|2:INTernal[1]|2:FUNCtion:NOISe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274:PM[1]|2:INTernal[1]|2:FUNCtion:RA
Programming the Status Register SystemAccessing Status Register InformationChapter 3106Deciding How to MonitorYou can use either of two methods to pro
Programming the Status Register SystemAccessing Status Register InformationChapter 3 107Using the Service Request (SRQ) MethodThe programming language
Programming the Status Register SystemAccessing Status Register InformationChapter 3108If a program enables the controller to detect and respond to se
Programming the Status Register SystemAccessing Status Register InformationChapter 3 109*SRE, *SRE? (service request enable) sets and queries the valu
Programming the Status Register SystemStatus Byte GroupChapter 3110Status Byte GroupThe Status Byte Group includes the Status Byte Register and the Se
Programming the Status Register SystemStatus Byte GroupChapter 3 111Status Byte RegisterTable 3-3 Status Byte Register BitsBit Description0,1 Unused.
Programming the Status Register SystemStatus Byte GroupChapter 3112Service Request Enable RegisterThe Service Request Enable Register lets you choose
Programming the Status Register SystemStatus GroupsChapter 3 113Status GroupsThe Standard Operation Status Group and the Data Questionable Status Grou
Programming the Status Register SystemStatus GroupsChapter 3114Byte Register.Standard Event Status GroupThe Standard Event Status Group is used to det
Programming the Status Register SystemStatus GroupsChapter 3 115Standard Event Status RegisterTable 3-4 Standard Event Status Register BitsBit Descrip
Contents xiiiSCPI Command Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294:SYSTem:IDN . . . .
Programming the Status Register SystemStatus GroupsChapter 3116Standard Event Status Enable RegisterThe Standard Event Status Enable Register lets you
Programming the Status Register SystemStatus GroupsChapter 3 117Standard Operation Status GroupThe Standard Operation Status Group is used to determin
Programming the Status Register SystemStatus GroupsChapter 3118Standard Operation Condition RegisterThe Standard Operation Condition Register continuo
Programming the Status Register SystemStatus GroupsChapter 3 119Standard Operation Transition Filters (negative and positive)The Standard Operation Tr
Programming the Status Register SystemStatus GroupsChapter 3120Data Questionable Status GroupThe Data Questionable Status Group is used to determine t
Programming the Status Register SystemStatus GroupsChapter 3 121Data Questionable Condition RegisterThe Data Questionable Condition Register continuou
Programming the Status Register SystemStatus GroupsChapter 3122Data Questionable Transition Filters (negative and positive)The Data Questionable Trans
Programming the Status Register SystemStatus GroupsChapter 3 123Data Questionable Event Enable RegisterThe Data Questionable Event Enable Register let
Programming the Status Register SystemStatus GroupsChapter 3124Data Questionable Power Status GroupThe Data Questionable Power Status Group is used to
Programming the Status Register SystemStatus GroupsChapter 3 125Data Questionable Power Condition RegisterThe Data Questionable Power Condition Regist
Contentsxiv
Programming the Status Register SystemStatus GroupsChapter 3126Data Questionable Power Event RegisterThe Data Questionable Power Event Register latche
Programming the Status Register SystemStatus GroupsChapter 3 127Data Questionable Frequency Status GroupThe Data Questionable Frequency Status Group i
Programming the Status Register SystemStatus GroupsChapter 3128Data Questionable Frequency Condition RegisterThe Data Questionable Frequency Condition
Programming the Status Register SystemStatus GroupsChapter 3 129Data Questionable Frequency Event RegisterLatches transition events from the condition
Programming the Status Register SystemStatus GroupsChapter 3130Data Questionable Modulation Status GroupThe Data Questionable Modulation Status Group
Programming the Status Register SystemStatus GroupsChapter 3 131Data Questionable Modulation Condition RegisterThe Data Questionable Modulation Condit
Programming the Status Register SystemStatus GroupsChapter 3132Data Questionable Modulation Transition Filters (negative and positive)The Data Questio
Programming the Status Register SystemStatus GroupsChapter 3 133Data Questionable Calibration Status GroupThe Data Questionable Calibration Status Gro
Programming the Status Register SystemStatus GroupsChapter 3134Data Questionable Calibration Condition RegisterThe Data Questionable Calibration Condi
Programming the Status Register SystemStatus GroupsChapter 3 135Data Questionable Calibration Event Enable RegisterThe Data Questionable Calibration E
11 Getting Started
Programming the Status Register SystemStatus GroupsChapter 3136
1374 Command Reference
Command ReferenceCommand Reference InformationChapter 4138Command Reference InformationSCPI Command ListingsThe Table of Contents lists the PSG SCPI c
Command ReferenceSCPI BasicsChapter 4 139SCPI BasicsThis section describes the general use of the Standard Commands for Programmable Instruments (SCPI
Command ReferenceSCPI BasicsChapter 4140Command SyntaxA typical command is made up of keywords prefixed with colons (:). The keywords are followed by
Command ReferenceSCPI BasicsChapter 4 141Table 4-2 Command SyntaxCharacters, Keywords, and Syntax ExampleUpper-case lettering indicates the minimum se
Command ReferenceSCPI BasicsChapter 4142Command Types Commands can be separated into two groups: common commands and subsystem commands. Figure 4-1, s
Command ReferenceSCPI BasicsChapter 4 143Command TreeMost programming tasks involve subsystem commands. SCPI uses a structure for subsystem commands s
Command ReferenceSCPI BasicsChapter 4144Command Parameters and Responses SCPI defines different data formats for use in program and response messages.
Command ReferenceSCPI BasicsChapter 4 145The following are examples of numeric parameters:Extended Numeric ParametersMost subsystems use extended nume
Getting StartedIntroduction to Remote OperationChapter 12Introduction to Remote OperationPSG family signal generators support the following interfaces
Command ReferenceSCPI BasicsChapter 4146Discrete ParametersDiscrete parameters use mnemonics to represent each valid setting. They have a long and a s
Command ReferenceSCPI BasicsChapter 4 147String ParametersString parameters allow ASCII strings to be sent as parameters. Single or double quotes are
Command ReferenceSCPI BasicsChapter 4148Discrete Response DataDiscrete response data are similar to discrete parameters. The main difference is that d
Command ReferenceSCPI BasicsChapter 4 149Program MessagesThe following commands will be used to demonstrate the creation of program messages:[:SOURce]
Command ReferenceSCPI BasicsChapter 4150File Name VariablesFile name variables, such as "<file name>", represent two formats, "&l
Command ReferenceSCPI BasicsChapter 4 151MSUS (Mass Storage Unit Specifier) VariableThe variable "<msus>" enables a command to be file
Command ReferenceSCPI BasicsChapter 4152Quote Usage with SCPI CommandsAs a general rule, programming languages require that SCPI commands be enclosed
Command ReferenceSCPI BasicsChapter 4 153Binary, Decimal, Hexadecimal, and Octal FormatsCommand values may be entered using a binary, decimal, hexadec
Command ReferenceIEEE 488.2 Common CommandsChapter 4154IEEE 488.2 Common Commands*CLSSupported All*CLSThe Clear Status (CLS) command clears the Stat
Command ReferenceIEEE 488.2 Common CommandsChapter 4 155*ESE?Supported All*ESE?The Standard Event Status Enable (ESE) query returns the value of the
Getting StartedIntroduction to Remote OperationChapter 1 3InterfacesGPIB GPIB is used extensively when a dedicated computer is available for remote
Command ReferenceIEEE 488.2 Common CommandsChapter 4156*IDN?Supported All*IDN?The Identification (IDN) query outputs an identifying string. The resp
Command ReferenceIEEE 488.2 Common CommandsChapter 4 157*OPC?Supported All*OPC?The Operation Complete (OPC) query returns the ASCII character 1 when
Command ReferenceIEEE 488.2 Common CommandsChapter 4158*PSC?Supported All*PSC?The Power-On Status Clear (PSC) query returns the flag setting as enab
Command ReferenceIEEE 488.2 Common CommandsChapter 4 159*SAVSupported All*SAV <reg>,<seq> The Save (SAV) command saves the state of the
Command ReferenceIEEE 488.2 Common CommandsChapter 4160*SRE?Supported All*SRE?The Service Request Enable (SRE) query returns the value of the Servic
Command ReferenceIEEE 488.2 Common CommandsChapter 4 161*TST?Supported All*TST?The Self-Test (TST) query initiates the internal self-test and return
Command ReferenceCalibration subsystem (:CALibration)Chapter 4162Calibration subsystem (:CALibration):DCFMSupported PSG-A Series:CALibration:DCFMThi
Command ReferenceCommunication Subsystem (:SYSTem:COMMunicate)Chapter 4 163Communication Subsystem (:SYSTem:COMMunicate):GPIB:ADDRess Supported All:
Command ReferenceCommunication Subsystem (:SYSTem:COMMunicate)Chapter 4164:LAN:IPSupported All:SYSTem:COMMunicate:LAN:IP "<ipstring>"
Command ReferenceCommunication Subsystem (:SYSTem:COMMunicate)Chapter 4 165:PMETer:CHANnel Supported All:SYSTem:COMMunicate:PMETer:CHANnel A|B:SYSTe
Getting StartedIntroduction to Remote OperationChapter 14Programming LanguageThe programming language is used along with Standard Commands for Program
Command ReferenceCommunication Subsystem (:SYSTem:COMMunicate)Chapter 4166:PMETer:TIMEoutSupported All:SYSTem:COMMunicate:PMETer:TIMEout <num>
Command ReferenceCommunication Subsystem (:SYSTem:COMMunicate)Chapter 4 167:SERial:ECHOSupported All:SYSTem:COMMunicate:SERial:ECHO ON|OFF|1|0:SYSTe
Command ReferenceCommunication Subsystem (:SYSTem:COMMunicate)Chapter 4168:SERial:RESetSupported All:SYSTem:COMMunicate:SERial:RESetThis event comma
Command ReferenceCommunication Subsystem (:SYSTem:COMMunicate)Chapter 4 169:SERial:TRANsmit:PACESupported All:SYSTem:COMMunicate:SERial:TRANsmit:PAC
Command ReferenceDiagnostic Subsystem (:DIAGnostic)Chapter 4170Diagnostic Subsystem (:DIAGnostic)[:CPU]:INFOrmation:BOARdsSupported All:DIAGnostic[:
Command ReferenceDiagnostic Subsystem (:DIAGnostic)Chapter 4 171[:CPU]:INFOrmation:CCOunt:PONSupported All:DIAGnostic[:CPU]:INFOrmation:CCOunt:PON?T
Command ReferenceDiagnostic Subsystem (:DIAGnostic)Chapter 4172[:CPU]:INFOrmation:OPTions:DETailSupported All:DIAGnostic[:CPU]:INFOrmation:OPTions:D
Command ReferenceDiagnostic Subsystem (:DIAGnostic)Chapter 4 173[:CPU]:INFOrmation:SDATeSupported All:DIAGnostic[:CPU]:INFOrmation:SDATe?This query
Command ReferenceDisplay Subsystem (:DISPlay)Chapter 4174Display Subsystem (:DISPlay):BRIGhtnessSupported All:DISPlay:BRIGhtness <value>:DISPl
Command ReferenceDisplay Subsystem (:DISPlay)Chapter 4 175:CONTrastSupported All:DISPlay:CONTrast <value>:DISPlay:CONTrast?This command sets t
Getting StartedUsing GPIBChapter 1 5Using GPIB The GPIB allows instruments to be connected together and controlled by a computer. The GPIB and its ass
Command ReferenceDisplay Subsystem (:DISPlay)Chapter 4176:REMoteSupported All:DISPlay:REMote ON|OFF|1|0:DISPlay:REMote?This command enables or disab
Command ReferenceMemory Subsystem (:MEMory)Chapter 4 177Memory Subsystem (:MEMory):CATalog:BINarySupported All:MEMory:CATalog:BINary?This command ou
Command ReferenceMemory Subsystem (:MEMory)Chapter 4178:CATalog:LISTSupported All:MEMory:CATalog:LIST? This command outputs a list of the list sweep
Command ReferenceMemory Subsystem (:MEMory)Chapter 4 179:CATalog:UFLTSupported All:MEMory:CATalog:UFLT?This command outputs a list of the user flatn
Command ReferenceMemory Subsystem (:MEMory)Chapter 4180:COPY[:NAME]Supported All:MEMory:COPY[:NAME] "<file name>","<file nam
Command ReferenceMemory Subsystem (:MEMory)Chapter 4 181:DELete:ALLSupported AllCAUTION Using this command deletes all user files including binary,
Command ReferenceMemory Subsystem (:MEMory)Chapter 4182:DELete:LISTSupported All:MEMory:DELete:LISTThis command deletes all list files.*RST N/ARan
Command ReferenceMemory Subsystem (:MEMory)Chapter 4 183:DELete[:NAME]Supported All:MEMory:DELete[:NAME] "<file name>"This command c
Command ReferenceMemory Subsystem (:MEMory)Chapter 4184:MOVESupported All:MEMory:MOVE "<src_file>","<dest_file>"This
Command ReferenceMass Memory Subsystem (:MMEMory)Chapter 4 185Mass Memory Subsystem (:MMEMory):CATalogSupported All:MMEMory:CATalog? "<msus&
Getting StartedUsing GPIBChapter 16Table 1-2 NI-GPIB Interface Card for PC-Based SystemsInterfaceCardOperatingSystemIO LibraryLanguages Backplane/BUSM
Command ReferenceMass Memory Subsystem (:MMEMory)Chapter 4186:COPYSupported All:MMEMory:COPY "<file name>","<file name>&q
Command ReferenceMass Memory Subsystem (:MMEMory)Chapter 4 187:DELete[:NAME]Supported All:MMEMory:DELete[:NAME] "<file name>",["
Command ReferenceMass Memory Subsystem (:MMEMory)Chapter 4188:MOVESupported All:MMEMory:MOVE "<src_file>","<dest_file>&qu
Command ReferenceOutput Subsystem(:OUTPut)Chapter 4 189Output Subsystem(:OUTPut):MODulation[:STATe] Supported PSG-A Series:OUTPut:MODulation[:STATe]
Command ReferenceStatus Subsystem (:STATus)Chapter 4190Status Subsystem (:STATus):OPERation:CONDitionSupported All:STATus:OPERation:CONDition?This c
Command ReferenceStatus Subsystem (:STATus)Chapter 4 191:OPERation:NTRansitionSupported All:STATus:OPERation:NTRansition <value>:STATus:OPERat
Command ReferenceStatus Subsystem (:STATus)Chapter 4192:OPERation[:EVENt]Supported AllCAUTION This is a destructive read. The data in the register i
Command ReferenceStatus Subsystem (:STATus)Chapter 4 193:QUEStionable:CALibration:CONDitionSupported PSG-A Series:STATus:QUEStionable:CALibration:CO
Command ReferenceStatus Subsystem (:STATus)Chapter 4194:QUEStionable:CALibration:NTRansitionSupported PSG-A Series:STATus:QUEStionable:CALibration:N
Command ReferenceStatus Subsystem (:STATus)Chapter 4 195:QUEStionable:CALibration[:EVENt]Supported PSG-A SeriesCAUTION This is a destructive read. T
Getting StartedUsing GPIBChapter 1 72. Selecting IO Libraries for GPIBThe IO libraries are included with your GPIB interface card. These libraries can
Command ReferenceStatus Subsystem (:STATus)Chapter 4196:QUEStionable:ENABleSupported All:STATus:QUEStionable:ENABle <value>:STATus:QUEStionabl
Command ReferenceStatus Subsystem (:STATus)Chapter 4 197:QUEStionable:FREQuency:ENABleSupported All:STATus:QUEStionable:FREQuency:ENABle <value&g
Command ReferenceStatus Subsystem (:STATus)Chapter 4198:QUEStionable:FREQuency:PTRansitionSupported All:STATus:QUEStionable:FREQuency:PTRansition &l
Command ReferenceStatus Subsystem (:STATus)Chapter 4 199:QUEStionable:FREQuency[:EVENt]Supported AllCAUTION This is a destructive read. The data in
Command ReferenceStatus Subsystem (:STATus)Chapter 4200:QUEStionable:MODulation:ENABleSupported PSG-A Series:STATus:QUEStionable:MODulation:ENABle &
Command ReferenceStatus Subsystem (:STATus)Chapter 4 201:QUEStionable:MODulation:PTRansitionSupported PSG-A Series:STATus:QUEStionable:MODulation:PT
Command ReferenceStatus Subsystem (:STATus)Chapter 4202:QUEStionable:MODulation[:EVENt]Supported PSG-A SeriesCAUTION This is a destructive read. The
Command ReferenceStatus Subsystem (:STATus)Chapter 4 203:QUEStionable:NTRansitionSupported All:STATus:QUEStionable:NTRansition <value>:STATus:
Command ReferenceStatus Subsystem (:STATus)Chapter 4204:QUEStionable:POWer:ENABleSupported All:STATus:QUEStionable:POWer:ENABle <value>:STATus
Command ReferenceStatus Subsystem (:STATus)Chapter 4 205:QUEStionable:POWer:PTRansitionSupported All:STATus:QUEStionable:POWer:PTRansition <value
Getting StartedUsing GPIBChapter 184. Verifying GPIB FunctionalityUse the VISA Assistant, available with the Agilent IO Library or the Getting Started
Command ReferenceStatus Subsystem (:STATus)Chapter 4206:QUEStionable:POWer[:EVENt]Supported AllCAUTION This is a destructive read. The data in the r
Command ReferenceStatus Subsystem (:STATus)Chapter 4 207:QUEStionable:PTRansitionSupported All:STATus:QUEStionable:PTRansition <value>:STATus:
Command ReferenceSystem Subsystem (:SYSTem)Chapter 4208System Subsystem (:SYSTem):CAPabilitySupported All:SYSTem:CAPability?This command queries the
Command ReferenceSystem Subsystem (:SYSTem)Chapter 4 209:HELP:MODESupported All:SYSTem:HELP:MODE SINGle|CONTinuous :SYSTem:HELP:MODE?This command se
Command ReferenceSystem Subsystem (:SYSTem)Chapter 4210:PON:TYPESupported All:SYSTem:PON:TYPE PRESet|LAST:SYSTem:PON:TYPE?This command sets the defi
Command ReferenceSystem Subsystem (:SYSTem)Chapter 4 211:PRESet:ALLSupported All:SYSTem:PRESet:ALLThis command sets all states of the signal generat
Command ReferenceSystem Subsystem (:SYSTem)Chapter 4212:PRESet:TYPESupported All:SYSTem:PRESet:TYPE NORMal|USER :SYSTem:PRESet:TYPE?This command tog
Command ReferenceSystem Subsystem (:SYSTem)Chapter 4 213:SSAVer:DELaySupported All:SYSTem:SSAVer:DELay <val> :SYSTem:SSAVer:DELay?This command
Command ReferenceSystem Subsystem (:SYSTem)Chapter 4214:SSAVer:STATeSupported All:SYSTem:SSAVer:STATe ON|OFF|1|0:SYSTem:SSAVer:STATe?This command en
Command ReferenceTrigger SubsystemChapter 4 215Trigger Subsystem:ABORtSupported All:ABORtThis command causes the list or step sweep in progress to a
Getting StartedUsing GPIBChapter 1 9GPIB Function StatementsFunction statements are the basis for GPIB programming and instrument control. These funct
Command ReferenceTrigger SubsystemChapter 4216:INITiate[:IMMediate][:ALL]Supported All:INITiate[:IMMediate][:ALL]This command arms or arms and start
Command ReferenceTrigger SubsystemChapter 4 217:TRIGger[:SEQuence]:SLOPeSupported All:TRIGger[:SEQuence]:SLOPe POSitive|NEGative :TRIGger[:SEQuence]
Command ReferenceTrigger SubsystemChapter 4218:TRIGger[:SEQuence][:IMMediate]Supported All:TRIGger[:SEQuence][:IMMediate]This event command enables
Command ReferenceUnit Subsystem (:UNIT)Chapter 4 219Unit Subsystem (:UNIT):POWerSupported All:UNIT:POWer DBM|DBUV|DBUVEMF|V|VEMF:UNIT:POWer?This com
Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4220Amplitude Modulation Subsystem ([:SOURce]):AM[1]|2...Supported PSG-A Series[:
Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4 221:AM:INTernal:FREQuency:STEP[:INCRement]Supported PSG-A Series[:SOURce]:AM:IN
Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4222:AM:MODESupported PSG-A Series[:SOURce]:AM:MODE DEEP|NORMal[:SOURce]:AM:MODE?
Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4 223:AM[1]|2:EXTernal[1]|2:COUPlingSupported PSG-A Series[:SOURce]:AM[1]|2:EXTer
Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4224:AM[1]|2:INTernal[1]:FREQuency:ALTernateSupported PSG-A Series[:SOURce]:AM[1]
Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4 225:AM[1]|2:INTernal[1]:SWEep:RATESupported PSG-A Series[:SOURce]:AM[1]|2:INTer
Getting StartedUsing GPIBChapter 110Remote FunctionThe Agilent BASIC function REMOTE and the other listed IO library functions cause the signal genera
Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4226:AM[1]|2:INTernal[1]|2:FREQuencySupported PSG-A Series[:SOURce]:AM[1]|2:INTer
Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4 227:AM[1]|2:INTernal[1]|2:FUNCtion:RAMPSupported PSG-A Series[:SOURce]:AM[1]|2:
Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4228:AM[1]|2:SOURceSupported PSG-A Series[:SOURce]:AM[1]|2:SOURce INT[1]|INT2|EXT
Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4 229:AM[1]|2:TYPESupported PSG-A Series[:SOURce]:AM[1]|2:TYPE LINear|EXPonential
Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4230:AM[1]|2[:DEPTh][:LINear]Supported PSG-A Series[:SOURce]:AM[1]|2[:DEPTh][:LIN
Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4 231:AM[1]|2[:DEPTh][:LINear]:TRACkSupported PSG-A Series[:SOURce]:AM[1]|2[:DEPT
Command ReferenceAmplitude Modulation Subsystem ([:SOURce])Chapter 4232:AM[:DEPTh]:STEP[:INCRement]Supported PSG-A Series[:SOURce]:AM[:DEPTh]:STEP[:
Command ReferenceCorrection Subsystem ([:SOURce]:CORRection)Chapter 4 233Correction Subsystem ([:SOURce]:CORRection):FLATness?Supported All[:SOURce]
Command ReferenceCorrection Subsystem ([:SOURce]:CORRection)Chapter 4234:FLATness:PAIRSupported All[:SOURce]:CORRection:FLATness:PAIR <freq>[&
Command ReferenceCorrection Subsystem ([:SOURce]:CORRection)Chapter 4 235:FLATness:PRESetSupported AllCAUTION The current correction data will be ov
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
Command ReferenceCorrection Subsystem ([:SOURce]:CORRection)Chapter 4236[:STATe] Supported All[:SOURce]:CORRection[:STATe] ON|OFF|1|0[:SOURce]:CORRe
Command ReferenceFrequency Subsystem ([:SOURce])Chapter 4 237Frequency Subsystem ([:SOURce]):FREQuency:FIXedSupported All[:SOURce]:FREQuency:FIXed &
Command ReferenceFrequency Subsystem ([:SOURce])Chapter 4238:FREQuency:MULTiplier Supported All[:SOURce]:FREQuency:MULTiplier <val>[:SOURce]:F
Command ReferenceFrequency Subsystem ([:SOURce])Chapter 4 239:FREQuency:OFFSet:STATeSupported All[:SOURce]:FREQuency:OFFSet:STATe ON|OFF|1|0[:SOURce
Command ReferenceFrequency Subsystem ([:SOURce])Chapter 4240:FREQuency:STARt Supported All[:SOURce]:FREQuency:STARt <val><unit>[:SOURce]
Command ReferenceFrequency Subsystem ([:SOURce])Chapter 4 241:FREQuency[:CW] Supported All[:SOURce]:FREQuency[:CW] <val><unit>[:SOURce]:
Command ReferenceFrequency Subsystem ([:SOURce])Chapter 4242:PHASe[:ADJust] Supported All[:SOURce]:PHASe[:ADJust] <val><unit>[:SOURce]:P
Command ReferenceFrequency Subsystem ([:SOURce])Chapter 4 243:ROSCillator:SOURce:AUTO Supported All except signal generators with Option UNJ[:SOURce
Command ReferenceFrequency Modulation Subsystem ([:SOURce])Chapter 4244Frequency Modulation Subsystem ([:SOURce]):FM[1]|2...Supported PSG-A Series[:
Command ReferenceFrequency Modulation Subsystem ([:SOURce])Chapter 4 245:FM:INTernal:FREQuency:STEP[:INCRement]Supported PSG-A Series[:SOURce]:FM:IN
Getting StartedUsing GPIBChapter 112Clear FunctionThe Agilent BASIC function CLEAR and the other listed IO library functions cause the signal generato
Command ReferenceFrequency Modulation Subsystem ([:SOURce])Chapter 4246:FM[1]|2:EXTernal[1]|2:IMPedanceSupported PSG-A Series[:SOURce]:FM[1]|2:EXTer
Command ReferenceFrequency Modulation Subsystem ([:SOURce])Chapter 4 247:FM[1]|2:INTernal[1]:FREQuency:ALTernate:AMPLitude:PERCentSupported PSG-A Se
Command ReferenceFrequency Modulation Subsystem ([:SOURce])Chapter 4248:FM[1]|2:INTernal[1]:SWEep:TRIGgerSupported PSG-A Series[:SOURce]:FM[1]|2:INT
Command ReferenceFrequency Modulation Subsystem ([:SOURce])Chapter 4 249:FM[1]|2:INTernal[1]|2:FREQuencySupported PSG-A Series[:SOURce]:FM[1]|2:INTe
Command ReferenceFrequency Modulation Subsystem ([:SOURce])Chapter 4250:FM[1]|2:INTernal[1]|2:FUNCtion:RAMPSupported PSG-A Series[:SOURce]:FM[1]|2:I
Command ReferenceFrequency Modulation Subsystem ([:SOURce])Chapter 4 251:FM[1]|2:SOURceSupported PSG-A Series[:SOURce]:FM[1]|2:SOURce INT[1]|INT2|EX
Command ReferenceFrequency Modulation Subsystem ([:SOURce])Chapter 4252:FM[1]|2[:DEViation]Supported PSG-A Series[:SOURce]:FM[1]|2[:DEViation] <v
Command ReferenceFrequency Modulation Subsystem ([:SOURce])Chapter 4 253:FM[1]|2[:DEViation]:TRACkSupported PSG-A Series[:SOURce]:FM[1]|2[:DEViation
Command ReferenceList/Sweep subsystem ([:SOURce])Chapter 4254List/Sweep subsystem ([:SOURce]):LIST:DIRectionSupported All[:SOURce]:LIST:DIRection UP
Command ReferenceList/Sweep subsystem ([:SOURce])Chapter 4 255:LIST:DWELlSupported All[:SOURce]:LIST:DWELl <val>{,<val>}[:SOURce]:LIST:D
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
Command ReferenceList/Sweep subsystem ([:SOURce])Chapter 4256:LIST:DWELl:TYPESupported All[:SOURce]:LIST:DWELl:TYPE LIST|STEP[:SOURce]:LIST:DWELl:TY
Command ReferenceList/Sweep subsystem ([:SOURce])Chapter 4 257:LIST:FREQuency:POINtsSupported All[:SOURce]:LIST:FREQuency:POINts?This command querie
Command ReferenceList/Sweep subsystem ([:SOURce])Chapter 4258:LIST:MODESupported All[:SOURce]:LIST:MODE AUTO|MANual[:SOURce]:LIST:MODE?This command
Command ReferenceList/Sweep subsystem ([:SOURce])Chapter 4 259:LIST:POWer:POINtsSupported All[:SOURce]:LIST:POWer:POINts?This command queries the nu
Command ReferenceList/Sweep subsystem ([:SOURce])Chapter 4260:LIST:TYPESupported All[:SOURce]:LIST:TYPE LIST|STEP[:SOURce]:LIST:TYPE?This command to
Command ReferenceList/Sweep subsystem ([:SOURce])Chapter 4 261:LIST:TYPE:LIST:INITialize:PRESetSupported AllCAUTION The current list sweep data will
Command ReferenceList/Sweep subsystem ([:SOURce])Chapter 4262:SWEep:DWELlSupported All[:SOURce]:SWEep:DWELl <val>[:SOURce]:SWEep:DWELl?This co
Command ReferenceLow Frequency Output Subsystem ([:SOURce]:LFOutput)Chapter 4 263Low Frequency Output Subsystem ([:SOURce]:LFOutput):AMPLitudeSupporte
Command ReferenceLow Frequency Output Subsystem ([:SOURce]:LFOutput)Chapter 4264:FUNCtion[1]:FREQuency:ALTernate:AMPLitude:PERCentSupported PSG-A Se
Command ReferenceLow Frequency Output Subsystem ([:SOURce]:LFOutput)Chapter 4 265:FUNCtion[1]:SWEep:TRIGgerSupported PSG-A Series[:SOURce]:LFOutput:
Getting StartedUsing LANChapter 114Using LAN The signal generator can be remotely programmed via a LAN interface and LAN-connected computer using one
Command ReferenceLow Frequency Output Subsystem ([:SOURce]:LFOutput)Chapter 4266:FUNCtion[1]|2:FREQuencySupported PSG-A Series[:SOURce]:LFOutput:FUN
Command ReferenceLow Frequency Output Subsystem ([:SOURce]:LFOutput)Chapter 4 267:FUNCtion:NOISeSupported PSG-A Series[:SOURce]:LFOutput:FUNCtion[1]
Command ReferenceLow Frequency Output Subsystem ([:SOURce]:LFOutput)Chapter 4268:SOURceSupported PSG-A Series[:SOURce]:LFOutput:SOURce INT[1]|INT2|F
Command ReferencePhase Modulation subsystem ([:SOURce])Chapter 4 269Phase Modulation subsystem ([:SOURce]):PM[1]|2...Supported PSG-A Series[:SOURce]
Command ReferencePhase Modulation subsystem ([:SOURce])Chapter 4270:PM:INTernal:FREQuency:STEP[:INCRement]Supported PSG-A Series[:SOURce]:PM:INTerna
Command ReferencePhase Modulation subsystem ([:SOURce])Chapter 4 271:PM[1]|2:EXTernal[1]|2:COUPlingSupported PSG-A Series[:SOURce]:PM[1]|2:EXTernal[
Command ReferencePhase Modulation subsystem ([:SOURce])Chapter 4272:PM[1]|2:INTernal[1]:FREQuency:ALTernateSupported PSG-A Series[:SOURce]:PM[1]|2:I
Command ReferencePhase Modulation subsystem ([:SOURce])Chapter 4 273:PM[1]|2:INTernal[1]:SWEep:RATESupported PSG-A Series[:SOURce]:PM[1]|2:INTernal[
Command ReferencePhase Modulation subsystem ([:SOURce])Chapter 4274:PM[1]|2:INTernal[1]|2:FREQuencySupported. PSG-A Series[:SOURce]:PM[1]|2:INTernal[1
Command ReferencePhase Modulation subsystem ([:SOURce])Chapter 4 275:PM[1]|2:INTernal[1]|2:FUNCtion:RAMPSupported PSG-A Series[:SOURce]:PM[1]|2:INTe
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
Command ReferencePhase Modulation subsystem ([:SOURce])Chapter 4276:PM[1]|2:SOURceSupported PSG-A Series[:SOURce]:PM[1]|2:SOURce INT[1]|INT2|EXT1|EX
Command ReferencePhase Modulation subsystem ([:SOURce])Chapter 4 277:PM[1]|2[:DEViation]Supported PSG-A Series[:SOURce]:PM[1]|2[:DEViation] <val&
Command ReferencePhase Modulation subsystem ([:SOURce])Chapter 4278:PM[1]|2[:DEViation]:TRACkSupported PSG-A Series[:SOURce]:PM[1]|2[:DEViation]:TRA
Command ReferencePower Subsystem ([:SOURce])Chapter 4 279Power Subsystem ([:SOURce]):POWer:ALC:BANDwidth|BWIDthSupported All[:SOURce]:POWer:ALC:BAND
Command ReferencePower Subsystem ([:SOURce])Chapter 4280:POWer:ALC:LEVelSupported All with Option 1E1[:SOURce]:POWer:ALC:LEVel <value>DB[:SOUR
Command ReferencePower Subsystem ([:SOURce])Chapter 4 281:POWer:ALC:SOURceSupported All[:SOURce]:POWer:ALC:SOURce INTernal|DIODe|MMHead[:SOURce]:POW
Command ReferencePower Subsystem ([:SOURce])Chapter 4282:POWer:ALC[:STATe]Supported All[:SOURce]:POWer:ALC[:STATe] ON|OFF|1|0[:SOURce]:POWer:ALC[:ST
Command ReferencePower Subsystem ([:SOURce])Chapter 4 283:POWer:ATTenuation:AUTOSupported All with Option 1E1[:SOURce]:POWer:ATTenuation:AUTO ON|OFF
Command ReferencePower Subsystem ([:SOURce])Chapter 4284:POWer:REFerenceSupported All[:SOURce]:POWer:REFerence <val><unit>[:SOURce]:POWe
Command ReferencePower Subsystem ([:SOURce])Chapter 4 285:POWer:STARtSupported All[:SOURce]:POWer:STARt <val><unit>[:SOURce]:POWer:STARt
Contents iii1. Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Introduction t
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
Command ReferencePower Subsystem ([:SOURce])Chapter 4286:POWer[:LEVel][:IMMediate]:OFFSetSupported All[:SOURce]:POWer[:LEVel][:IMMediate]:OFFSet <
Command ReferencePower Subsystem ([:SOURce])Chapter 4 287:POWer[:LEVel][:IMMediate][:AMPLitude]Supported All[:SOURce]:POWer[:LEVel][:IMMediate][:AMP
Command ReferencePulse Modulation Subsystem ([:SOURce])Chapter 4288Pulse Modulation Subsystem ([:SOURce]):PULM:INTernal[1]:DELaySupported PSG-A Seri
Command ReferencePulse Modulation Subsystem ([:SOURce])Chapter 4 289:PULM:INTernal[1]:DELay:STEPSupported PSG-A Series[:SOURce]:PULM:INTernal[1]:DEL
Command ReferencePulse Modulation Subsystem ([:SOURce])Chapter 4290:PULM:INTernal[1]:PERiodSupported PSG-A Series[:SOURce]:PULM:INTernal[1]:PERiod &
Command ReferencePulse Modulation Subsystem ([:SOURce])Chapter 4 291:PULM:INTernal[1]:PWIDthSupported PSG-A Series[:SOURce]:PULM:INTernal[1]:PWIDth
Command ReferencePulse Modulation Subsystem ([:SOURce])Chapter 4292:PULM:SOURceSupported PSG-A Series[:SOURce]:PULM:SOURce INTernal|EXTernal[:SOURce
Command ReferencePulse Modulation Subsystem ([:SOURce])Chapter 4 293:PULM:STATeSupported PSG-A Series[:SOURce]:PULM:STATe ON|OFF|1|0[:SOURce]:PULM:S
Command ReferenceSCPI Command CompatibilityChapter 4294SCPI Command Compatibility:SYSTem:IDNSupported All:SYSTem:IDN "<string>"This
Command ReferenceSCPI Command CompatibilityChapter 4 2958340B/41B Compatible Commands (firmware ≥ C.01.21)The tables in this section provide the follo
Getting StartedUsing LANChapter 1 17Using VXI-11 The signal generator supports the LAN interface protocol described in the VXI-11 standard. VXI-11 is
Command ReferenceSCPI Command CompatibilityChapter 4296Table 4-5 8340B/41B Programming Codes and Equivalent SCPI SequencesCode Description Equivalent
Command ReferenceSCPI Command CompatibilityChapter 4 297DF Delta frequency FREQuency:MODE LISTPOWer:MODE FIXEDLIST:TYPE STEPINITiate:CONTinuous[:ALL]
Command ReferenceSCPI Command CompatibilityChapter 4298GZ GHz terminator GHZHZ Hz terminator HZIF Increment frequency TRIGger[:SEQuence][:IMMediate]or
Command ReferenceSCPI Command CompatibilityChapter 4 299M2 Marker 2 on not supportedM3 Marker 3 on not supportedM4 Marker 4 on not supportedM5 Marker
Command ReferenceSCPI Command CompatibilityChapter 4300OPFA Output start frequency FREQuency:START?OPFB Output stop frequency FREQuency:STOP?OPFM1 Out
Command ReferenceSCPI Command CompatibilityChapter 4 301S2 Sweep, single not supportedS3 Sweep, manual not supportedSC Seconds terminator not supporte
Command ReferenceSCPI Command CompatibilityChapter 4302SHM4 Diagnostic: test/display results not supportedSHM5 Diagnostics off not supportedSHMO All
Command ReferenceSCPI Command CompatibilityChapter 4 303SHKZ Write to IO not supportedSHHZ Read from IO not supportedSL0 Power slope off POWer:SLOPe:S
Command ReferenceSCPI Command CompatibilityChapter 4304Table 4-6 Programming Codes that Set the Active Function; RB Compatibility; OA Query & UP/D
Command ReferenceSCPI Command CompatibilityChapter 4 305SHPL✓✓✓POWer[:LEVel][:Immediate][:AMPLitude]:STEP[:INCREment]?SHPS✓✓✓✓POWer:ALC:LEVel?POWer:AT
Getting StartedUsing LANChapter 118Figure 1-2 Show Devices Form
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
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
Command ReferenceSCPI Command CompatibilityChapter 4308Table 4-9 OS Status Byte #2Bit Number 7 6 5 4Decimal Value 128 64 32 16Function Fault indicator
Command ReferenceSCPI Command CompatibilityChapter 4 309836xxB/L Compatible SCPI CommandsTable 4-10 is a comprehensive list of 836xxB/L SCPI commands
Command ReferenceSCPI Command CompatibilityChapter 4310*STB?YY*TRGYY*TST?YY*WAIYYAbort Subsystem :ABORtYYAmplitude Modulation Subsystem :AM[:DEPTh] &l
Command ReferenceSCPI Command CompatibilityChapter 4 311Calibration Subsystem:CALibration:AM:AUTO ON|OFF|1|0N:CALibration:AM:AUTO?N:CALibration:AM[:EX
Command ReferenceSCPI Command CompatibilityChapter 4312:CORRection:FLATness:POINts? [MAXimum|MINimum]YY:CORRection[:STATe] ON|OFF|1|0YY:CORRection[:ST
Command ReferenceSCPI Command CompatibilityChapter 4 313:DIAGnostics:TEST:ENABle {<num>}1*?|ALLNN:DIAGnostics:TEST[:EXECute] <value>NN:DIA
Command ReferenceSCPI Command CompatibilityChapter 4314:FM:INTernal:FREQuency <num>[<freq suffix>]|MAXimum|MINimumY:FM:INTernal:FREQuency?
Command ReferenceSCPI Command CompatibilityChapter 4 315:FREQuency:MANual <num>[freq suffix]|MAXimum|MINimum|UP|DOWNNN:FREQuency:MANual? [MAXimu
Getting StartedUsing LANChapter 1 19Using Sockets LAN Sockets LAN is a method used to communicate with the signal generator over the LAN interface usi
Command ReferenceSCPI Command CompatibilityChapter 4316:FREQuency:STOP <num>[<freq suffix>]|MAXimum|MINimum|UP|DOWNYY:FREQuency:STOP? [MAX
Command ReferenceSCPI Command CompatibilityChapter 4 317:LIST:TRIGger:SOURce?YYMarker Subsystem:MARKer[n]:AMPLitude[:STATe] ON|OFF|1|0NN:MARKer[n]:AMP
Command ReferenceSCPI Command CompatibilityChapter 4318:MODulation:OUTPut:STATe ON|OFF|1|0Y:MODulation:OUTPut:STATe?Y:MODulation:STATe?YPower Subsyste
Command ReferenceSCPI Command CompatibilityChapter 4 319:POWer:ATTenuation:AUTO ON|OFF|1|0YY:POWer:ATTenuation:AUTO?YY:POWer:CENTer <num>[<lv
Command ReferenceSCPI Command CompatibilityChapter 4320:POWer:SPAN? [MAXimum|MINimum]YY:POWer:STARt <val><unit>|MAXimum|MINimum|UP|DOWNYY:
Command ReferenceSCPI Command CompatibilityChapter 4 321:PULM:INTernal:PERiod <num>[<time suffix>]|MAXimum|MINimumY:PULM:INTernal:PERiod?
Command ReferenceSCPI Command CompatibilityChapter 4322Reference Oscillator Subsystem:ROSCillator:SOURce?YY:ROSCillator:SOURce:AUTO ON|OFF|1|0YY:ROSCi
Command ReferenceSCPI Command CompatibilityChapter 4 323:STATus:QUEStionable:PTRansition?YYSweep Subsystem:SWEep:CONTrol:STATe ON|OFF|1|0NN:SWEep:CONT
Command ReferenceSCPI Command CompatibilityChapter 4324:SWEep:POINts? [MAXimum|MINimum]YY:SWEep:STEP <value>[<freq suffix>]|MAXimum|MINimu
Command ReferenceSCPI Command CompatibilityChapter 4 325:SYSTem:MMHead:SELect FRONt|REAR|NONEcYY:SYSTem:MMHead:SELect?YY:SYSTem:PRESet[:EXECute]YY:SYS
Getting StartedUsing LANChapter 120Using TELNET LAN TELNET provides a means of communicating with the signal generator over the LAN. The TELNET client
Command ReferenceSCPI Command CompatibilityChapter 4326:UNIT:POWer {<lvl suffix>}YY:UNIT:POWer?YYa. The identification information can be modife
Command ReferenceSCPI Command CompatibilityChapter 4 3278373xB and 8371xB Compatible SCPI CommandsTable 4-11 is a comprehensive list of 8373xB and 837
Command ReferenceSCPI Command CompatibilityChapter 4328*PMCNN*PSCYY*PSC?YY*RCL <reg_num>YY*RMCNN*RSTYY*SAV <reg_num>YY*SRE <data>YY*
Command ReferenceSCPI Command CompatibilityChapter 4 329[:SOURce]:AM:INTernal:FUNCtion SINusoid|SQUare|TRIangle|RAMP|NOISe|UNIForm|GAUSsianY[:SOURce]:
Command ReferenceSCPI Command CompatibilityChapter 4330[:SOURce]:CORRection:CSET[:SELect]?NN[:SOURce]:CORRection:CSET:STATe ON|OFF|1|0NN[:SOURce]:CORR
Command ReferenceSCPI Command CompatibilityChapter 4 331[:SOURce]:FREQuency[:CW|:FIXed]:STEP?YY[:SOURce]:FREQuency:MULTiplier <val>|UP|DOWN|DEFa
Command ReferenceSCPI Command CompatibilityChapter 4332[:SOURce]:MODulation:STATe?YOutput Subsystem:OUTPut:IMPedance?NN:OUTPut:PROTection[:STATe] ON|O
Command ReferenceSCPI Command CompatibilityChapter 4 333[:SOURce]:POWer:ALC:PMETer:STEP incr|MINimum|MAXimum|DEFaultNN[:SOURce]:POWer:ALC:PMETer:STEP?
Command ReferenceSCPI Command CompatibilityChapter 4334Pulse Subsystem[:SOURce]:PULSe:DELay delay|MINimum|MAXimum|UP|DOWN|DEFaultY[:SOURce]:PULSe:DELa
Command ReferenceSCPI Command CompatibilityChapter 4 335[:SOURce]:PULSe:WIDTh:STEP <num>[<time suffix>]|DEFault Y[:SOURce]:PULSe
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
Command ReferenceSCPI Command CompatibilityChapter 4336System Subsystem:SYSTem:COMMunicate:GPIB:ADDRess <number>YY:SYSTem:COMMunicate:GPIB:ADDRe
Command ReferenceSCPI Command CompatibilityChapter 4 337:UNIT:POWer?YY:UNIT:TIMENN:UNIT:TIME?NN:UNIT:VOLTage {<lvl suffix>}NN:UNIT:VOLTage?NNa.
Command ReferenceSCPI Command CompatibilityChapter 4338
Index 339Symbolsphase modulation subsystem keysΦM Tone 2 Ampl Percent of Peak softkey, 272softkey, 269, 272, 273, 274, 276, 277, 278Numericssoftkey,
Index340ABORT, 9CLEAR, 12ENTER, 13LOCAL, 11LOCAL LOCKOUT, 10OUTPUT, 12REMOTE, 10Binary softkey, 177, 185binary values, 153bit status, how and what to
Index 341Delete All List Files, 182Delete All State Files, 182Delete All UFLT Files, 182Delete File, 183developing programs, 33Diagnostic Info softke
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
Index 343Internal softkeysInternal, 281Internal 1, 251, 276Internal 1 Monitor, 268Internal 2, 251, 276Internal 2 Monitor, 268Internal Square, 292Inve
Index344MManual Mode Off On softkey, 258manual operation, 10Manual Point softkey, 257mass memory subsystem keysBinary, 185Copy File, 186Delete File, 1
Index 345Ext1, 276Ext2, 276FM ΦM Normal High BW, 270Free Run, 273Gaussian, 274Incr Set, 270, 278Internal 1, 276Internal 2, 276Negative, 275Noise, 275
Getting StartedUsing LANChapter 122Figure 1-4 TELNET WindowThe Standard UNIX TELNET CommandSynopsis telnet [host [port]] Description This command is
Index346data questionable modulation event, 132data questionable modulation event enable, 132data questionable power condition, 125data questionable p
Index 347SCPI register model, 102Screen Saver softkeysScreen Saver, 213Screen Saver Delay:, 213Screen Saver Off On, 214Select Seq: softkey, 158servic
Index348STB command, 108Step Dwell softkey, 262Store To File softkey, 184, 188, 235string response data, 148string SCPI parameter, 147strings, quote u
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
Getting StartedUsing LANChapter 124Using FTP FTP allows users to transfer files between the signal generator and any computer connected to the LAN. Fo
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
ContentsivQueries Using NI-488.2 and C++. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43Queries Using VISA and C.
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
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
Getting StartedUsing RS-232Chapter 1283. Verifying RS-232 FunctionalityYou can use the HyperTerminal program available on your computer to verify the
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
Getting StartedUsing RS-232Chapter 130
312 Programming Examples
Programming ExamplesUsing the Programming ExamplesChapter 232Using the Programming Examples The programming examples for remote control of the signal
Programming ExamplesUsing the Programming ExamplesChapter 2 33Programming Examples Development EnvironmentThe C/C++ examples in this guide were writte
Programming ExamplesGPIB Programming ExamplesChapter 234GPIB Programming Examples• “Interface Check using Agilent BASIC” on page 35• “Interface Check
Programming ExamplesGPIB Programming ExamplesChapter 2 35Interface Check using Agilent BASIC This simple program causes the signal generator to perfor
Contents vData Questionable Power Status Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124Data Questionable Frequency St
Programming ExamplesGPIB Programming ExamplesChapter 236Interface Check Using NI-488.2 and C++This example uses the NI-488.2 library to verify that th
Programming ExamplesGPIB Programming ExamplesChapter 2 37Interface Check using VISA and CThis program uses VISA library functions and the C language t
Programming ExamplesGPIB Programming ExamplesChapter 238Local Lockout Using Agilent BASICThis example demonstrates the Local Lockout function. Local L
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
Programming ExamplesGPIB Programming ExamplesChapter 240cout<<endl;cout<<"The signal generator should now be in local mode\n";re
Programming ExamplesGPIB Programming ExamplesChapter 2 41Queries Using Agilent BASIC This example demonstrates signal generator query commands. The si
Programming ExamplesGPIB Programming ExamplesChapter 242420 END IF430 OUTPUT Sig_gen;"*IDN?" ! Querys for signal generator ID440 EN
Programming ExamplesGPIB Programming ExamplesChapter 2 43Queries Using NI-488.2 and C++This example uses the NI-488.2 library to query different instr
Programming ExamplesGPIB Programming ExamplesChapter 244cin.ignore(10000,’\n’);ibwrt(sig, ":FREQ:MODE?",11); // Querys source frequency m
Programming ExamplesGPIB Programming ExamplesChapter 2 45Queries Using VISA and CThis example uses VISA library functions to query different instrumen
Contentsvi*TST?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161*WAI . .
Programming ExamplesGPIB Programming ExamplesChapter 246getch(); viPrintf(vi, "POW:AMPL?\n"); // Querys the power levelviScanf(vi, "
Programming ExamplesGPIB Programming ExamplesChapter 2 47Generating a CW Signal Using VISA and CThis example uses VISA library functions to control th
Programming ExamplesGPIB Programming ExamplesChapter 248viPrintf(vi, "POW:AMPL -2.3 dBm\n"); // Set the power level to -2.3 dBmviPrintf(vi,
Programming ExamplesGPIB Programming ExamplesChapter 2 49Generating an Externally Applied AC-Coupled FM Signal Using VISA and CIn this example, the VI
Programming ExamplesGPIB Programming ExamplesChapter 250printf("for an AC-coupled FM signal\n");printf("Press any key to continue\n&quo
Programming ExamplesGPIB Programming ExamplesChapter 2 51Generating an Internal AC-Coupled FM Signal Using VISA and CIn this example the VISA library
Programming ExamplesGPIB Programming ExamplesChapter 252viPrintf(vi, "FREQ 900 MHz\n"); // Sets carrier frequency to 700 MHzviPrintf(v
Programming ExamplesGPIB Programming ExamplesChapter 2 53Generating a Step-Swept Signal Using VISA and CIn this example the VISA library is used to se
Programming ExamplesGPIB Programming ExamplesChapter 254viPrintf(vi, "INIT:CONT ON\n"); // Begins the step sweep operation
Programming ExamplesGPIB Programming ExamplesChapter 2 55Saving and Recalling States Using VISA and CIn this example, instrument settings are saved in
Contents vii:CATalog:BINary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177:CATalog:LIS
Programming ExamplesGPIB Programming ExamplesChapter 256printf("used to save and recall an instrument’s state\n");printf("\n");viP
Programming ExamplesGPIB Programming ExamplesChapter 2 57Reading the Data Questionable Status Register Using VISA and CIn this example, the signal gen
Programming ExamplesGPIB Programming ExamplesChapter 258viClear(vi); // Clears the signal generator // Prints user information
Programming ExamplesGPIB Programming ExamplesChapter 2 59printf("Press Enter when ready\n");printf("\n");getch();
Programming ExamplesGPIB Programming ExamplesChapter 260Reading the Service Request Interrupt (SRQ) Using VISA and CThis example demonstrates use of t
Programming ExamplesGPIB Programming ExamplesChapter 2 61ViStatus viStatus = 0; // Declares a variable of type ViStatus // for G
Programming ExamplesGPIB Programming ExamplesChapter 262viStatus = viInstallHandler(vi, VI_EVENT_SERVICE_REQ, interupt, rdBuffer);// The next line of
Programming ExamplesGPIB Programming ExamplesChapter 2 63viClose(event); // Closes the eventreturn VI_SUCCESS;}
Programming ExamplesLAN Programming ExamplesChapter 264LAN Programming Examples• “VXI-11 Programming Using SICL in C” on page 65• “VXI-11 Programming
Programming ExamplesLAN Programming ExamplesChapter 2 65VXI-11 Programing The signal generator supports the VXI-11 standard for instrument communicati
Contentsviii:QUEStionable:CALibration:NTRansition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194:QUEStionable:CALibration:PTRans
Programming ExamplesLAN Programming ExamplesChapter 266char buf[256]; // Variable for id stringionerror(I_ERROR_EXIT); // Register SICL error handler
Programming ExamplesLAN Programming ExamplesChapter 2 67// screen. Next the signal generator is set for a -5 dBm power level and then// queried for th
Programming ExamplesLAN Programming ExamplesChapter 268status = viRead(instr, (ViBuf)buffer, MAX_COUNT, &retCount);buffer[retCount]= ’\0’;
Programming ExamplesLAN Programming ExamplesChapter 2 69Sockets LAN Programming using C The program listing shown in “Setting Parameters and Sending Q
Programming ExamplesLAN Programming ExamplesChapter 270The int main1() function will output a sequence of commands in a program format. If you want to
Programming ExamplesLAN Programming ExamplesChapter 2 71The int main1() function will output a sequence of commands in a program format. If you want t
Programming ExamplesLAN Programming ExamplesChapter 272Setting Parameters and Sending Queries Using Sockets and CThe following programming examples ar
Programming ExamplesLAN Programming ExamplesChapter 2 73 * routines typically use the lower level read() and write() calls. * * - In the Win
Programming ExamplesLAN Programming ExamplesChapter 274# include <unistd.h> /* for getopt(3C) */#endif#define COMMAND_ERROR (1)#defi
Programming ExamplesLAN Programming ExamplesChapter 2 75/*************************************************************************** * > $Function:
Contents ix:VERSion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214Trigger
Programming ExamplesLAN Programming ExamplesChapter 276 peeraddr_in.sin_family = AF_INET; peeraddr_in.sin_port = htons((unsigned short)portNumbe
Programming ExamplesLAN Programming ExamplesChapter 2 77 **************************************************************************/char * recv_line(S
Programming ExamplesLAN Programming ExamplesChapter 278}/*************************************************************************** * > $Function:
Programming ExamplesLAN Programming ExamplesChapter 2 79 { if (ch == ’#’) { /* binary data encountered - figure out what i
Programming ExamplesLAN Programming ExamplesChapter 280 if (recv_line(sock, result, maxLength) == NULL) break; i
Programming ExamplesLAN Programming ExamplesChapter 2 81 break; } puts(result_str); } while (1);}/************************
Programming ExamplesLAN Programming ExamplesChapter 282/*************************************************************************** * > $Function:
Programming ExamplesLAN Programming ExamplesChapter 2 83 if (optind < argc) { strcat(command, " ");
Programming ExamplesLAN Programming ExamplesChapter 284 long bufBytes; bufBytes = queryInstrument(instSock, command,
Programming ExamplesLAN Programming ExamplesChapter 2 85 { fwrite(" ", 2, 1, stdout) ;
Comments to this Manuals