Ceyear 1465 Series Programming Manual

Ceyear 1465 Series Programming Manual

Signal generator
Hide thumbs Also See for 1465 Series:
Table of Contents

Advertisement

Quick Links

1465 series
Signal Generator
Programming Manual

Advertisement

Table of Contents
loading

Summary of Contents for Ceyear 1465 Series

  • Page 1 1465 series Signal Generator Programming Manual...
  • Page 3 This manual applies to signal generators of models below and based on firmware version 1.0 and above.  1465A signal generator (100kHz ~ 3GHz)  1465B signal generator (100kHz ~ 6GHz)  1465C signal generator (100kHz ~ 10GHz)  1465D signal generator (100kHz ~ 20GHz) ...
  • Page 4 This manual may be subject to certified ISO 9001 and ISO Preface change without notice. CETI 14001 management system Thank you for choosing the 1465 reserves all the rights to the final standards. series signal generator developed explanation Safety Precautions and manufactured by China information and terminologies Electronics...
  • Page 6: Table Of Contents

    1465 Series Signal Generator Table of Contents Table of Contents 1 About This Manual ..................1 About This Manual ....................... 1 Related Documents...................... 1 2 Remote Control ..................3 Remote control basis ....................3 2.1.1 Remote Interface .......................... 3 2.1.2 Message ............................
  • Page 7 1465 Series Signal Generator Table of Contents 3.3.7 PULM subsystem ........................59 3.3.8 AMPLitude MODulation subsystem ..................67 3.3.9 FREQuency MODulation subsystem ..................72 3.3.10 PHASe MODulation subsystem ..................... 76 3.3.11 Digital MODulation subsystem ....................81 3.3.12 MEMory subsystem ........................ 107 3.3.13 ROSCillator subsystem ......................
  • Page 8: About This Manual

    Related Documents....................1 1.1 About This Manual This manual introduces the remote control and the SCPI operation method of the 1465 series signal generator, as well as the programming examples and the basic concept of the I/O function library to facilitate the user to quickly master the programming method.
  • Page 9 1 About This Manual 1.2 Related Documents  Quick Start Guide  User Manual  Programming Manual  Online support Quick Start Guide This manual introduces the set-up of the instrument as well as the basic operation methods of measurement with the aim of enabling users to quickly understand the features and operational procedures of the instrument.
  • Page 10: Remote Control

    This chapter introduces the remote control basis as well as the remote interface and its configuration method of the 1465 series signal generator, and also briefly describes the concept and classification of the I/O driver library so that the user can have a preliminary knowledge about the remote control of this instrument.
  • Page 11 Remote Control 2.1 Remote control basis port on the rear panel of the instrument. Compliance with the bus interface standard of IEC 625.1/IEEE 418. For details, please refer to: 2.1.1.2 GPIB interface  LAN port ........................ 4  GPIB interface ....................... 6 2.1.1.1 LAN interface The signal generator is available for remote control via computer in 10Base-T and 100Base-T LAN, in which various instruments are integrated into a system and controlled by network computer.
  • Page 12 Remote Control 2.1 Remote control basis TCPIP::host address::port::SOCKET Where,  TCPIP - network protocol used;  host address - IP address or host name of the instrument, for identification and control of the controlled instrument;  The LAN device name defines the handle number of the protocol and sub-device (optional); —...
  • Page 13: Message

    Remote Control 2.1 Remote control basis The socket in the signal generator is compatible with Berkeley socket and Winsock through Application Program Interface (API). In addition, other standard sockets are also compatible through the API. When the signal generator is controlled using SCPI, the socket program created in the program issues command.
  • Page 14: Scpi

    Commands for Use with ANSI/IEEE Std488.1-1987. New York, NY, 1998 Standard Commands for Programmable Instruments (SCPI) VERSION 1999.0. For the collection of SCPIs, classification and description of 1465 series signal generator, please refer to: ―3 SCPI‖ of this manual; Appendix B Lookup Table of SCPI in this manual.
  • Page 15: Command Type

    Remote Control 2.1 Remote control basis 2.1.3.2 SCPI description  General terms ........................7  Command type ........................8  Instrument-specific command syntax ................. 9  Command tree ........................10  Command parameter and response ................. 11  Systems of Values in Commands ..................13 ...
  • Page 16: Instrument-Specific Command Syntax

    Remote Control 2.1 Remote control basis recognize as they all begin with an asterisk. For example, *IDN? , *OPC and *RST are common commands. Common commands don‘t belong to any instrument-specific command. The instrument uses the same method to interpret them without consideration to the current path setting. It is very easy to identify instrument-specific commands because they contain a colon (:).
  • Page 17: Command Tree

    Remote Control 2.1 Remote control basis For example: LIST:POWer 5 Table 2.3 Command Syntax Character, Keyword and Syntax Example Upper-case characters represent the minimum character set [:SOURce]:FREQuency[:CW]?, required by FREQ is the short-format part of the command execution. command. The lower-case characters portion of command is optional; :FREQuency Such flexible :FREQ, :FREQuency or...
  • Page 18: Command Parameter And Response

    Remote Control 2.1 Remote control basis each received SCPI. The command interpreter breaks up the command into individual command element using a series of rules for identifying the command tree path. After the current command is parsed, the current command path remains unchanged. In this way, the subsequent commands can be parsed more quickly and efficiently because the same command keyword may appear in different paths.
  • Page 19 Remote Control 2.1 Remote control basis -7.89E-01 exponent marker e may be upper or lower case +256 leading + allowed decimal point may be leading Extended numeric parameter Most measurements related to Instrument-specific commands use extended numeric parameters to specify the physical quantities. Extended numeric parameters receive all numeric parameters and additional special values.
  • Page 20: Systems Of Values In Commands

    Remote Control 2.1 Remote control basis Examples of string parameter: ‗This is Valid‘ ―This is also Valid‖ ‗SO IS THIS‘ Real response data Large portions of measurement data are real. They are formatted as basic decimal notation or scientific notation. Most advanced programming languages all support these two formats. Examples of real response data: 1.23E+0 -1.0E+2...
  • Page 21: Command Line Structure

    Remote Control 2.1 Remote control basis When the value without an indicator is entered, the equipment will ensure that it is entered in decimal format. The identifiers required in all formats are listed as follows:  #B indicates that this digit is a binary value. ...
  • Page 22: Command Sequence And Synchronization

    Remote Control 2.1 Remote control basis 2.1.4 Command sequence and synchronization IEEE488.2 defines the difference between overlapped commands and sequential commands:  Sequential commands are sequences of commands that are executed continuously. Usually, each command is executed fast.  Overlapped commands indicate that the previous command is not executed automatically before the next command is executed.
  • Page 23 Remote Control 2.1 Remote control basis Table 2.5 Command Syntax Method Actions to be Executed Programming Method Set ESE BIT0; Set SRE BIT5; Set the operation completion bit Send the overlapped command and *OPC; *OPC is set. Wait for service request (SRQ) SRQ represents the completion of execution of the overlapped command Stop...
  • Page 24: Status Reporting System

    Remote Control 2.1 Remote control basis Send the overlapped command only and do not send *OPC, *OPC or *WAI Send ―<short timeout>; *OPC?‖ in the timer, so as to query the completion status of operation circularly; If the return value (LSB) is equal to 1, this indicates that the overlap command has been executed. In case of timeout, the device is in the operational process.
  • Page 25 Remote Control 2.1 Remote control basis Fig. 2.3 Hierarchical Structure of Status Register The register classification is described as follows: STB, SRE Status Byte (STB) register and its associated mask register, Service Request Enable (SRE) register, constitute the top-level register of the status reporting system. The STB saves the general working status of the instrument by collecting low-level register information.
  • Page 26 Remote Control 2.1 Remote control basis (SCPI definition), they contain the specific operating information of the instrument. All SCPI status registers have the same internal structure (refer to ―Section 2.1.5.2 Structure of SCPI Status Register‖ in this Programming Manual for details) IST, PPE Similar to the SRQ, an individual bit of the IST mark ("Individual STatus") is a combination of all statuses of the instrument.
  • Page 27 Remote Control 2.1 Remote control basis  Positive and negative conversion register Two transfer registers define the status transfer bit of the condition register stored in the event register. The positive conversion register is similar to a conversion filter. When an event bit of the condition register is changed from 0 to 1, the associated PTR bit determines if the event bit should be set to 1, as described below: - If the PTR bit is equal to 1, the event bit should be set.
  • Page 28 Remote Control 2.1 Remote control basis associated STB bit changes to 1 from 0, a service request (SRQ) will be generated. The common command ―*SRE‖ is used to set the SRE, and the common command ―*SRE? ‖ is used to read the SRE. The status byte is described in the following Table 2.6 Description of the Status Byte: Table 2.6 Description of Status Bytes Data Bit...
  • Page 29 Remote Control 2.1 Remote control basis Data Bit Meaning Set the bit if a command with correct syntax is received but can‘t be executed. In addition, an error with the code within the range of -200 ~ -300 is generated in the error queue. Command error Set the bit if the received command has a syntax error.
  • Page 30 Remote Control 2.1 Remote control basis Table 2.9 STAT: QUES: FREQ Register Description Data Bit Meaning OVEN COLD If the reference oscillator does not reach its operating temperature, set this bit. At the same time, the user interface shows the prompt message ―OCXO‖. Local oscillator UNL If the local oscillator is unlocked, set this bit.
  • Page 31 Remote Control 2.1 Remote control basis controller‘s service, and then the controller will initiate an interruption to enter the corresponding interruption handler. As shown in Figure 2.4, an SRQ is usually initiated by one or more status bytes and the 2 or 7 bits of the associated enable register (SRE).
  • Page 32 Remote Control 2.1 Remote control basis The STB and ESR registers include 8 bits, and the SCPI register includes 16 bits. The returned value of the queried status register is in decimal format. The decimal value is equal to the sum of the data bits and their own weights after operation.
  • Page 33: Programming Considerations

    Remote Control 2.1 Remote control basis Event Power On/Off DCL, SDC *RST or STATus: *CLS (Power-on status (Instrument SYSTem: PRESet cleared) cleared, PRESet selected instrument Function cleared) — — — — Clear enable part in the operation inquiry registers. Filling 1 in the enable part of other registers.
  • Page 34: Remote Interface And Its Configuration

    Use of USB main control port connector on front panel The Type-A connector on the front panel is for USB master control port. In the 1465 series signal generator, this port is used to be connected to the flash disk of USB 2.0 interface to realize the instrument‘s resident software upgrade, and can also be connected to the USB keyboard and mouse to...
  • Page 35: Gpib

    2.2.2 GPIB  Connection Establishment .................. 28  Interface Configuration ..................29 2.2.2.1 Connection Connect the 1465 series signal generator to the external controller (computer) with GPIB cable, as shown in Fig. 2.8: GPIB address GPIB Fig. 2.8 GPIB Interface Connection...
  • Page 36: I/O Library

    Remote Control 2.3 I/O library 2.2.2.2 Interface configuration The user may need to modify the GPIB address when building a system with a signal generator. The GPIB address of the machine is 19 by default. The method to change the GPIB address is as follows: Press 【System】→[GPIB Interface] to enter the interface shown in Fig.
  • Page 37: Installation And Configuration Of I/O Library

    Remote Control 2.3 I/O library Application Interactive developer Program developer interface interface Instrument drive program (functional body) Subprogram interface I/O interface (VISA) Figure 2.12 Instrument Driver Structure Model The detailed description is given as follows: Functional body. It is the main functional part of the instrument driver and can be understood as the framework program of the instrument driver.
  • Page 38 Remote Control 2.3 I/O library Object Model (COM) and adopts COM API; IVI-C is based on ANSI C and adopts C API. Both drivers are designed according to the instrument class defined in the IVI specification, with the same application development environments including Visual Studio, Visual Basic, Agilent VEE, LabVIEW and CVI/LabWindows.
  • Page 40: Scpi

    3 SCPI 3.1 Command instruction 3 SCPI  Command instruction ..................33  Common command ..................... 33  Instrument subsystem command ................ 34 3.1 Command instruction This chapter provides detailed reference information of commands for achieving remote control, which includes: ...
  • Page 41: Idn

    Function: This command is used for selecting the bus in the signal generator as the trigger source. Note: for setting only. 3.3 Instrument subsystem command This chapter details the subsystem commands in 1465 series signal generator.  OUTPut ........................ 35 ...
  • Page 42: Output Subsystem

    3 SCPI 3.3 Instrument subsystem command  ROSCillator ....................... 109  SYSTem ......................109 3.3.1 OUTPut subsystem OUTPut subsystem commands are used for controlling the switch of RF output signal. The following commands are used for setting operation modes:  OUTPut:BLANking[:STATe] ·...
  • Page 43: Frequency Subsystem

    3 SCPI 3.3 Instrument subsystem command Parameter: <State> Boolean data is as follows: ON | 1: modulation ON, OFF | 0: modulation OFF. Example: :OUTPut:MODulation 1 Set the state of the modulation main switch as ON. Reset status: 0 Key Entry: 【Modulation ON/OFF】 3.3.2 FREQuency subsystem FREQuency subsystem commands are used for controlling the general functions of RF output signal frequency.
  • Page 44: [:Source]:Frequency:mode

    3 SCPI 3.3 Instrument subsystem command Reset status: Freq Start + (Freq Stop - Freq Start)/2 Key Entry: 【Frequency】—>[CW] [:SOURce]:FREQuency:MODE <Mode> Function: This command sets the frequency mode of the signal generator. Setting format: [:SOURce]:FREQuency:MODE FIXed|CW|SWEep|LIST Query format: [:SOURce]:FREQuency:MODE? Parameter: <Mode>...
  • Page 45: [:Source]:Frequency:reference

    3 SCPI 3.3 Instrument subsystem command At this time, the displayed frequency value= RF output frequency ×multiplier+ frequency offset. However, the actual frequency output is still the frequency with no multiplier and frequency offset added. When Freq Offset is set to zero, the indicator disappears.
  • Page 46: [:Source]:Frequency:step

    3 SCPI 3.3 Instrument subsystem command switch is ON, when the CW frequency of the signal generator is changed, the frequency value displayed in the frequency display area is based on this frequency reference. setting frequency reference, please command―:FREQuency:REFerence‖; when the switch is OFF, the frequency value displayed in the frequency display area is the actual CW frequency of the signal generator.
  • Page 47: [:Source]:Frequency:stop

    3 SCPI 3.3 Instrument subsystem command <StartFreq> Freq Start of sweep. Model Range 1465A [100kHz~3GHz] 1465B [100kHz~6GHz] 1465C [100kHz~10GHz] 1465D [100kHz~20GHz] 1465E [100kHz~40GHz] 1465H [100kHz~50GHz] 1465L [100kHz~67GHz] Example: :FREQuency:STARt 1MHz Freq Start of Step/Analog Sweep of the signal generator is 1 MHz.
  • Page 48: Power Subsystem

    3 SCPI 3.3 Instrument subsystem command <State> Boolean data is as follows: ON | 1: Frequency follow-up ON, OFF | 0: Frequency follow-up OFF. Example: [:SOURce]:FREQuency[:CW|FIXed]:AUTO 1 Frequency follow-up of the signal generator is ON. Reset status: 0 Key Entry: 【Calibration】—>[Power Accuracy Calibration] —>[Frequency Follow-up] 3.3.3 POWer subsystem POWer subsystem commands are used for controlling the general functions of RF output signal power level.
  • Page 49: [:Source]:Power:alc:search

    3 SCPI 3.3 Instrument subsystem command [:SOURce]:POWer:ALC:SEARch <Mode> Function: This command activates or deactivates the internal amplitude auto search of the signal generator when ALC loop is turned on. Amplitude search will enable amplitude to stabilize the signal generator on the output amplitude selected by users and keep the internal modulator in drive state when ALC Loop is turned off.
  • Page 50: [:Source]:Power:alc[:State]

    3 SCPI 3.3 Instrument subsystem command Key Entry: 【Amplitude】—> [Level Control]->[Ext Detector Couple] [:SOURce]:POWer:ALC[:STATe] <State> Function: This command enables you to turn ALC loop ON or OFF. ALC Loop is mainly to correct amplitude drift and to make the signal generator output amplitude level not change with time and temperature.
  • Page 51: [:Source]:Power[:Level][:Immediate][:Amplitude]

    3 SCPI 3.3 Instrument subsystem command Parameter: <State> Boolean data is as follows: ON | 1: Attenuation is AUTO, OFF | 0: Attenuation is Manual. Example: :POWer:ATTenuation:AUTO 0 Attenuation Style is Manual. Reset status: 1 Key Entry: 【Amplitude】—>[Attenuation Config]—>[Attenuation Style Auto Manual] [:SOURce]:POWer[:LEVel][:IMMediate][:AMPLitude] <Ampl>...
  • Page 52: [:Source]:Power:reference:state

    3 SCPI 3.3 Instrument subsystem command generator remains 1dBm. Setting format: [:SOURce]:POWer:REFerence <value> Query format: [:SOURce]:POWer:REFerence? Parameter: <PowRef> Ampl Ref. Range: 0dBm [-135dBm,+30dBm]. Example: :POWer:REFerence -10dBm Ampl Ref is -10 dBm. Reset status: 0dBm Key Entry: 【Amplitude】—>[Basic Config]->[Ampl Ref] [:SOURce]:POWer:REFerence:STATe <State> Function: This command sets the state of Ampl Ref Switch.
  • Page 53: [:Source]:Power:alc:bandwidth|Bwidth

    3 SCPI 3.3 Instrument subsystem command [:SOURce]:POWer:ALC:BANDwidth|BWIDth <AlcBandWidth> Function: This command sets ALC (automatic leveling control) Band which enables the signal generator to output different frequency bands. There are four ALC loop bandwidth settings in different states, 100 Hz, 1 kHz, 10 kHz and 100 kHz. Notes: When Band...
  • Page 54: List Subsystem

    3 SCPI 3.3 Instrument subsystem command 3.3.4 LIST subsystem LIST subsystem commands are used for setting the list sweep function of RF output signal. The commands and parameters of the subsystem are: The following commands are used for setting operation modes: ...
  • Page 55 3 SCPI 3.3 Instrument subsystem command <Val> Dwell Time of List Sweep Points. Range: 1ms [1ms,60s]. Example: :LIST:DWELl 30ms,20ms Set the dwell time of the first point in list to 30 ms, and the second point to 20 ms. Key Entry: 【Sweep】—>[List Sweep]—>[Edit List...]—>[Time(ms)] [:SOURce]:LIST:FREQuency <Val>{,{Val}} Function: This command is used for setting the CW frequency of each sweep point in the current list.
  • Page 56 3 SCPI 3.3 Instrument subsystem command Key Entry: 【Sweep】—>[List Sweep]—>[Insert Counts] [:SOURce]:LIST:FILL:STARt <FreqStart> Function: This command sets Freq Start of List Sweep, which is used with Freq Stop and Insert Counts to automatically generate list sweep points. For setting the stop frequency and sweep points list,...
  • Page 57 3 SCPI 3.3 Instrument subsystem command [:SOURce]:LIST:POWer <Val>{,{Val}} Function: This command sets the amplitude of each sweep point in current list. If users need to set different offset for each list point, it is necessary to enter the corresponding offset value for each point in list, i.e.
  • Page 58 3 SCPI 3.3 Instrument subsystem command automatically triggers the next sweep. BUS Bus, the trigger source is from GPIB group execute trigger, or triggered by ―*TRG‖ command. EXTernal Ext, the trigger signal is from the trigger input connector on the rear panel. KEY Key, the trigger signal is from the trigger key on the front panel.
  • Page 59: Lfoutput Subsystem

    3 SCPI 3.3 Instrument subsystem command Setting format: [:SOURce]:LIST:FILL:EXECute Parameter: Example: :LIST:FILL:EXECute Accomplish automatic filling of list. Key Entry: 【Sweep】—>[List Sweep]—>[Auto Fill] Note: For setting only. [:SOURce]:LIST:DELete <Mode> Function: This command is used for deleting the points in the list of List Sweep. Setting format: [:SOURce]:LIST:FILL:EXECute Parameter: Discrete data.
  • Page 60 3 SCPI 3.3 Instrument subsystem command is set to SweepSinc or DualSinc, this command will set the start frequency of sweep sine and the frequency 1 of dual sine. For setting LF waveform, see the command ―LFOutput:SHAPe‖. Setting format: [:SOURce]:LFOutput:FREQuency <val> Query format: [:SOURce]:LFOutput:FREQuency? Parameter: <Frequency>...
  • Page 61 3 SCPI 3.3 Instrument subsystem command [:SOURce]:LFOutput:FREQuency:ALTernate:AMPLitude:PERCent <Percent> Function: This command is used for setting the percentage of amplitude of second tone to that of total output signal in dual sine waveform when LF Waveform is set to DualSinc; for example, if the second tone accounts for 20% of the total waveform power, the first tone will account for 80% of the total power output.
  • Page 62 3 SCPI 3.3 Instrument subsystem command Key Entry: 【Frequency】—>[LF Out]—>[LF Waveform]—>[Zigzag>>] [:SOURce]:LFOutput:SHAPe <Mode> Function: This command sets LF signal output waveform. There are seven waveforms for selection: Sinc, Square, Triangle, Zigzag, White noise, SweepSinc and DualSinc. Setting format: [:SOURce]:LFOutput:SHAPe SINE|SQUare|TRIangle|RAMP |NOISe|SWEPtsine|DUALsine Query format: [:SOURce]:LFOutput:SHAPe? Parameter:...
  • Page 63: Sweep Subsystem

    3 SCPI 3.3 Instrument subsystem command Key Entry: 【Frequency】—>[Sweep Sinc>>]—>[Sweep Time] 3.3.6 SWEep subsystem SWEep subsystem commands are used for controlling the sweep frequency functions of RF output signal. The commands and parameters of the subsystem are: The following commands are used for setting operation modes: ...
  • Page 64 3 SCPI 3.3 Instrument subsystem command Reset status: 10.000ms Key Entry: 【Sweep】—>[Step Sweep]—>[Step Dwell] [:SOURce]:SWEep:POINts <Num> Function: This command sets the current step counts. Setting format: [:SOURce]:SWEep:POINts <val> Query format: [:SOURce]:SWEep:POINts? Parameter: <Num> Step Counts Range: 11[2,801]. Example: :SWEep:POINts 101 Set Step Counts to 101. Reset status: 11 Key Entry: 【Sweep】—>[Step Sweep]—>[Step Counts] [:SOURce]:SWEep:STEP <FreqStep>...
  • Page 65: The Commands And Parameters Of The Subsystem Are: The Following Commands Are Used For Setting Pulse Modulation Mode:  [:Source]:Pulm:external:polarity

    3 SCPI 3.3 Instrument subsystem command ON | 1: Sweep ime type is set to Auto. OFF | 0: Sweep time type is set to Manual. Example: :SWEep:TIME:AUTO 1 Set sweep time type to Auto Reset status: 1 Key Entry: 【Sweep】—>[Ramp Sweep] —>[Sweep Dwell Time Type] —>[Auto Manual] [:SOURce]:SWEep:TIME <state>...
  • Page 66: Pulm Subsystem

    3 SCPI 3.3 Instrument subsystem command EXTernal Ext, the trigger signal is from the trigger input connector on the rear panel. KEY |Trigger key; trigger source comes from the trigger key of the front panel. Example: :SWEep: TRIGger:SOURce BUS Set Step Trig to Bus mode. Reset status: IMM Key Entry: 【Sweep】—>[Step Sweep]—>[Step Trig] 3.3.7 PULM subsystem...
  • Page 67: [:Source]:Pulm:internal:frequency

    3 SCPI 3.3 Instrument subsystem command NORMal Input Direction is turned off and the input pulse signal is TTL high level. INVerted Input Direction is turned on and the input pulse signal is TTL low level. Example: :PULM:ENTernal:POLarity INV External input pulse signal is inverted to TTL low level. Reset status: NORM Key Entry: 【Pulse】—>[Basic Config]—>[Input Direction ON OFF] [:SOURce]:PULM:INTernal:DELay <DelayTime>...
  • Page 68: [:Source]:Pulm:internal:pwidth

    3 SCPI 3.3 Instrument subsystem command Setting format: [:SOURce]:PULM:INTernal:PERiod <value> Query format: [:SOURce]:PULM:INTernal:PERiod? Parameter: <Percent> Pulse period. Range: 1.000000ms[40ns,42.000000000s]. Example: :PULM:INTernal:PERiod 10ms Pulse signal period is 10 ms. Reset status: 1.000000ms Key Entry: 【Pulse】—>[Basic Config]—>[Period] [:SOURce]:PULM:INTernal:PWIDth <PWidth> Function: This command sets Width of pulse signal generated inside the signal generator. If the set pulse width is greater than or equal to the current pulse period, the pulse width will be automatically adjusted to be smaller than the current pulse period.
  • Page 69: [:Source]:Pulm:state

    3 SCPI 3.3 Instrument subsystem command GATEd Source is Gate. TRIGgered Auto mode is activated. In this mode, the period is the external sync pulse period, and the pulse width is the local pulse width setting. JITTered Source is Jittered. STAGger Source is Staggered.
  • Page 70: [:Source]:Pulm:internal:ptrain:data

    3 SCPI 3.3 Instrument subsystem command Query format: [:SOURce]:PULM:INTernal:JITTered:PERCent? Parameter: <Percent> PRF jitter percentage of pulse modulation. Range: 0[0,10]. Example: [:SOURce]:PULM:INTernal:JITTered:PERCent 5 Pulse jitter percentage is 5%. Reset status: 10 Key Entry: 【PULSE】—>[Jittered]—>[Dither Percent] [:SOURce]:PULM:INTernal:PTRain:DATA <PlsWidth>,<PlsPerd>{ PlsWidth PlsPerd …} Function: When the pulse source for pulse modulation of the signal generator is set to M-Pulse, this command is used for setting the pulse train function, which includes the following parametric components: Pulse width and period.
  • Page 71: [:Source]:Pulm:internal:ptrain:points

    3 SCPI 3.3 Instrument subsystem command Note: for setting only. [:SOURce]:PULM:INTernal:PTRain:POINts? Function: This command is used for querying points of current pulse train. "Zero" indicates that the current list is empty, and "Nonzero" indicates the actual points in the current list. It should be noted that, if the user operates the interface manually, the index in the pulse trains list will start from 0;...
  • Page 72: Amplitude Modulation

    3 SCPI 3.3 Instrument subsystem command [:SOURce]:PULM:INTernal:SLIDing:POINts <Num> Function: When the pulse source is set to Sliding, this command is used for setting pulse sliding points. Setting format: [:SOURce]:PULM:INTernal:SLIDing:POINts <Num> Query format: [:SOURce]:PULM:INTernal:SLIDing:POINts? Parameter: <StepTime> Sliding points. Range: [2,1024]. Example: [:SOURce]:PULM:INTernal:SLIDing:POINts 10 Set sliding points to 10. Reset: 1024 Key Entry: 【PULSE】—>[Sliding]—>[Sliding Counts] [:SOURce]:PULM:INTernal:STAGger:INSert <Index>,<PlsPerd>...
  • Page 73: [:Source]:Pulm:internal:stagger:delete

    3 SCPI 3.3 Instrument subsystem command Query current PRF staggered points. Reset status: 0 Key Entry: None Note: for query only. [:SOURce]:PULM:INTernal:STAGger:DELete <Index> Function: This command is used for deleting any index in Stagg Listof the signal generator. If the index point to be deleted exceeds the range of list points, this operation will be invalid.
  • Page 74: Amplitude Modulation Subsystem

    3 SCPI 3.3 Instrument subsystem command Key Entry: 【Signal】—>[LFM]—> [BandWidth] [:SOURce]:PULM:LFM:DIRection <Mode> Function: This command is used for setting LFM direction. When LFM Direction is set to Increase, the FM signal output of the signal generator will increase progressively from negative to positive bandwidth;...
  • Page 75 3 SCPI 3.3 Instrument subsystem command  [:SOURce]:AM:INTernal:SHAPe ................. 70  [:SOURce]:AM:INTernal:SWEep:TIME ............... 71  [:SOURce]:AM:MODE ..................71  [:SOURce]:AM:SOURce ..................71  [:SOURce]:AM:STATe ..................72  [:SOURce]:AM:TYPE ..................72 [:SOURce]:AM[:DEPTh]:EXPonential <AmDepthExp> Function: When AM Type is EXP, set AM Depth of AM signal in dB. For AM type, see the command ―:AM:TYPE‖.
  • Page 76 3 SCPI 3.3 Instrument subsystem command Freq Start of SweepSinc. Range: 10mHz[10mHz,0.99999999MHz] DualSinc frequency1. Range: 1kHz[10mHz,1MHz]. Example: :AM:INTernal:FREQuency 100kHz Internal modulation rate for AM is 100kHz. Reset status: AM rate: 1kHz. Start frequency of sweep sine: 10mHz. Frequency 1 of dual sine: 1kHz Key Entry: 【AM】—>[Basic Config]—>[AM Rate] [:SOURce]:AM:INTernal:FREQuency:ALTernate <Frequency>...
  • Page 77 3 SCPI 3.3 Instrument subsystem command [:SOURce]:AM:INTernal:NOISe <Mode> Function: This command is used for setting signal output types when AM Waveform is set to White noise, which includes: White noise and Gauss. For AM signal output waveform, see the command ―:AM:INTernal:SHAPe‖. Setting format: [:SOURce]:AM:INTernal:NOISe UNIForm|GAUSsian Query format: [:SOURce]:AM:INTernal:NOISe? Parameter:...
  • Page 78 ALC Loop is turned off, and AM index is superior to the index in data manual; in NORMal mode, AM index is the same as that in data manual. Please refer to data index of 1465 series signal generator. Setting format: [:SOURce]:AM:MODE DEEP|NORMal...
  • Page 79: Frequency Modulation Subsystem

    3 SCPI 3.3 Instrument subsystem command Example: :AM:SOURce INT AM Source is set to Internal. Reset status: INT Key Entry: 【AM】—>[AM Source]—>[AM Source] [:SOURce]:AM:STATe <State> Function: This command sets the AM signal output state of the signal generator. Setting format: [:SOURce]:AM:STATe ON|OFF|1|0 Query format: [:SOURce]:AM:STATe? Parameter: <State>...
  • Page 80 3 SCPI 3.3 Instrument subsystem command [:SOURce]:FM:DEViation <Deviation> Function: This command sets FM Dev of the signal generator. It should be noted that FM Dev varies in different frequency band. Setting format: [:SOURce]:FM:DEViation <val> Query format: [:SOURce]:FM:DEViation? Parameter: <Deviation> The relationship between current frequency and FM Dev is as follows: 1465 Current frequency FM Dev...
  • Page 81 3 SCPI 3.3 Instrument subsystem command 【FM/ΦM】—>[Dual Sinc]—>[Frequency1] [:SOURce]:FM:INTernal:FREQuency:ALTernate <Frequency> Function: This command is used for setting the second tone when FM waveform is set to DualSinc, or the stop frequency when FM waveform is set to SweepSinc. For FM waveform, see the command ―:FM:INTernal:SHAPe‖.
  • Page 82 3 SCPI 3.3 Instrument subsystem command Example: :FM:INTernal:NOISe GAUS FM noise is set as Gauss. Reset status: UNIF Key Entry: 【FM/ΦM】—>[Basic Config]—>[FM Waveform]—>[Noise] [:SOURce]:FM:INTernal:RAMP <Mode> Function: This command is used for setting signal output types when FM Waveform is set to Zigzag, which includes: Zigzag-up and Zigzag-down.
  • Page 83: Phase Modulation Subsystem

    3 SCPI 3.3 Instrument subsystem command <Time> Sweep time when FM Waveform is set to SweepSinc. Range: 10.000ms [10.000us,2s]. Example: :FM:INTernal:SWEep:TIME 1s Sweep time of sweep sine for FM signal is 1s. Reset status: 10.000us Key Entry: 【FM/ΦM】—>[Sweep Sinc]—>[Sweep Time] [:SOURce]:FM:SOURce <Mode>...
  • Page 84 3 SCPI 3.3 Instrument subsystem command  [:SOURce]:PM:INTernal:SHAPe ................. 79  [:SOURce]:PM:INTernal:SWEep:TIME ............... 80  [:SOURce]:PM:SOURce ..................80  [:SOURce]:PM:STATe ..................80 [:SOURce]:PM:BANDwidth|BWIDth Function: This command is used for setting PM signal bandwidth of the signal generator. In NORMal mode, PM bandwidth is normal; in HIGH mode, it is from broadband. Setting format: [:SOURce]:PM:BANDwidth|BWIDth NORMal|HIGH Query format: [:SOURce]:PM:BANDwidth|BWIDth? Parameter:...
  • Page 85 3 SCPI 3.3 Instrument subsystem command to DualSinc, and the start frequency can be set when FM waveform is set to SweepSinc. It should be noted that, when PM Source is set to External, the internal modulation rate can not be set. For related commands, see ―:PM:INTernal:SHAPe‖,―:PM:SOURce‖.
  • Page 86 3 SCPI 3.3 Instrument subsystem command Parameter: <Pert> Amplitude percentage of frequency 2 when PM Waveform is set to DualSinc. Range: 50[0,100]. Example: :PM:INTernal:FREQuency:ALTernate:AMPLitude:PERCent Set the percentage of second waveform of dual sine to the total signal output power to 20%.. Reset status: 50 Key Entry: 【FM/ΦM】—>[Dual Sinc]—>...
  • Page 87 3 SCPI 3.3 Instrument subsystem command Parameter: <Mode> Discrete data. Options for PM output waveform are: SINE Sine, SQUare Square, TRIangle Triangle, RAMP Zigzag, NOISe Noise, SWEPtsine SweepSinc, DUALsine DualSinc. Example: [:SOURce]:FM:INTernal:SHAP RAMP PM waveform is zigzag. Reset status: SINE Key Entry: 【FM/ΦM】—>[Basic Config]—>[PM Waveform] [:SOURce]:PM:INTernal:SWEep:TIME <Time>...
  • Page 88: Digital Modulation Subsystem

    3 SCPI 3.3 Instrument subsystem command Query format: [:SOURce]:PM:STATe? Parameter: <State> Boolean data is as follows: ON | 1: PM output is turned on, OFF | 0: PM output is turned off. Example: :PM:STATe 0 PM OFF. Reset status: 0 Key Entry: 【FM/ΦM】—>[Basic Config]—>[PM ON OFF] 3.3.11 Digital MODulation subsystem The following commands are used for setting DM operation modes:...
  • Page 89 3 SCPI 3.3 Instrument subsystem command  [:SOURce]:RADio:CUSTom:TRIGger:EXTernal:SOURce:SLOPe ....93  [:SOURce]:RADio:CUSTom:TRIGger:SOURce ..........94  [:SOURce]:RADio:CUSTom:TRIGger:TYPE ............94  [:SOURce]:RADio:CUSTom:TRIGger:TYPE:CONTinuous:TYPE ...... 95  [:SOURce]:RADio:CUSTom:TRIGger:TYPE:GATE:ACTive ......95  [:SOURce]:RADio:MTONe:ARB:SETup ............. 95  [:SOURce]:RADio:MTONe:ARB:SETup:STORe ..........96  [:SOURce]:RADio:MTONe:ARB: SETup:TABLe ..........96  [:SOURce]:RADio:MTONe:ARB: SETup:TABLe:FSPacing .......
  • Page 90 Function: When I/Q Adjust is turned on, this command adjusts the phase angle between I and Q vectors by increasing or decreasing the phase angle of I or Q. If the current carrier frequency exceeds 3.2 GHz, the error of orthority offset may exceed that specified in the sample specification of 1465 series signal generator.
  • Page 91 3 SCPI 3.3 Instrument subsystem command Setting format: [:SOURce]:DM:IQADjustment:QSKew <val> Query format: [:SOURce]:DM:IQADjustment:QSKew? Parameter: <Offset> I/Q adjustment orthority offset. Range: 0deg [-10.00deg,+10.00deg]. Example: :DM:IQADjustment:QSKew 30deg Set the Orthority Offset for I/Q adjustment to 30deg. Reset status: 0deg Key Entry: 【I/Q】—>[ I/Q Input Adj]—>[Orthority Offset] [:SOURce]:DM:IQADjustment[:STATe] <State>...
  • Page 92 3 SCPI 3.3 Instrument subsystem command [:SOURce]:DM:MODulation:ATTenuation:AUTO <State> Function: This command sets the Manual state of the signal generator I/Q channel attenuator. When Manual mode is enabled, current attenuation remains unchanged. For modulator attenuation, see the command ―:DM:MODulation:ATTenuation‖; after Manual mode is disabled, the user can not change attenuation, and the signal generator will select the optimum attenuation value for its current status automatically.
  • Page 93 3 SCPI 3.3 Instrument subsystem command [:SOURce]:DM:EXTernal:BWIDth[:STATe] <State> Function: This command sets the ON/OFF state of Ext WideBand I/Q Input. Setting format: [:SOURce]:DM:EXTernal:BWIDth[:STATe] ON|OFF|1|0 Query format: [:SOURce]:DM:EXTernal:BWIDth[:STATe]? Parameter: <State> Boolean data is as follows: ON | 1: Ext WideBand I/Q Input is turned on, OFF | 0: Ext WideBand I/Q Input is turned off.
  • Page 94 3 SCPI 3.3 Instrument subsystem command Query format: [:SOURce] :DM:IQADjustment:OUTPut:GAIN? Parameter: <Gain> Gain Balance of I/Q Output Adj. Range: 0dB [-4dB,4dB]. Example: :DM:IQADjustment:OUTPut:GAIN 2dB Set Gain Balance of I/Q Output Adj to 2 dB. Reset status: 0 Key Entry: 【I/Q】—>[ I/Q Output Adj]—>[Gain Balance] [:SOURce]:DM:IQADjustment:OUTPut:IOFFset <offset >...
  • Page 95 3 SCPI 3.3 Instrument subsystem command Range: 0V [-1V,1V]. Example: :DM:IQADjustment:OUTPut:QOFFset 1V Set Q Offset for I/Q output to 1V. Reset status: 0 Key Entry: 【I/Q】—>[ I/Q Output Adj]—>[Q Offset] [:SOURce]:DM:IQADjustment:OUTPut:UQOFfset <offset > Function: This command is used for setting Q/ offset for I/Q output adjustment. This command will be valid when I/Q Output Adj is set to ON.
  • Page 96 3 SCPI 3.3 Instrument subsystem command Range: 0.350 [0,1.000]. Example: :RADio:CUSTom:ALPHa 0.350 Set filter factor to 0.35. Reset status: 0.350 Key Entry: 【Base】—>[Filter]—>[Filter Factor α] [:SOURce]:RADio:CUSTom:DATA <Mode> Function: This command is used for setting the data sources of the baseband modulation signal, which include PN9, PN11, PN15, PN16, PN20, PN21, PN23, FIX4, P4, P8, P16, P32, P64 and PRAM.
  • Page 97 3 SCPI 3.3 Instrument subsystem command NYQuist Nyquist filter, GAUSsian Gauss filter, RECTangle Rectangle filter. Example: :RADio:CUSTom:FILTer RNYQuist The baseband premodulation filter is of Root Nyquist type. Reset status: RNYQuist Key Entry: 【Base】—>[Filter]—>[Filter Select] [:SOURce]:RADio:CUSTom:MODulation:FSK[:DEViation] <Dev> Function: This command is used for setting FM deviation of FSK when the modulation type is set to FSK.
  • Page 98 3 SCPI 3.3 Instrument subsystem command Query format: [:SOURce]:RADio:CUSTom:MODulation[:TYPE]? Parameter: <Mode> Discrete data. For Modulation Type, please refer to the format of set command: Example: :RADio:CUSTom:MODulation 8PSK Modulation Type is set to 8PSK. Reset status: QPSK Key Entry: 【Base】—>[Module Type]—>[Modulation Type] [:SOURce]:RADio:CUSTom:SRATe <Val>...
  • Page 99 3 SCPI 3.3 Instrument subsystem command [:SOURce]:RADio:CUSTom:POLarity[:ALL] <Mode> Function: This command sets the phase rotation direction of baseband signal, including: Normal and Reverse, signal is normally modulated in Normal mode; Q channel signal is reversed to complete the reverse of carrier signal in Reverse mode. Setting format: [:SOURce]:RADio:CUSTom:POLarity[:ALL] NORMal|INVert Query format: [:SOURce]:RADio:CUSTom:POLarity[:ALL]? Parameter:...
  • Page 100: [:Source]:Radio:custom:trigger:external:source:slope

    3 SCPI 3.3 Instrument subsystem command [:SOURce]:RADio:CUSTom:TRIGger:EXTernal:SOURce:DELay <Val> Function: This command is used for setting the delay time (in bit) for the baseband signal to respond to the trigger signal after receipt of external trigger signal when Trig Source is set to EXT.
  • Page 101: [:Source]:Radio:custom:trigger:source

    3 SCPI 3.3 Instrument subsystem command Parameter: <Mode> Discrete data. Options for external trigger polarity are: POSitive | 0: Pos, NEGative | 1: Neg. Example: [:SOURce]:RADio:CUSTom:TRIGger:EXTernal:SOURce:SLOPe NEGative External trigger polarity is effective at low level. Reset status: POS Key Entry: 【Base】—>[Trigger]—>[Trig Source]—>[EXT] —>[Trig Source-EXT] —>...
  • Page 102: [:Source]:Radio:custom:trigger:type:continuous:type

    3 SCPI 3.3 Instrument subsystem command [:SOURce]:RADio:CUSTom:TRIGger:TYPE:CONTinuous:TYPE <Mode> Function: This command is used for setting the response mode of baseband data to trigger signal when the baseband trigger mode is set to Continue. Three modes, namely Auto, Trig and Realtime, are available for the user. For setting baseband signal trigger mode, see the command ―:RADio:CUSTom:TRIGger:TYPE‖...
  • Page 103: [:Source]:Radio:mtone:arb:setup:store

    3 SCPI 3.3 Instrument subsystem command specifying an absolute path. Setting format: [:SOURce]:RADio:MTONe:ARB:SETup <file_name> Parameter: <FileName> String type, multi tone file name. Example: [:SOURce]:RADio:MTONe:ARB:SETup ―mtone1.mtn‖ Load file mtone1.mtn to the memory of the signal generator. Key Entry: 【Dual/Multi Tone】—>[Multi Tone]—>[Base Config]—>[Load] Note: for setting only.
  • Page 104: [:Source]:Radio:mtone:arb: Setup:table:fspacing

    3 SCPI 3.3 Instrument subsystem command -30,45,1‖ This example shows that the multi tone frequency interval is set to 1 MHz. There are three tones. The first has an Atten Ampl of 10 dB and Phase of 90 degrees, in OFF status;...
  • Page 105: [:Source]:Radio:mtone:arb: Setup:table:phase:initialize

    3 SCPI 3.3 Instrument subsystem command [:SOURce]:RADio:MTONe:ARB:SETup:TABLe:PHASe:INITialize <Mode> Function: This command initializes initial phase mode in multi tone modulation table, including: Random and Fixed. In Fixed mode, the phase of all tones in multi tone table will be set to a Fixed value (0 degree); in Random mode, the phase of all tones in multi tone table will be set to different random values based on random seed.
  • Page 106: [:Source]:Radio:mtone:arb[:State]

    3 SCPI 3.3 Instrument subsystem command <RowIndex> Row index of the multitone modulation list. Range: 0[0,63]. <Pow> Atten Ampl Range: 0dB[-100dB,0dB]. <Phase> Initial Phase. Range: 0deg[0deg,359deg]. <State> Status. Boolean data is as follows: 1: ON, 0: off. Example: :RADio:MTONe:ARB:SETup:TABLe:ROW ―2,-10,40,0‖ This example indicates that, in the second row of the list, Atten Ampl is set to -10dB, Phase set to 40deg and Status set to OFF.
  • Page 107: [:Source]:Radio:ttone:arb:fspacing

    3 SCPI 3.3 Instrument subsystem command Example: [:SOURce]:RADio:TTONe:ARB:ALIGnment RIGHt Display Dual Tone Alignment to be displayed to the right of carrier. Reset status: CENT Key Entry: 【Dual/Multi Tone】—>[Dual Tone]—>[Alignment>>] [:SOURce]:RADio:TTONe:ARB:FSPacing <FreqSpacing> Function: This command is used for setting Freq Separation of dual tone. This command is valid only when Dual Tone is set as ON.
  • Page 108: [:Source]:Radio:arb[:State]

    3 SCPI 3.3 Instrument subsystem command <Mode> Discrete data. Arb mode is as follows: ARB | 0: Arb mode, SEQuence | 1: Seq mode. Example: [:SOURce]:RADio:ARB:MODE SEQ Operation mode of arbitrary waveform is set to Seq. Reset status: SEQ Key Entry: 【Arb】—>[Base Config] —>[Work Pattern Arb Seq] [:SOURce]:RADio:ARB[:STATe] <State>...
  • Page 109: [:Source]:Radio:arb:sequence:clock

    3 SCPI 3.3 Instrument subsystem command Parameter: <FileName> String type. The folder where waveform segment file is stored, the folder specified by users can only be that under relative path. <WaveForm> String type. Name of waveform segment file, the maximum number of waveform segment file supported by this command is 64.
  • Page 110: [:Source]:Radio:arb:trigger:type

    3 SCPI 3.3 Instrument subsystem command value will be valid only when Clock Type is set to User Defined. For setting Clock Type, see the command ―:RADio:ARB:SEQuence:CLOCk‖. Setting format: [:SOURce]:RADio:ARB:SCLock:RATE <val><freq unit> Query format: [:SOURce]:RADio:ARB:SCLock:RATE? Parameter: <ClockRate> I/Q signal Q offset. Range: 100MHz[0.01MHz,250MHz].
  • Page 111: [:Source]:Radio:arb:trigger:type:continuous[:Type]

    3 SCPI 3.3 Instrument subsystem command [:SOURce]:RADio:ARB:TRIGger:TYPE:CONTinuous[:TYPE] <Mode> Function: This command sets the mode in which sequence file responds to trigger signal when ARB is in Continue or Single mode. There are three modes for selection, FREE, TRIGger RESet. setting Trig Mode, command...
  • Page 112: [:Source]:Radio:arb:trigger:type:sadvance[:Type]

    3 SCPI 3.3 Instrument subsystem command RESet. For setting Trig Mode, see the command ―:RADio:ARB:TRIGger:TYPE‖. Setting format: [:SOURce]:RADio:ARB:TRIGger:TYPE:SINGle FREE|TRIGger|RESet Query format: [:SOURce]:RADio:ARB:TRIGger:TYPE:SINGle? Parameter: <Mode> Discrete data. The mode in which sequence file responds to trigger signal when ARB is in Single mode, The values are as follows: FREE | 0: When Auto mode is selected, sequence is triggered automatically to start...
  • Page 113: [:Source]:Radio:arb:trigger:type:gate:active

    3 SCPI 3.3 Instrument subsystem command Parameter: <Mode> Discrete data. The mode in which sequence file responses to trigger signal when ARB is in Wave Segment mode, The values are as follows: SINGle | 0: Single waveform segment trigger, CONTinuous | 1: Continue waveform segment, trigger. Example: [:SOURce]:RADio:ARB:TRIGger:TYPE:SADVance:TYPE SING When ARB is in Wave Segment mode, set the mode in which sequence file responds to trigger signal to Single.
  • Page 114: Memory Subsystem

    3 SCPI 3.3 Instrument subsystem command Set Trig Source to Bus. Reset status: KEY Key Entry: 【Arb】—>[Trigger]—>[Trig Source] [:SOURce]:RADio:ARB:VCO:CLOCk <Mode> Function: This command sets ARB Samp Clock. When Samp Clock is Int, the clock frequency is 200 MHz. And it can not be changed. When Samp Clock is set to Ext, the clock frequency can be set by the external clock frequency command.
  • Page 115 3 SCPI 3.3 Instrument subsystem command :MEMory:COPY:NAME <SrcName>,<DestName> Function: This command is used for copying the data of one file to another file. If the source file and destination file are not in the same folder, the destination file can be named as that of the source file.
  • Page 116: Roscillator Subsystem

    3 SCPI 3.3 Instrument subsystem command Parameter: <FileName> String type. For the user-defined arbitrary waveform file name stored in the signal generator, the user is not authorized to designate its absolute path. <#AB\n> "#" and "\n" are fixed formats. "#" refers to beginning of data, "\n" refers to placeholder, "A" refers to data length, and "B"...
  • Page 117: Diagnostic:information:ccount:pon

    3 SCPI 3.3 Instrument subsystem command  :SYSTem:COMMunicate:LAN:IP ..............111  :SYSTem:COMMunicate:LAN:SUBNet ............. 111  :SYSTem:COMMunicate:LAN:GATeway ............112  :SYSTem:ERRor[:NEXT] .................. 112  :SYSTem:PRESet:TYPE ................... 112 :DIAGnostic:INFormation:CCOunt:PON Function: This command is used to query the cumulative number of times the instrument is powered on Query format: :DIAGnostic:INFormation:CCOunt:PON?...
  • Page 118: System:communicate:gtlocal

    3 SCPI 3.3 Instrument subsystem command :SYSTem:COMMunicate:GTLocal Function: This command is used for switching the signal generator to local operation mode. In this mode, the user can operate front panel buttons of the instrument. At the same time, remote operation mode indication in the instrument operation interface will disappear. Setting format: :SYSTem:COMMunicate:GTLocal Example: :SYSTem:COMMunicate:LAN:IP 172.141.114.114 :SYSTem:COMMunicate:GTLocal...
  • Page 119 3 SCPI 3.3 Instrument subsystem command Example: :SYSTem:COMMunicate:LAN: SUBNet ―255.255.255.0‖ Set the subnet mask address of signal generator to 255.255.255.0. Key Entry: 【System】—>[LAN Port]—>[NET MASK] :SYSTem:COMMunicate:LAN:GATeway <Address> Function: This command is used for setting network gateway address of the signal generator in external LAN, which applies dotted decimal notation.
  • Page 120: Programming Example

    4 Programming example 4.1 Basic operation example 4 Programming example  Basic operation example ................... 113  Advanced operation example ................117 4.1 Basic operation example The following demonstrates the use of the VISA library to implement the basic programming of the device, using C++ as an example.
  • Page 121: Example Running Environment

    4 Programming example 4.1 Basic operation example Development environment/programming language Visual Studio, Visual Basic, Agilent VEE, and CVI/LabWindows, etc. VISA Interface driver GPIB interface Signal Generator Figure 4.1 Programmable Software and Hardware Layers 4.1.2 Example running environment 4.1.2.1 Configuration requirements The programming examples described in this chapter have been successfully run on the computers with the following configuration.
  • Page 122: Initialization And Default Status Setting

    4 Programming example 4.1 Basic operation example If using the NI-488.2 library, you must do the following operations:  Add GPIB-32.OBJ file to the source file;  Add windows.h file to the header file;  Add Deci-32.h file to the header file. More detailed information on the NI-488.2 library and the VISA library is available on National Instruments and Agilent websites respectively.
  • Page 123: Sending Of Setting Command

    = viWrite(source, "freq 1ghz", 9, &retCnt); //Set the continuous wave frequency of the signal generator to 1 GHz 4.1.4 Sending of setting command /*************************************************************************/ The following example shows how to set the frequency and amplitude of the 1465 Series signal generator. /*************************************************************************/ void SimpleSettings() ViStatus status;...
  • Page 124: Advanced Operation Example

    4 Programming example 4.2 Advanced operation example //Print debugging information sprint("Cw is %s", rd_Buf_CW); sprint("LEVel is %s", rd_Buf_ LVL); 4.2 Advanced operation example  Setting and checking the frequency of LAN interface · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 117 ...
  • Page 125: Setting And Checking The Frequency Of Gpib Interface

    4 Programming example 4.2 Advanced operation example flag=sockClient.Send(―FREQ 1GHz\n‖,12,0); //Set frequency to 1 GHz if(!flag) MessageBox("Sending failed","ERROR",MB_OK); exit(0); cout<<‖Display Point Frequency Value‖<<end1 flag=sockClient.Send(―FREQ?\n‖,6,0); //Check current frequency if(!flag) MessageBox("Sending failed","ERROR",MB_OK); exit(0); flag= sockClient.Receive(buff,100,0); //Insert query value into array if(!flag) MessageBox("Receive Failed!","ERROR",MB_OK); Exit(0);...
  • Page 126 4 Programming example 4.2 Advanced operation example vistatus=viOpen(defaultRM,‖GPIB::19::INSTR‖,VI_NULL,VI_NULL,&vi); if(vistatus) printf(―Cannot open task, please check device and connect again\n‖); exit(0); viPrintf(vi,‖*RST\n‖); //Reset signal source viPrintf(vi,‖FREQ 500MHZ\n‖); //Set frequency to 500 MHz viPrintf(vi,‖FREQ?\n‖); //Check frequency viScanf(vi,"%t",buff); //Insert query value into array printf(―source CW freq is: %s\n‖,buff); //Display frequency viPrintf(vi,‖POW -2dBm\n‖);...
  • Page 128: Error Description

    5 Error Description 5.1 Error information 5 Error Description This chapter aims to help you to identify a problem and receive after-sales service. Error information of the signal generator is also introduced.  Error information ....................121  How to fix errors ....................123 5.1 Error information The signal generator uses two methods to record the errors during measurement: the front panel operation interface displays the error message queue and the SCPI (remote control mode) error...
  • Page 129 5 Error Description 5.1 Error information FIFO overload Only for digital-based band interface: High external input sampling rate. Input overload Signal power of RF input port is out of specified range. No reference The signal generator does not detect any required external reference single input.
  • Page 130: Repair Method

    Contact information: Tel.: (86) 0532-86896691 E-mail: sales@ceyear.com Website: www.ceyear.com Postal code: 266555 Address: No.98, Xiangjiang Road, Qingdao City, China 5.2.2...
  • Page 131 5 Error Description 5.2 Repair Method Packaging and transport of instrument When transporting or handling the instrument (for example, damage during shipment), you shall strictly observe the precautions described in ―3.1.1.1 Unpacking‖ of the User Manual.
  • Page 132: Appendixes

    Appendix A: Lookup Table of SCPI by Subsystem .......... 125  Appendix B: Lookup Table of Error Information ..........136 Appendix A Lookup Table of SCPI by Subsystem Attached Table 1: Lookup Table of SCPI for 1465 Series Signal Generator Index Command Function *IDN?
  • Page 133 Appendixes Appendix A: Lookup Table of SCPI by Subsystem power [:SOURce]:POWer:ALC:SOURce(?) amplitude level control mode external [:SOURce]:POWer:ALC:SOURce:EXTernal:COUPling(?) detection coupling coefficient Set the ALC loop [:SOURce]:POWer:ALC[:STATe](?) state power [:SOURce]:POWer:ATTenuation(?) attenuation power [:SOURce]:POWer:ATTenuation:AUTO(?) attenuation on-off [:SOURce]:POWer[:LEVel][:IMMediate][:AMPLitude](?) Set the power level power [:SOURce]:POWer[:LEVel][:IMMediate]:OFFSet(?) offset relative [:SOURce]:POWer:REFerence(?)
  • Page 134 Appendixes Appendix B: Lookup Table of Error Information offsets of all points in the list Set the dwell times [:SOURce]:LIST:FILL:DWELl(?) of all points in the list [:SOURce]:LIST:FILL:EXECute Complete the list fill [:SOURce]:LIST:DELete Delete the list point [:SOURce]:LFOutput:AMPLitude(?) frequency amplitude [:SOURce]:LFOutput:FREQuency(?) frequency sweep frequency sine stop...
  • Page 135 Appendixes Appendix A: Lookup Table of SCPI by Subsystem sweep time auto manual ramp [:SOURce]:SWEep:TIME (?) sweep time [:SOURce]:SWEep:GENeration(?) Set the sweep type Set the step sweep [:SOURce]:SWEep:TRIGger:SOURce(?) trigger source Pulse input polarity [:SOURce]:PULM:EXTernal:POLarity(?) status [:SOURce]:PULM:INTernal:DELay(?) Set the pulse delay pulse [:SOURce]:PULM:INTernal:FREQuency(?)...
  • Page 136 Appendixes Appendix B: Lookup Table of Error Information Delete any index [:SOURce]:PULM:INTernal:STAGger:DELete(?) point from staggered pulse list Clear points from the staggered [:SOURce]:PULM:INTernal:STAGger:PRESet pulse repetition frequency list linear frequency [:SOURce]:PULM:LFM:BWIDth(?) modulation bandwidth linear frequency [:SOURce]:PULM:LFM:DIRection(?) modulation direction linear [:SOURce]:PULM:LFM:STATe(?) frequency modulation status Set the exponential [:SOURce]:AM[:DEPth:]EXPonential(?)
  • Page 137 Appendixes Appendix A: Lookup Table of SCPI by Subsystem selection Set the amplitude [:SOURce]:AM:STATe(?) modulation on-off [:SOURce]:AM:TYPE(?) Set the AM type Set the internal FM [:SOURce]:FM:DEViation(?) offset modulation rate or sweep frequency [:SOURce]:FM:INTernal:FREQuency(?) sine start frequency double-sine frequency 1 sweep frequency sine stop [:SOURce]:FM:INTernal:FREQuency:ALTernate(?) frequency...
  • Page 138 Appendixes Appendix B: Lookup Table of Error Information frequency double-sine frequency 2 Set the percent of amplitude occupied [:SOURce]:PM:INTernal:FREQuency:ALTernate:AMPLitude:PERCent(?) double-sine frequency 2 phase [:SOURce]:PM:INTernal:NOISe(?) modulation noise type phase [:SOURce]:PM:INTernal:RAMP(?) modulation zigzag direction phase [:SOURce]:PM:INTernal:SHAPe(?) modulation waveform phase modulation sweep [:SOURce]:PM:INTernal:SWEep:TIME(?) frequency sine sweep time...
  • Page 139 Appendixes Appendix A: Lookup Table of SCPI by Subsystem adjustment attenuation output [:SOURce]:DM:IQADjustment:OUTPut:GAIN(?) adjustment gain balance output [:SOURce]:DM:IQADjustment:OUTPut:IOFFset(?) adjustment I offset output [:SOURce]:DM:IQADjustment:OUTPut:UIOFfset(?) adjustment I/ offset output [:SOURce]:DM:IQADjustment:OUTPut:QOFFset(?) adjustment Q offset output [:SOURce]:DM:IQADjustment:OUTPut:UQOFfset(?) adjustment offset output [:SOURce]:DM:IQADjustment:OUTPut:SKE W (?) adjustment orthority offset Set the baseband [:SOURce]:RADio:CUSTom:ALPHa(?)
  • Page 140 Appendixes Appendix B: Lookup Table of Error Information Set delay time of [:SOURce]:RADio:CUSTom:TRIGger:EXTernal:SOURce:DELay(?) external trigger source Set delay status of [:SOURce]:RADio:CUSTom:TRIGger:EXTernal:SOURce:DELay:STATe(?) external trigger source polarity [:SOURce]:RADio:CUSTom:TRIGger:EXTernal:SOURce:SLOPe(?) external trigger source baseband [:SOURce]:RADio:CUSTom:TRIGger:SOURce(?) trigger source type baseband [:SOURce]:RADio:CUSTom:TRIGger:TYPE(?) trigger source trigger type baseband [:SOURce]:RADio:CUSTom:TRIGger:TYPE:CONTinuous:TYPE(?) continuous trigger...
  • Page 141 Appendixes Appendix A: Lookup Table of SCPI by Subsystem [:SOURce]:RADio:TTONe:ARB[:STATe](?) Set bi-tone status [:SOURce]:RADio:ARB:MODE(?) Set ARB mode [:SOURce]:RADio:ARB[:STATe](?) Set ARB state Load arbitrary [:SOURce]:RADio:ARB:SEQuence wave file [:SOURce]:RADio:ARB:SEQuence:CLOCk(?) Set ARB clock type clock [:SOURce]:RADio:ARB:SCLock:RATE(?) frequency rate trigger [:SOURce]:RADio:ARB:TRIGger:TYPE(?) type Set arbitrary wave [:SOURce]:RADio:ARB:TRIGger:TYPE:CONTinuous[:TYPE](?) continuous trigger type...
  • Page 142 Appendixes Appendix B: Lookup Table of Error Information firmware date and time stamp Read signal :DIAGnostic:SNUM? generator system serial number signal :SYSTem:COMMunicate:GPIB:ADDRess(?) generator GPIB address signal :SYSTem:COMMunicate:GTLocal generator to local mode interface :SYSTem:DEVice:LANGuage(?) language of device Set IP address of :SYSTem:COMMunicate:LAN:IP(?) device Set subnet mask of...
  • Page 143: Appendix B Lookup Table Of Error Information

    Appendixes Appendix A: Lookup Table of SCPI by Subsystem Appendix B Lookup Table of Error Information Attached Table 3 Table of Local Error Information Error Key Field Error Description No ALC Excess power or no power. Time base not heated The internal 10 MHz time base of the signal generator is not at the working temperature.

Table of Contents