Rohde & Schwarz SGU100A User Manual
Rohde & Schwarz SGU100A User Manual

Rohde & Schwarz SGU100A User Manual

Sgma upconverter
Hide thumbs Also See for SGU100A:
Table of Contents

Advertisement

Quick Links

®
R&S
SGU100A
SGMA Upconverter
User Manual
(;ÚÛJ2)
1176772602

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SGU100A and is the answer not in the manual?

Questions and answers

Summary of Contents for Rohde & Schwarz SGU100A

  • Page 1 ® R&S SGU100A SGMA Upconverter User Manual (;ÚÛJ2) 1176772602...
  • Page 2 ® This document describes the R&S SGU100A, stock no. 1418.2005.02 and its options. ● ® R&S SGU-B26 (1418.3401.02) ● ® R&S SGU-B120/120V (1418.2605.02/1418.2657.02) ● ® R&S SGU-B140/140V (1418.2870.02/1418.2928.02 ) This manual describes firmware version FW 4.30.046.xx and later of the R&S ®...
  • Page 3 Safety Instructions Instrucciones de seguridad Sicherheitshinweise Consignes de sécurité Risk of injury and instrument damage The instrument must be used in an appropriate manner to prevent electric shock, fire, personal injury or instrument damage. ● Do not open the instrument casing. ●...
  • Page 4 Gefahr von Verletzungen und Schäden am Gerät Betreiben Sie das Gerät immer ordnungsgemäß, um elektrischen Schlag, Brand, Verletzungen von Personen oder Geräteschäden zu verhindern. ● Öffnen Sie das Gerätegehäuse nicht. ● Lesen und beachten Sie die "Grundlegenden Sicherheitshinweise", die als gedruckte Broschüre dem Gerät beiliegen. ●...
  • Page 5: Table Of Contents

    ® Contents R&S SGU100A Contents 1 Preface....................11 Key Features........................11 Documentation Overview................... 11 1.2.1 Getting Started Manual....................11 1.2.2 User Manual and Help....................11 1.2.3 Service Manual......................12 1.2.4 Instrument Security Procedures..................12 1.2.5 Basic Safety Instructions....................12 1.2.6 Data Sheets and Brochures..................12 1.2.7...
  • Page 6 ® Contents R&S SGU100A Front Panel Tour......................28 Rear Panel Tour......................30 4 First Steps with the Instrument............33 R&S SGU as an Extension to the R&S SGS............. 33 R&S SGU as a Standalone Upconverter..............37 5 System Overview................. 40 Setups for Instrument Control................... 40 5.1.1...
  • Page 7 ® Contents R&S SGU100A 6.4.2.2 How to Manually Add New Instruments to the SGMA-GUI .......... 61 6.4.2.3 How to Scan for New Instruments.................62 6.4.2.4 How to Activate Instruments for Control from the R&S SGMA-GUI......62 6.4.2.5 How to Edit Instruments....................63 6.4.2.6...
  • Page 8 ® Contents R&S SGU100A Preset........................... 87 8 General Instrument Settings and Instrument Setup......89 Hardware Configuration..................... 89 Software / Options...................... 91 Install SW-Options...................... 92 Protection........................93 Security Setting......................94 Maintenance........................ 96 Network Settings......................97 Remote Channels......................100 Factory Preset......................101 8.10 Eco Mode........................102 8.11...
  • Page 9 ® Contents R&S SGU100A 10.1.4 PCI Express Interface....................120 10.1.5 GPIB Interface (IEC/IEEE Bus Interface)..............121 10.2 Starting a Remote Control Session.................121 10.2.1 How to Find the VISA Resource String............... 122 10.2.2 Example: Remote Control over LAN Using Socket Communication......122 10.3 Advanced Remote Control Using PCIe..............
  • Page 10 ® Contents R&S SGU100A 11.1.3 Advanced Task for Optimizing Performance............... 142 11.1.4 Adjusting Network and Remote Channel Settings............143 11.2 Common Commands....................144 11.3 General Commands....................148 11.4 Preset Commands.....................150 11.5 CALibration Subsystem................... 151 11.6 CONNector Subsystem.....................155 11.7 DIAGnostic Subsystem.................... 155 11.8...
  • Page 11 ® Contents R&S SGU100A 13.2.2 Permanent messages....................201 13.3 SCPI-Error Messages....................201 13.4 Device-Specific Error Messages................201 Annex....................204 A Remote Control Basics..............204 Messages........................204 LAN Interface Messages...................205 SCPI Command Structure..................205 A.3.1 Syntax for Common Commands................. 206 A.3.2 Syntax for Device-Specific Commands...............206 A.3.2.1...
  • Page 12 ® Contents R&S SGU100A A.5.7.1 Service Request......................221 A.5.7.2 Serial Poll........................222 A.5.7.3 Query of an instrument status..................222 A.5.7.4 Error Queue........................ 222 A.5.8 Reset Values of the Status Reporting System............223 General Programming Recommendations............. 223 B Telnet program examples..............225 Index....................230...
  • Page 13: Preface

    ® Preface R&S SGU100A Documentation Overview 1 Preface The R&S SGU is an upconverter in the frequency range of 10 MHz to 40 GHz. Optimized for use in automated test equipment (ATE), the instrument offers fast settling times in an exceptionally small form factor and low power consumption. The R&S SGU has LO connectors for coupling multiple generators to a common LO source and can be equipped with a mechanical step attenuator.
  • Page 14: Service Manual

    ® Preface R&S SGU100A Documentation Overview The contents of the user manuals are available as help in the R&S SGU. The help offers quick, context-sensitive access to the complete information. All user manuals are also available for download or for immediate display on the Inter- net.
  • Page 15: Application Notes, Application Cards, White Papers, Etc

    SGU100A Typographical Conventions 1.2.8 Application Notes, Application Cards, White Papers, etc. These documents deal with special applications or background information on particu- lar topics. See www.rohde-schwarz.com/application/sgu100a. 1.3 Typographical Conventions The following text markers are used throughout this documentation: Convention Description "Graphical user interface ele-...
  • Page 16: Preparing For Use

    ® Preparing for Use R&S SGU100A Putting into Operation 2 Preparing for Use ● Putting into Operation..................... 14 ● Linux Operating System..................20 ● Connecting an External PC and Devices..............20 2.1 Putting into Operation This section describes the basic steps to be taken when setting up the R&S SGU for the first time.
  • Page 17: Emi Suppression

    ® Preparing for Use R&S SGU100A Putting into Operation Risk of instrument damage due to inappropriate operating conditions An unsuitable operating site or test setup can damage the instrument and connected devices. Before switching on the instrument, observe the information on appropriate operating conditions provided in the data sheet.
  • Page 18: Accessory List

    ® Preparing for Use R&S SGU100A Putting into Operation Risk of injury during transportation The carrying handles at the front and side of the casing are designed to lift or carry the instrument. Do not apply excessive force to the handles. If a handle is ripped off, the falling instrument can cause injury.
  • Page 19: Switching The Instrument On And Off

    ® Preparing for Use R&S SGU100A Putting into Operation Risk of injury and instrument damage if stacking instruments A stack of instruments may tilt over and cause injury. Furthermore, the instruments at the bottom of the stack may be damaged due to the load imposed by the instruments on top.
  • Page 20 ® Preparing for Use R&S SGU100A Putting into Operation To connect the AC supply ► Connect the R&S SGU to the AC power source using the AC power cable deliv- ered with the instrument. Note: The instrument is in compliance with safety class EN61010-1.
  • Page 21: Function Check

    ® Preparing for Use R&S SGU100A Putting into Operation Risk of losing data If you switch off the running instrument using the rear panel switch or by disconnecting the power cord, the instrument loses its current settings. Always press the [POWER ON/STANDBY] key first to shut down the application prop- erly.
  • Page 22: Linux Operating System

    ® Preparing for Use R&S SGU100A Connecting an External PC and Devices The instrument can also be forced to load its default factory settings. To access the corresponding dialog box, select the "SGMA-GUI > Instrument Name > Setup > Factory Preset" function.
  • Page 23: Installing The R&S Sgma-Gui Software

    ® Preparing for Use R&S SGU100A Connecting an External PC and Devices 2.3.1 Installing the R&S SGMA-GUI Software The R&S SGMA-GUI software is a graphical user interface program for one or more instruments. It runs on a remote PC. The R&S SGMA-GUI software is provided as separate installation package for the dif- ferent operating systems.
  • Page 24: Connecting A Remote Pc Via Lan

    ® Preparing for Use R&S SGU100A Connecting an External PC and Devices After the installation of the R&S SGMA-GUI software, two icons will be shown in your Windows menu: one is the standard version and one for which the remote command of the software through SCPIs is disabled.
  • Page 25 ® Preparing for Use R&S SGU100A Connecting an External PC and Devices ● A non-dedicated network (Ethernet) connection from the instrument to an existing network. ● A dedicated network connection (Point-to-point connection) between the instru- ment and a single computer.
  • Page 26: Assigning The Ip Address

    ® Preparing for Use R&S SGU100A Connecting an External PC and Devices 8. Edit the instrument settings, see Chapter 6.4.2.5, "How to Edit Instruments", on page 63 2.3.2.2 Assigning the IP Address Depending on the network capacities, the TCP/IP address information for the instru- ment can be obtained in different ways.
  • Page 27: Automatically Adding Instruments To The Sgma-Gui

    ® Preparing for Use R&S SGU100A Connecting an External PC and Devices on your network. If you use more than one LAN connector, you need separate address information for each connector. 2. Press the "Windows" key to access the operating system.
  • Page 28: Connecting A Controller Or A Usb Device Via Usb

    ® Preparing for Use R&S SGU100A Connecting an External PC and Devices Risk of device failure The R&S SGU is equipped with a single lane PCIe interface that supports hot plugging. Do not connect an external PC to the PCIe connector of the instrument during opera-...
  • Page 29 ® Preparing for Use R&S SGU100A Connecting an External PC and Devices 3. If your network does not support DHCP, you can now set a static IP address to your computer. a) Assign a static IP address to the instrument, see "Assigning a static IP address...
  • Page 30: Instrument Tour

    ® Instrument Tour R&S SGU100A Front Panel Tour 3 Instrument Tour The following topics help you get familiar with the instrument and perform the first steps: ● Front Panel Tour ● Rear Panel Tour This section explains the control elements and the connectors of the R&S SGU with the aid of the front and rear views.
  • Page 31 ® Instrument Tour R&S SGU100A Front Panel Tour The [RF ON] key switches the RF signal on or off. If activated, the button is green. [LO IN] The [LO IN] LED indicates the compatibility of the level of the LO input signal with the correct operation of the R&S SGU.
  • Page 32: Rear Panel Tour

    ® Instrument Tour R&S SGU100A Rear Panel Tour Pressing the [ID] key while the instrument is active, opens the "SGMA-GUI > Setup > Instruments > Configure Instruments > Edit Instrument" dialog of the corresponding instrument on the remote controller. Pressing the ID key of an inactive instrument and starting "SGMA-GUI > Setup >...
  • Page 33 ® Instrument Tour R&S SGU100A Rear Panel Tour ware update, manual operation via the R&S SGMA-GUI software or for remote control of the instrument. ● If the interface is configured as a host interface, a memory stick for file transmis- sion can be connected.
  • Page 34 ® Instrument Tour R&S SGU100A Rear Panel Tour Multi-purpose connector. The [TRIG] connector is used mainly as an input connector for an external pulse modulator source. [I, Q IN / OUT] The [I IN] and [Q IN] SMA female type connectors are the inputs of the I/Q modulator, provided for feeding of external signal.
  • Page 35: First Steps With The Instrument

    ® First Steps with the Instrument R&S SGU100A R&S SGU as an Extension to the R&S SGS 4 First Steps with the Instrument If an R&S SGU is connected to a signal generator, the instrument acts as an extension to the signal generator extending its frequency range.
  • Page 36 ® First Steps with the Instrument R&S SGU100A R&S SGU as an Extension to the R&S SGS d) Connect the [RF OUT] of the R&S SGU to the [RF IN] of the signal analyzer. 2. Switch on the R&S SGS and the R&S SGU.
  • Page 37 ® First Steps with the Instrument R&S SGU100A R&S SGU as an Extension to the R&S SGS Tip: Instrument does not appear in the extension dialog. If the R&S SGU is not automatically shown in this dialog, press "Scan > Start" to find the instrument.
  • Page 38 ® First Steps with the Instrument R&S SGU100A R&S SGU as an Extension to the R&S SGS The diagram displays the connection state of the tested connections. 10. Select "SGMA-GUI > R&S SGS > Freq = 40 GHz", "Lev = -30 dBm".
  • Page 39: R&S Sgu As A Standalone Upconverter

    ® First Steps with the Instrument R&S SGU100A R&S SGU as a Standalone Upconverter Identifying a specific instrument If several instruments are active in the R&S SGMA-GUI use one of the device identifi- cation functions to identify a specific device: ●...
  • Page 40 ® First Steps with the Instrument R&S SGU100A R&S SGU as a Standalone Upconverter The [POWER ON/STANDBY] key has to be green and not blinking. 3. Press the [ID] key on the front panel the R&S SGU (only required if the compo- nents are connected via a company network).
  • Page 41 ® First Steps with the Instrument R&S SGU100A R&S SGU as a Standalone Upconverter 8. Select "SGMA-GUI > Instrument Name >Ext. Local Oscillator". Read the required frequency and level values for the LO. 9. Change the settings of the LO to the required values.
  • Page 42: System Overview

    ® System Overview R&S SGU100A Setups for Instrument Control 5 System Overview The R&S SGU is an instrument intended either for the modulation of IQ signals or as an upconverter in the frequency range of 10 MHz to 40 GHz.
  • Page 43: Control Of An R&S Sgu From A Compatible R&S Signal Generator

    ® System Overview R&S SGU100A Setups for Connecting an R&S SGS and an R&S SGU An instrument may be connected to the controller via any of the supported interfaces LAN, USB or PCIe. Figure 5-2: Configuration example: remote control from a controller For information about remote control, refer to: ●...
  • Page 44: Direct Connection

    ® System Overview R&S SGU100A Setups for Connecting an R&S SGS and an R&S SGU SGU. The generator performs all required settings automatically depending on the required output signal parameters. This chapter gives an overview of how to connect the instruments.
  • Page 45: Connection In A Company Network

    ® System Overview R&S SGU100A Setups for Connecting an R&S SGS and an R&S SGU For a direct PCIe connection, an automatic identification of the R&S SGU as an exten- sion is only available for an R&S SGS with a "Controller > Revision" 5 or higher. For a description on how to manually set the PCIe identification, see Chapter 9.7, "How to...
  • Page 46 ® System Overview R&S SGU100A Setups for Connecting an R&S SGS and an R&S SGU Figure 5-5: Connection of an R&S SGS and an R&S SGU in a company network 1. Connect the test equipment as shown in Figure 5-5: a) Connect the R&S SGS, the R&S SGU and the controller to the company net-...
  • Page 47 ® System Overview R&S SGU100A Setups for Connecting an R&S SGS and an R&S SGU 5. In the R&S SGMA-GUI main panel, the green indicator in front of the instrument's name confirms that there is a connection between the instrument and the remote PC and that the instrument is recognized by the software.
  • Page 48: Connection With A Pcie Switch

    ® System Overview R&S SGU100A Setups for Connecting an R&S SGS and an R&S SGU The diagram displays the connection state of the tested signal connections. If the test connections are correct (shown by an uninterrupted blue line), you can start using the R&S SGS and the R&S SGU in extension mode.
  • Page 49 ® System Overview R&S SGU100A Setups for Connecting an R&S SGS and an R&S SGU PCIe switch connection of an R&S SGS and an R&S SGU Figure 5-7: Connection of an R&S SGS and an R&S SGU through a PCIe switch 1.
  • Page 50: Understanding The R&S Sgma-Gui Software

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Operating Menu and Toolbar 6 Understanding the R&S SGMA-GUI Soft- ware This section gives a detailed description of the R&S SGMA-GUI user interface and information on how to work with it. The main panel with the overview of the configured instruments is the operating and control interface for the whole program.
  • Page 51: File Menu

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Operating Menu and Toolbar File Setup Help Exit Shut down instruments and exit 6.1.1 File Menu The R&S SGMA-GUI employs the standard Save/Recall file management function and allows you to store and reload settings in/to a file with a user-defined name and loca- tion (see also Chapter 6.4.1, "Storing and Loading...
  • Page 52: Setup Menu

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Operating Menu and Toolbar 6.1.2 Setup Menu The setup menu provides access to dialogs for setting the general settings of the soft- ware, like dialogs for managing the connected instruments or dialogs providing infor- mation about the installed options.
  • Page 53 ® Understanding the R&S SGMA-GUI Software R&S SGU100A Operating Menu and Toolbar Tip: The first initialization of a newly connected instrument in a network and the instru- ment's request to the DHCP server for an IP address may take some time. During this time, the instrument does not respond to the query sent by the scan function.
  • Page 54: Add/Edit Instruments

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Operating Menu and Toolbar Scan LAN instruments with host name prefix Sets the prefix the searched host names begin with. Use this function to limit the amount of the searched instruments and to speed up the scan process.
  • Page 55 ® Understanding the R&S SGMA-GUI Software R&S SGU100A Operating Menu and Toolbar Remote command: on page 70 :INSTruments:NAME Instrument Type Selects the instrument's family. Remote command: on page 72 :INSTruments:TYPE Active Activates/deactivates the display of the instrument's settings in the main panel.
  • Page 56: Versions/Options Dialog

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Operating Menu and Toolbar Remote command: on page 70 :INSTruments:REMote:NAME GPIB Address Enters the GPIB address of the connected instrument. See also Chapter 10.1.5, "GPIB Interface (IEC/IEEE Bus Interface)", on page 121.
  • Page 57: Reset Sgma-Gui

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Operating Menu and Toolbar Software Displays information on: "Package" Installed software packages. "Version" Release of the software package. Show Open Source Acknowledgments Accesses the list of the used open source software packages and the corresponding verbatim license texts.
  • Page 58: Help

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Info Dialog and Messages in the Info Bar Remote command: on page 189 :SYSTem:COMMunicate:SOCKet:PORT 6.1.3 Help The R&S SGMA-GUI is equipped with a context-sensitive help function. A help page can be called any time during software operation.
  • Page 59: Understanding The Messages In The Info Bar

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Info Dialog and Messages in the Info Bar The upper part of the "Info" dialog lists the currently active permanent messages. See the following table for explanation of the displayed information. Parameter Description "LEV"...
  • Page 60: Main Panel

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Main Panel – System errors are errors that concern the operating system, e.g., wrong file path. System errors are displayed in black color. ● Information The information, e.g., file not found, is displayed in black color.
  • Page 61 ® Understanding the R&S SGMA-GUI Software R&S SGU100A Main Panel Instrument/Connection State The three colors of the state indicator in front of the instrument's name distinguish between the following states: ● Gray: the instrument is configured and activated in the R&S SGMA-GUI but there is no connection to the instrument.
  • Page 62: Working With R&S Sgma-Gui

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Working with R&S SGMA-GUI Frequency Sets the RF frequency at the RF output connector of the selected instrument. Remote command: on page 169 [:SOURce]:FREQuency[:CW|FIXed] RF On/Off Activates and deactivates the RF output signal.
  • Page 63: Storing And Loading Settings

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Working with R&S SGMA-GUI 6.4.1 Storing and Loading Settings To proceed work with a particular configuration of the instruments in the R&S SGMA- GUI, it is useful to save the used settings and load them again later.
  • Page 64: How To Scan For New Instruments

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Working with R&S SGMA-GUI 2. Select the "New" button. Add Instrument dialog opens to register a new instrument. 3. In the "Symbolic Name" field, enter an alias name of your choice, e.g.
  • Page 65: How To Edit Instruments

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Working with R&S SGMA-GUI The "Available Instruments" in the Configure Instruments dialog lists all instruments configured in the software. 2. Select the newly configured/connected or deactivated instrument and set "Active > On" to activate it.
  • Page 66: Finding Out The Default Hostname Of The Instrument

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Working with R&S SGMA-GUI 3. Alternatively, send the SCPI command from :INSTruments:EACCess[:STATe] the external PC the R&S SGMA-GUI is installed on. The instrument is reserved for control from this external PC and cannot be accessed from any other controller.
  • Page 67 ® Understanding the R&S SGMA-GUI Software R&S SGU100A Working with R&S SGMA-GUI Field "Edit Instrument > Symbolic Name" displays the name of the instrument as shown in the R&S SGMA-GUI main panel. Dialog "Edit Instrument" does not appear If this dialog does not open, perform the following: ●...
  • Page 68: Managing Messages In The Info Dialog

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Working with R&S SGMA-GUI How to identify an instrument in an instrument set ► To identify the instrument in an instrument set, use one of the device identification functions: a) Select "SGMA-GUI > Setup > Instruments > Available Instruments > Instrument >...
  • Page 69: Remote Control Of The R&S Sgma-Gui

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Remote Control of the R&S SGMA-GUI How to call the history 1. In the "Info" dialog, click the "History" button. A list of all messages that have occurred since the instrument switch-on is dis- played.
  • Page 70: R&S Sgma-Gui Settings

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Remote Control of the R&S SGMA-GUI // Response: SGU-100002,SGS-100006, SGT-100008 :INSTruments:SERial? // Response: 100002,100006,100008 :INSTruments:REMote:CHANnel? // Response: LAN,USB, PCIe :INSTruments:REMote:NAME? // Response: rssgu100a100002, rssgs100a100006, rssgt100a100008 // ****************************************************************** // Check the instrument state and activate instruments if required...
  • Page 71: Instruments:active[:State]

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Remote Control of the R&S SGMA-GUI ....................71 :INSTruments:GPIB:BOARd ......................71 :INSTruments:SCAN ..................71 :INSTruments:SCAN:HNPRefix ......................71 :INSTruments:SERial ......................72 :INSTruments:TYPE :INSTruments:ACTive[:STATe] <State> Enables/disables the instrument for the R&S SGMA-GUI. The main panel of this soft- ware displays only activated instruments.
  • Page 72: Instruments:mapping:file

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Remote Control of the R&S SGMA-GUI :INSTruments:MAPPing:FILE <File> Saves the list of the available instruments in a mapping file. Mapping files are stored with the predefined file extension .map; the file extension may be omitted.
  • Page 73: Instruments:gpib:address

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Remote Control of the R&S SGMA-GUI :INSTruments:GPIB:ADDRess <Serial> Sets the GPIB Address of the connected instrument. Parameters: <Serial> List of Numbers Manual operation: "GPIB Address" on page 54 :INSTruments:GPIB:BOARd <Board> Identifies the GPIB bus card the controller uses.
  • Page 74: List Of R&S Sgma-Gui Commands

    ® Understanding the R&S SGMA-GUI Software R&S SGU100A Remote Control of the R&S SGMA-GUI Parameters: <Serial> <SerialNumberInstr#1>, <SerialNumberInstr#2>,... Example: Chapter 6.5.1, "Configuring Instruments in the R&S SGMA- GUI", on page 67. Manual operation: "Serial Number" on page 54 :INSTruments:TYPE <Type>...
  • Page 75: Upconverter Settings

    ® Upconverter Settings R&S SGU100A Level and Power-On Settings 7 Upconverter Settings This section summarizes the settings necessary to configure the instrument for signal generation. The description in this section follows the menu tree structure of the graph- ical user interface. Each of the discussed topics follows a common structure, providing basic background information and reference to the user interface.
  • Page 76: Rf Level

    ® Upconverter Settings R&S SGU100A Level and Power-On Settings Configuring RF level ► To change the RF level of the selected instrument, perform one of the following: a) Select "SGMA-GUI main panel > Level" and enter the desired value. b) Select "SGMA-GUI > Instrument Name > Level > RF Level > Level" and enter the desired value.
  • Page 77 ® Upconverter Settings R&S SGU100A Level and Power-On Settings Remote command: on page 176 [:SOURce]:POWer[:LEVel][:IMMediate][:AMPLitude] on page 177 [:SOURce]:POWer:POWer Offset Sets a level offset. This value represents the level shift of a downstream instrument, as, for example, an attenuator or an amplifier, and is indicated in the status bar of the display. It does not change the level at the RF output.
  • Page 78: Attenuator

    ® Upconverter Settings R&S SGU100A Level and Power-On Settings Remote command: on page 176 [:SOURce]:POWer:SCHaracteristic Level Range Displays the level range within which the level setting is expected to work properly. The range limits depend on several parameters like "Mode", "Setting Characteristic", the I/Q signal's crest factor etc.
  • Page 79 ® Upconverter Settings R&S SGU100A Level and Power-On Settings Mode Sets the attenuator mode at the RF output. "Auto" Standard mode. The electronically switching attenuator switches with a ~ 6 dB step width at optimized switching points. The entire level range is availa- ble.
  • Page 80: Power-On/Emf

    ® Upconverter Settings R&S SGU100A Level and Power-On Settings 7.2.3 Power-On/EMF ► To access the power- on/EMF settings, select "SGMA-GUI > Instrument Name > Level > Power-On/EMF". This dialog comprises the settings for the power-on behavior of the instrument. Power-On State Selects the state which the RF output takes after the instrument is switched on.
  • Page 81: I/Q Modulation And Signal Impairment

    ® Upconverter Settings R&S SGU100A I/Q Modulation and Signal Impairment By default, the instrument operates in "Table & On" mode to provide the highest level accuracy and fastest setting time. Level control can be switched to "Off (Table)" or "On" for particular applications. The "Off (Table)" state (level control Off) is recommended if in CW mode the signal/intermodulation ratio is to be improved for multi-transmitter measurements.
  • Page 82: I/Q Impairments

    ® Upconverter Settings R&S SGU100A I/Q Modulation and Signal Impairment 7.3.1 I/Q Impairments Signal impairments are well-defined arithmetic modifications of the data. Every data sample is modified in the same way. The purpose of adding impairments to the data stream is to simulate frequent sources of distortions in a real signal-processing chain to generate a test signal with dirty transmitter conditions.
  • Page 83: I And Q Offset

    ® Upconverter Settings R&S SGU100A I/Q Modulation and Signal Impairment Figure 7-2: Negative gain imbalance (left) and positive (right) gain imbalance in the I/Q constellation diagram 7.3.1.2 I and Q Offset An I offset adds a constant value to all I amplitudes, leaving the Q amplitudes unchanged.
  • Page 84: General I/Q Settings

    ® Upconverter Settings R&S SGU100A I/Q Modulation and Signal Impairment Figure 7-4: Positive quadrature offset in the I/Q constellation diagram 7.3.2 General I/Q Settings ► To access the settings of the I/Q modulator, select "SGMA-GUI > Instrument Name > I/Q Settings > General".
  • Page 85: Analog Impairment Settings

    ® Upconverter Settings R&S SGU100A I/Q Modulation and Signal Impairment The maximum input voltage at the I/Q input is equated to the peak power and is used as the "reference" for setting the level of the output signal. Since the signal does not...
  • Page 86: Pulse Modulation Setting

    ® Upconverter Settings R&S SGU100A Pulse Modulation Setting Remote command: on page 171 [:SOURce]:IQ:IMPairment:LEAKage:I on page 171 [:SOURce]:IQ:IMPairment:LEAKage:Q Gain Imbalance Sets the imbalance of the I and Q vector (see Chapter 7.3.1.1, "Gain and Gain Imbal- ance", on page 80).
  • Page 87: Pulse Connector/Trigger Settings

    ® Upconverter Settings R&S SGU100A Pulse Modulation Setting State Sets the state of the pulse modulator. Remote command: on page 178 [:SOURce<hw>]:PULM:STATe Polarity Sets the polarity of the pulse modulator signal. "Normal" The RF signal is suppressed during the pulse pause.
  • Page 88: External Local Oscillator Settings

    ® Upconverter Settings R&S SGU100A External Local Oscillator Settings 7.5 External Local Oscillator Settings In a setup where an R&S SGU is connected to an incompatible signal generator (local oscillator), the controller has to change the frequency and the level of this local oscilla- tor (LO) to output the desired signal from the R&S SGU.The required settings of the...
  • Page 89: Trigger Connector Settings

    ® Upconverter Settings R&S SGU100A Preset Remote command: on page 169 [:SOURce]:SETTings:APPLy[:IMMediate] 7.6 Trigger Connector Settings ► To access this dialog select "SGMA-GUI > Instrument Name > Connector". This dialog comprises the settings for configuring the connector. Trigger Connector Mode Determines the signal at the input/output of the multi purpose [TRIG] connector.
  • Page 90 ® Upconverter Settings R&S SGU100A Preset Settings that are not affected by the "SGMA-GUI > Instrument Name > Preset" func- tion: ● Power on settings ("Level" dialog) ● Network settings ("Setup" dialog) ● Password and settings protected by passwords ("Setup" dialog) To preset the R&S SGMA-GUI itself and all configured instruments to their predefined...
  • Page 91: General Instrument Settings And Instrument Setup

    ® General Instrument Settings and Instrument Setup R&S SGU100A Hardware Configuration 8 General Instrument Settings and Instrument Setup This section describes the settings which do not directly affect signal generation. Access: ► Select "SGMA-GUI > Instrument Name > Setup" and select the required dialog.
  • Page 92 ® General Instrument Settings and Instrument Setup R&S SGU100A Hardware Configuration The dialog is a table that lists the installed assemblies. It is divided into the sec- tions: ● "Common Assembly" ● "RF Assembly" Assembly The tables list the installed assemblies.
  • Page 93: Software / Options

    ® General Instrument Settings and Instrument Setup R&S SGU100A Software / Options 8.2 Software / Options Querying information about the installed options and software version ► Select "SGMA-GUI > Instrument Name > Setup > Software/Options". The "Software/Options" dialog shows the firmware version of the instrument soft- ware and all installed hardware and software options.
  • Page 94: Install Sw-Options

    ® General Instrument Settings and Instrument Setup R&S SGU100A Install SW-Options Software options purchased at a later stage can be activated with a keycode. The acti- vation code is supplied with the software option. An instruction on how to install options is described in the service manual.
  • Page 95: Protection

    ® General Instrument Settings and Instrument Setup R&S SGU100A Protection See: ● Chapter 9.5, "How to Install a New Firmware Version on the Instrument", on page 110 for information on how to perform firmware update ● Chapter 9.6, "How to Activate Options",...
  • Page 96: Security Setting

    ® General Instrument Settings and Instrument Setup R&S SGU100A Security Setting 8.5 Security Setting The R&S SGU employs a security concept based on user and security password. The security password is required for changing several critical settings, like performing firm- ware updates.
  • Page 97 ® General Instrument Settings and Instrument Setup R&S SGU100A Security Setting The settings of this dialog are not accessible over remote control (e.g. SCPI com- mands). Change User Password The user name and password are required for remote access to the instrument via VNC, FTP or SAMBA.
  • Page 98: Maintenance

    ® General Instrument Settings and Instrument Setup R&S SGU100A Maintenance Security Settings Comprises the settings for enabling and disabling the USB and LAN interfaces. The setting requires the entry of the security password and is only accepted after the "Accept" button is pressed.
  • Page 99: Network Settings

    ® General Instrument Settings and Instrument Setup R&S SGU100A Network Settings Operation Selects the desired maintenance operation. Select Package Available only for "Operation > Install Firmware Package". Selects the firmware package to be installed, see also Chapter 9.5, "How to Install a New Firmware Version on the Instrument",...
  • Page 100 ® General Instrument Settings and Instrument Setup R&S SGU100A Network Settings Risk of network errors! Connection errors can affect the entire network. If your network does not support DHCP, or if you choose to disable dynamic TCP/IP configuration, you must assign valid address information before connecting the instru- ment to the LAN.
  • Page 101 ® General Instrument Settings and Instrument Setup R&S SGU100A Network Settings A predefined name is indicated and can be used for network connections, see Chap- ter 6.4.3, "Finding Out the Default Hostname of the Instrument", on page 64. It is recommended that a connection of the instrument to the network is coordinated with the network administrator.
  • Page 102: Remote Channels

    ® General Instrument Settings and Instrument Setup R&S SGU100A Remote Channels Default Gateway Displays the IP address of the default gateway. To enter the default gateway manually, select "Address Mode > Static". This address identifies the router on the same network as the instrument that is used to forward traffic to destinations beyond the local network.
  • Page 103: Factory Preset

    ® General Instrument Settings and Instrument Setup R&S SGU100A Factory Preset on page 190 :SYSTem:COMMunicate:USB:RESource? on page 189 :SYSTem:COMMunicate:PCIexpress:RESource? Device Identity Triggers the device identification function. The [LAN] LED on the front panel of the selected instrument blinks. See also Chapter 6.4.4, "Bidirectional Instrument Identification...
  • Page 104: Eco Mode

    ® General Instrument Settings and Instrument Setup R&S SGU100A Diagnostic and Tests 8.10 Eco Mode This energy saving mode is available only for instruments equipped with optionR&S SGU-B140/B140V. ► To access this dialog, select "SGMA-GUI > Instrument Name > Setup > Eco Mode".
  • Page 105: Keyboard Tests

    ® General Instrument Settings and Instrument Setup R&S SGU100A Diagnostic and Tests 8.12.1 Keyboard Tests Access: ► Select "SGMA-GUI > Instrument Name > Diagnostic Tests > Keyboard Test". Use this function to check the proper operation of all front panel elements.
  • Page 106: Performing Configuration Tasks

    ® Performing Configuration Tasks R&S SGU100A How to Generate I/Q Signals with an R&S SGS and an R&S SGU Upconverter 9 Performing Configuration Tasks This section provides a general explanation on how to operate the instrument manually via the R&S SGMA-GUI software.
  • Page 107 ® Performing Configuration Tasks R&S SGU100A How to Generate I/Q Signals with an R&S SGS and an R&S SGU Upconverter Figure 9-1: Example of the test setup For higher setting/ measuring speeds, use a PCIe switch and PCIe connections. If a common reference frequency is required, use the internal reference signal of the signal generator and provide it to the R&S SGU and the connected signal analyzer,...
  • Page 108: How To Restore The Lan Connection To An Instrument

    ® Performing Configuration Tasks R&S SGU100A How to Restore the LAN Connection to an Instrument The scan function finds out the connected R&S SGU. 5. Select the R&S SGU from the list and set "Available Instruments > Select > On" to enable it as an extension.
  • Page 109: How To Switch Between The Operating States

    ® Performing Configuration Tasks R&S SGU100A How to Switch between the Operating States Provided the network supports automatic assignment of IP address, new IP address is automatically assigned to the instrument. 9.3 How to Switch between the Operating States Figure 9-2 gives an overview of the operating states of the instruments and how to trigger the switch-over between them.
  • Page 110 ® Performing Configuration Tasks R&S SGU100A How to Switch between the Operating States Table 9-1: Indication of the operating states Operating Description Indication state The instrument is shut down. All LEDs on the front panel of the instrument are off.
  • Page 111: How To Use Computer Names

    ® Performing Configuration Tasks R&S SGU100A How to Use Computer Names On the front panel, the ready state is indicated by the green [POWER ON /STAND BY] button. To switch all connected instruments to standby state and close the R&S SGMA- ►...
  • Page 112: How To Install A New Firmware Version On The Instrument

    ® Performing Configuration Tasks R&S SGU100A How to Install a New Firmware Version on the Instrument 9.5 How to Install a New Firmware Version on the Instru- ment You can update the firmware of the R&S SGU . Firmware installation through the R&S SGMA-GUI If an update to a new firmware version is required for both the R&S SGMA-GUI and the...
  • Page 113: How To Activate Options

    ® Performing Configuration Tasks R&S SGU100A How to Manually Set a PCIe Direct Connection between an R&S SGS and an R&S SGU 2. On the PC, open a windows explorer window. 3. To connect to the R&S SGU, enter the name of the instrument or its IP address in the windows taskbar.
  • Page 114 ® Performing Configuration Tasks R&S SGU100A How to Manually Set a PCIe Direct Connection between an R&S SGS and an R&S SGU Toset a PCIe direct connection between an R&S SGS and an R&S SGU manually 1. Connect the R&S SGS and the R&S SGU directly using a PCIe cable. Refer to Chapter 10.3.4, "Connecting the Controller and the...
  • Page 115: Network And Remote Control Operation

    ® Network and Remote Control Operation R&S SGU100A Remote Control Interfaces and Protocols 10 Network and Remote Control Operation As an alternative to operating the R&S SGU interactively via the R&S SGMA-GUI, one can also control the R&S SGU using programmed commands from a remote PC.
  • Page 116: Remote Control Programs And Libraries

    ® Network and Remote Control Operation R&S SGU100A Remote Control Interfaces and Protocols for remote control over LAN (when using VXI-11 or HiSLIP protocol) or USB. However, no VISA installation is necessary for remote control while using socket communication. For more information about VISA, refer to the user documentation.
  • Page 117 ® Network and Remote Control Operation R&S SGU100A Remote Control Interfaces and Protocols Figure 10-2: Remote control program using VISA Protocol Remote control program Socket viOpen (..., "TCPIP:rssgu100a100010::5025::SOCKET", ...) viPrintf (..., "SOUR:FREQ 2GHz\n") VXI-11 viOpen (..., "TCPIP:rssgu100a100010::inst0::INSTR", ...) viPrintf (..., "SOUR:FREQ 2GHz\n") HiSLIP viOpen (..., "TCPIP:rssgu100a100010::hislip0::INSTR", ...)
  • Page 118: Lan Interface

    ® Network and Remote Control Operation R&S SGU100A Remote Control Interfaces and Protocols Protocol Remote control program Socket rssgu_init ("TCPIP:rssgu100a100010::5025::SOCKET", ...) rssgu_SetFrequency (..., 2e9) rssgu_init ("TCPIP:rssgu100a100010::inst0::INSTR", ...) VXI-11 rssgu_SetFrequency (..., 2e9) HiSLIP rssgu_init ("TCPIP:rssgu100a100010::hislip0::INSTR", ...) rssgu_SetFrequency (..., 2e9) USBTMC rssgu_init ("USB::0x0aad::0x00ce::1000010::INSTR", ...) rssgu_SetFrequency (..., 2e9)
  • Page 119: Visa Resource Strings

    ® Network and Remote Control Operation R&S SGU100A Remote Control Interfaces and Protocols ment. Software for instrument control and (for specified protocols only) the VISA pro- gram library must be installed on the controller. Identifying instruments in a network If several instruments are connected to the network, each instrument has its own IP address and associated resource string.
  • Page 120: Hislip Protocol

    ® Network and Remote Control Operation R&S SGU100A Remote Control Interfaces and Protocols inst0 currently selects the VXI-11 protocol by default and can be omitted. For details of the VXI-11 protocol, refer to .Chapter 10.1.2.3, "VXI-11 Protocol", on page 119...
  • Page 121: Protocol

    ® Network and Remote Control Operation R&S SGU100A Remote Control Interfaces and Protocols Using VXI-11, each operation is blocked until a VXI-11 device handshake returns. How- ever, using HiSLIP, data is sent to the device using the "fire and forget" method with immediate return.
  • Page 122: Pci Express Interface

    ® Network and Remote Control Operation R&S SGU100A Remote Control Interfaces and Protocols ● <vendor ID> is the manufacturer ID for Rohde&Schwarz ● <product ID> is the product identification of the R&S instrument ● <serial number> is the individual serial number on the rear of the instrument ●...
  • Page 123: Gpib Interface (Iec/Ieee Bus Interface)

    ® Network and Remote Control Operation R&S SGU100A Starting a Remote Control Session 10.1.5 GPIB Interface (IEC/IEEE Bus Interface) The R&S SGU is not equipped with an IEC/IEEE bus interface. To be able to control the instrument via the GPIB bus: 1.
  • Page 124: How To Find The Visa Resource String

    ® Network and Remote Control Operation R&S SGU100A Starting a Remote Control Session Instrument address To operate the instrument via remote control, it must be addressed using the defined interface address. Chapter 10.1.2, "LAN Interface", on page 116, Chapter 10.1.3, "USB Interface",...
  • Page 125: Advanced Remote Control Using Pcie

    ® Network and Remote Control Operation R&S SGU100A Advanced Remote Control Using PCIe To set up a Telnet connection To control the software, only a telnet program is required. The telnet program is part of every operating system. 1. To establish a Telnet connection with the R&S SGU, start the telnet program. Enter the socket address.
  • Page 126: Setting Up A Remote Control Connection Via Pcie

    ® Network and Remote Control Operation R&S SGU100A Advanced Remote Control Using PCIe Fast settings The PCIe interface can be utilized not only to transfer text messages e.g. SCPI com- mands but also to carry register based remote control messages. The latter mode is called fast settings mode.
  • Page 127: Configuring The Controller

    ® Network and Remote Control Operation R&S SGU100A Advanced Remote Control Using PCIe C source code files from which you can build a Linux kernel mode driver for the R&S SGU PCIe remote control interface. – SguDriverDemo C source code module for a demo program using the instrument driver API.
  • Page 128: Making Shared Libraries Accessible

    ® Network and Remote Control Operation R&S SGU100A Advanced Remote Control Using PCIe 10.3.3.2 Making Shared Libraries Accessible Two library files per operating system are included in SharedLibraries-Dlls file: ● For Linux operating system libsocketcontroller.so and libpciecontroller.so ● For Windows operating system SocketController.dll and PCIeController.dll...
  • Page 129: Connecting The Controller And The Instrument

    ® Network and Remote Control Operation R&S SGU100A Advanced Remote Control Using PCIe Running the example program ► On the command line, enter ./SguDriverDemo RESOURCESTRING [cmd]. Where ● RESOURCESTRING is the (VISA) resource string of your instrument, e.g. TCPIP::ipaddress::5025::SOCKET or PCIE::0x162f:: 0x132e::serialno::INSTR.
  • Page 130: Enabling Fast Settings

    ® Network and Remote Control Operation R&S SGU100A Advanced Remote Control Using Fast Socket Permitted PCIe cables PCIe extension cables must fulfill the following requirements: ● Single lane connectors ● Max. cable length of 5 m. For example: OSS-PCIe-CBL-x1 cable from One Stop Systems or 74576-000x cable from Molex.
  • Page 131: Setting Up A Remote Control Connection Via Fast Socket

    ® Network and Remote Control Operation R&S SGU100A Advanced Remote Control Using Fast Socket tocol which does not support routing. Therefore a controller PC can only control devi- ces within its own network segment using the fast socket method. To use the advantage of the fast settings, the following prerequisites must be fulfilled: ●...
  • Page 132: Installing The Protocol Driver

    ® Network and Remote Control Operation R&S SGU100A LXI Configuration 3. Enable fast settings, see Chapter 10.4.3, "Enabling Fast Settings", on page 130. 10.4.2 Installing the Protocol Driver The protocol driver defines the way to communicate with the instrument via the LAN fast socket interface.
  • Page 133: Default State Of The Network Settings

    ® Network and Remote Control Operation R&S SGU100A LXI Configuration On the R&S SGU the LXI functionality is already installed and enabled. Thus, the instrument can be accessed via any web browser (like the Microsoft Internet Explorer) to perform the following tasks: ●...
  • Page 134: Lan Configuration

    ® Network and Remote Control Operation R&S SGU100A LXI Configuration When activated, the LXI LEDs flash in the browser dialog. A green LXI sta- tus symbol indicates that a LAN connection has been established; a red symbol indicates that no LAN cable is connected.
  • Page 135: Ping Client

    ® Network and Remote Control Operation R&S SGU100A LXI Configuration The following advanced parameters are available: ● "mDNS and DNS-SD": The additional protocols "multicast DNS" and "DNS service discovery" are used for device communication in zero configuration networks, working without DNS and DHCP.
  • Page 136: How To Record Scpi Commands And Messages Exchanged Via The Lxi Web Browser Interface

    ® Network and Remote Control Operation R&S SGU100A LXI Configuration Toolbars The toolbar at the top of the dialog provides basic settings and functions. ● "Live mode" / "logging": If logging is switched on, messages are traced. They are stored in an internal database and can be displayed upon request, using the refresh button (live mode off) or they can be displayed automatically (live mode on).
  • Page 137: Using The R&S Sgma-Gui To Monitor The Remote Control Operation

    ® Network and Remote Control Operation R&S SGU100A Using the R&S SGMA-GUI to Monitor the Remote Control Operation 2. Enter the IP address of the R&S SGU in the browser's address bar. The R&S SGU's welcome page is displayed. 3. In the navigation pane, select "Diagnostics > SCPI Remote Trace".
  • Page 138 ® Network and Remote Control Operation R&S SGU100A Using the R&S SGMA-GUI to Monitor the Remote Control Operation Where: ● OK: communication possible, no collisions *) the R&S SGMA-GUI always uses the LAN device name instr1, see also Chap- ter 10.1.2.3, "VXI-11 Protocol",...
  • Page 139 ® Network and Remote Control Operation R&S SGU100A Using the R&S SGMA-GUI to Monitor the Remote Control Operation 5. Open the corresponding dialogs in the R&S SGMA-GUI. Observe the status of the parameters. User Manual 1176.7726.02 ─ 09...
  • Page 140: Remote Control Commands

    ® Remote Control Commands R&S SGU100A Programming Examples 11 Remote Control Commands In the following, all remote-control commands will be presented in detail with their parameters and the ranges of the numerical values. Conventions used in SCPI Command Descriptions Note the following conventions used in the remote command descriptions: ●...
  • Page 141: Performing General Tasks For Instrument Setup

    ® Remote Control Commands R&S SGU100A Programming Examples The programming examples have been tested with a software tool which provides an environment for the development and execution of remote tests. To keep the examples as simple as possible, only the "clean" SCPI syntax elements are reported. Non-exe- cutable command lines (e.g.
  • Page 142: Generating An I/Q Modulated Signal

    ® Remote Control Commands R&S SGU100A Programming Examples SYSTem:SERRor? // Query static errors // SYSTem:ERRor:CODE:NEXT? // SYSTem:ERRor:COUNT? // SYSTem:ERRor:NEXT? // STATus:QUEue:NEXT? // SYSTem:ERRor:CODE:ALL? SYSTem:ERRor:ALL? // Query error queue // ****************************************************************** // Query system information // ****************************************************************** :SYSTem:VERSion? :SYSTem:OSYStem? // ******************************************************************...
  • Page 143 ® Remote Control Commands R&S SGU100A Programming Examples // Use an arbitrary number // Response: 1 // Request granted, i.e. the instrument is locked // Abort program if request is refused // ****************************************************************** // Set RF frequency and level // ******************************************************************...
  • Page 144: Advanced Task For Optimizing Performance

    ® Remote Control Commands R&S SGU100A Programming Examples // Unlock the instrument // ****************************************************************** :UNL 12345 11.1.3 Advanced Task for Optimizing Performance In the following example we assume that a remote PC is connected to the instrument, the remote PC and the instrument are switched on and a connection between them is established.
  • Page 145: Adjusting Network And Remote Channel Settings

    ® Remote Control Commands R&S SGU100A Programming Examples :OUTPut:STATe:PON UNCHanged // ****************************************************************** // Query local oscillator frequency and power values and set LO // ****************************************************************** :LOSCillator:FREQuency? :LOSCillator:POWer? // Set frequency and power on the local oscillator as required // ******************************************************************...
  • Page 146: Common Commands

    ® Remote Control Commands R&S SGU100A Common Commands // ****************************************************************** :SYSTem:COMMunicate:NETWork:RESource? // Response: TCPIP::10.113.10.187::INSTR :SYSTem:COMMunicate:SOCKet:RESource? // Response: TCPIP:10.113.10.187::5025::SOCKET :SYSTem:COMMunicate:USB:RESource? // Response: USB::0x0AAD::0x00ce::100021::INSTR :SYSTem:COMMunicate:PCIexpress:RESource? // Response: PCIe::0x162f::0x132f::100002::INSTR // ****************************************************************** // Query network settings // ****************************************************************** :SYSTem:COMMunicate:NETWork:COMMon:HOSTname? // Response: rssgu100a100002 :SYSTem:COMMunicate:NETWork:IPADdress:MODE? // Response: AUTO :SYSTem:COMMunicate:NETWork:IPADdress? // Response: 10.113.10.187...
  • Page 147 ® Remote Control Commands R&S SGU100A Common Commands ..........................146 *PSC ..........................147 *RCL ..........................147 *RST ..........................147 *SAV ..........................147 *SRE ...........................148 *STB? ..........................148 *TRG ..........................148 *WAI *CLS Clear status Sets the status byte (STB), the standard event register (ESR) and the EVENt part of the QUEStionable and the OPERation registers to zero.
  • Page 148: Psc

    ® Remote Control Commands R&S SGU100A Common Commands Usage: Query only *IST? Individual status query Returns the contents of the IST flag in decimal form. The IST flag is the status bit which is sent during a parallel poll. Return values: <ISTflag>...
  • Page 149: Rcl

    ® Remote Control Commands R&S SGU100A Common Commands Determines whether the contents of the ENABle registers are preserved or reset when the instrument is switched on. Thus a service request can be triggered when the instru- ment is switched on, if the status registers ESE and SRE are suitably configured. The query reads out the contents of the "power-on-status-clear"...
  • Page 150: General Commands

    ® Remote Control Commands R&S SGU100A General Commands Parameters: <Contents> Contents of the service request enable register in decimal form. Bit 6 (MSS mask bit) is always 0. Range: 0 to 255 *STB? Status byte query Reads the contents of the status byte in decimal form.
  • Page 151 ® Remote Control Commands R&S SGU100A General Commands EXTension The instrument is controlled by another Rohde&Schwarz instru- ment. This parameter is used by the SGMA-GUI to disable set- tings when the instrument is in extension mode. *RST: STDalone :LOCK? <Lock Request Id>...
  • Page 152: Preset Commands

    ® Remote Control Commands R&S SGU100A Preset Commands 11.4 Preset Commands The following preset actions are available: ● Activation of the default state of all internal instrument functions (*RST on page 147). Functions that concern the integration of the instrument into a mea- surement setup are not changed, e.g.
  • Page 153: Calibration Subsystem

    ® Remote Control Commands R&S SGU100A CALibration Subsystem 11.5 CALibration Subsystem The CALibration system contains the commands needed for calibrating the R&S SGU. R&S SGU cannot be calibrated on its own. Therefore a connection with a signal gener- ator (local oscillator (LO)) is needed. If you use a compatible R&S signal generator, then the calibration process will be completed automatically after starting the calibra- tion process.
  • Page 154 ® Remote Control Commands R&S SGU100A CALibration Subsystem b) Interpret the response of the query. The response is returned in the form of a SCPI command. For example a response :SOUR:POW 6 asks for a power of 6 dBm. For a list of all possible responses see :CALibration:HREQuest? on page 153.
  • Page 155 ® Remote Control Commands R&S SGU100A CALibration Subsystem ................154 :CALibration:IQModulator:LOCal:STARt .................154 :CALibration:IQModulator:LOCal:RESult? ....................154 :CALibration:LEVel:STARt .................... 155 :CALibration:LEVel:RESult? ................... 155 :CALibration:LEVel:TEMPerature? :CALibration:HREQuest? Queries the settings required from the instrument during a calibration or a selftest. "Calibration process of the R&S SGU"...
  • Page 156 ® Remote Control Commands R&S SGU100A CALibration Subsystem "Calibration process of the R&S SGU" on page 151 for a step by step description of the calibration process. Usage: Event :CALibration:IQModulator:RESult? Queries the result of the internal I/Q adjustment. Start the adjustment with the SCPI command :CALibration:IQModulator:STARt.
  • Page 157: Connector Subsystem

    ® Remote Control Commands R&S SGU100A DIAGnostic Subsystem "Calibration process of the R&S SGU" on page 151 for a step by step description of the calibration process. Usage: Event :CALibration:LEVel:RESult? Queries the result of the internal level adjustment. Start the adjustment with the SCPI command :CALibration:LEVel:STARt.
  • Page 158: Fast Speed Commands

    ® Remote Control Commands R&S SGU100A Fast Speed Commands :DIAGnostic:POINt:CATalog? Queries the test points available in the instrument. For description of the test points, see the service manual. Example: Chapter 11.1.1, "Performing General Tasks for Instrument Setup", on page 139.
  • Page 159: Format Subsystem

    ® Remote Control Commands R&S SGU100A FORMat Subsystem :PFASt <Pow> Special command to set the RF output level with minimum latency at the RF output connector. This value does not consider a specified offset. No unit (e.g. dBm) allowed. Bypasses the status system so command *OPC? cannot be appended.
  • Page 160 ® Remote Control Commands R&S SGU100A FORMat Subsystem :FORMat[:DATA] <Data> Determines the data format which the R&S SGU uses to return data. When data is transferred from the control computer to the instrument, the instrument detects the data format automatically. In this case, the value set here is irrelevant.
  • Page 161: Mmemory Subsystem

    ® Remote Control Commands R&S SGU100A MMEMory Subsystem 11.10 MMEMory Subsystem The MMEMory subsystem (Mass Memory) contains the commands for managing files and directories as well as for loading and storing complete instrument settings in files. The files are stored on the internal flash memory of the instrument or on external USB memory devices.
  • Page 162: Extensions For User Files

    ® Remote Control Commands R&S SGU100A MMEMory Subsystem Depending on how much information is provided, either the values specified in the parameter or the values specified with the command MMEM:CDIR (default directory) are used for the path and the drive settings in the commands.
  • Page 163: Remote Control Commands

    ® Remote Control Commands R&S SGU100A MMEMory Subsystem Response: 127145265,175325184,"test,DIR,0","temp,DIR,0", "readme.txt,ASC,1324","state.savrcltxt,STAT,5327", "waveform.wv,BIN,2342" the directory /usb/user contains the subdirectories test and temp as well as the files readme.txt, state.savrcltxt and waveform.wv which have differ- ent file types. Tip: To query only the subdirectories of the current or specified directory, perform:...
  • Page 164: Mmemory:catalog

    ® Remote Control Commands R&S SGU100A MMEMory Subsystem :MMEMory:CATalog? <path> Returns the content of a particular directory. Query parameters: <path> string String parameter to specify the directory. If you leave out the path, the command returns the contents of the directory selected with :MMEMory:CDIRectory.
  • Page 165: Mmemory:copy

    ® Remote Control Commands R&S SGU100A MMEMory Subsystem Parameters: <Directory> <directory_name> String containing the path to another directory. The path can be relative or absolute. To change to a higher directory, use two dots '..' . Example: "Working with Files and Directories"...
  • Page 166: Mmemory:dcatalog

    ® Remote Control Commands R&S SGU100A MMEMory Subsystem For files with a size with more than nine digits (gigabytes), the instrument allows the syntax #(<Length>), where <Length> is the file size in decimal format. Parameters for setting and query: <Filename>...
  • Page 167: Mmemory:delete

    ® Remote Control Commands R&S SGU100A MMEMory Subsystem :MMEMory:DELete <Filename> Removes a file from the specified directory. Setting parameters: <Filename> string String parameter to specify the name and directory of the file to be removed. Example: "Working with Files and Directories"...
  • Page 168: Mmemory:mdirectory

    ® Remote Control Commands R&S SGU100A MMEMory Subsystem :MMEMory:MDIRectory <Directory> Creates a subdirectory for mass memory storage in the specified directory. If no direc- tory is specified, a subdirectory is created in the default directory. This command can also be used to create a directory tree.
  • Page 169: Output Subsystem

    ® Remote Control Commands R&S SGU100A OUTPut Subsystem :MMEMory:STORe:STATe <savrcl_state_nr>, <file_name> Stores the current instrument setting in the specified file. The instrument setting must first be stored in an internal memory with the same num- ber using the common command *SAV.
  • Page 170 ® Remote Control Commands R&S SGU100A OUTPut Subsystem Example: Chapter 11.1.2, "Generating an I/Q Modulated Signal", on page 140. Manual operation: "RF On/Off" on page 60 :OUTPut[:STATe]:PON <Mode> Selects the state which the RF output takes when the instrument is switched on.
  • Page 171: Source Subsystem

    ® Remote Control Commands R&S SGU100A SOURce Subsystem :OUTPut<hw>:PROTection:CLEar Resets the protective circuit after it has been tripped. The state of the output is again determined by OUTPut:STATe. Example: OUTP:PROT:CLE resets the protective circuit for RF output. Usage: Event 11.12 SOURce Subsystem .................
  • Page 172: Source:iq Subsystem

    ® Remote Control Commands R&S SGU100A SOURce:IQ Subsystem ● 4: queries the pulsmodulation performed in LO for each band ● 5: queries the AM signal allowed for each band ● 6: queries the PM / PhiM signal allowed for each band [:SOURce]:TRAits:COUNt? Queries the number of trait lists.
  • Page 173 ® Remote Control Commands R&S SGU100A SOURce:IQ Subsystem Parameters: <IqRatio> float Range: -1 to 1 Increment: 1E-3 *RST: Example: Chapter 11.1.2, "Generating an I/Q Modulated Signal", on page 140. Options: R&S SGU-B120V/-140V Manual operation: "Gain Imbalance" on page 84 [:SOURce]:IQ:IMPairment:LEAKage:I <I>...
  • Page 174: Source:local Oscillator Subsystem

    ® Remote Control Commands R&S SGU100A SOURce:Local Oscillator Subsystem [:SOURce]:IQ:IMPairment:STATe <State> Activates/deactivates the impairment or correction values LEAKage, QUADrature and IQRatio for the baseband signal prior to input to the I/Q modulator. Parameters: <State> 0 | 1 | OFF | ON...
  • Page 175 ® Remote Control Commands R&S SGU100A SOURce:Local Oscillator Subsystem R&S SGU as an upconverter for any signal generator If, on the other hand, the R&S SGU is connected to an incompatible signal generator the controller has to perform the above steps instead of the signal generator. We assume that a remote PC (controller) is connected to both the R&S SGU and the sig-...
  • Page 176: Source:power Subsystem

    ® Remote Control Commands R&S SGU100A SOURce:POWer Subsystem Return values: <Amplitude> float Range: -120 to 25 Increment: 0.01 *RST: Usage: Query only Manual operation: "Level" on page 86 11.15 SOURce:POWer Subsystem ..................174 [:SOURce]:POWer:ALC[:STATe] ................174 [:SOURce]:POWer:ALC:DSENsitivity ..................174 [:SOURce]:POWer:ALC:SONCe ..............
  • Page 177: [:Source]:Power:attenuation:rfoff:mode [:Source]:Power:attenuation:sover[:Offset] [:Source]:Power:lmode

    ® Remote Control Commands R&S SGU100A SOURce:POWer Subsystem Usage: Event Manual operation: "Readjust" on page 76 [:SOURce]:POWer:ATTenuation:RFOFf:MODE <Mode> Selects the state which the attenuator assumes when the instrument is switched on. Parameters: <Mode> MAX | FIXed Sets attenuation to maximum when the RF signal is switched off.
  • Page 178: [:Source]:Power:scharacteristic

    ® Remote Control Commands R&S SGU100A SOURce:POWer Subsystem [:SOURce]:POWer:SCHaracteristic <Characteristic> Selects the characteristic for the level setting. Parameters: <Characteristic> AUTO | UNINterrupted | CVSWr | USER | MONotone UNINterrupted: Uninterrupted Level setting, CVSWr: Con- stant-VSWR, MONotone: Strictly Monotone *RST: AUTO Example: Chapter 11.1.3, "Advanced Task for Optimizing Perform-...
  • Page 179: [:Source]:Power[:Level][:Immediate][:Amplitude] [:Source]:Power[:Level][:Immediate]:Offset [:Source]:Power:limit[:Amplitude]

    ® Remote Control Commands R&S SGU100A SOURce:POWer Subsystem [:SOURce]:POWer:LIMit[:AMPLitude] <Amplitude> Sets the upper limit of the RF signal power. The value is not affected by an instrument preset and *RST function. This parameter is influenced only by the factory preset (SYST:FPR) and its factory value is equal to the upper limit.
  • Page 180: Source:pulm Subsystem

    ® Remote Control Commands R&S SGU100A SOURce:PULM Subsystem [:SOURce]:POWer:RANGe:LOWer? [:SOURce]:POWer:RANGe:UPPer? Queries the minimum/maximum level range in the current level mode Return values: <Upper> float Range: -300 to 30 Increment: 0.01 *RST: Usage: Query only Manual operation: "Level Range" on page 76 11.16 SOURce:PULM Subsystem...
  • Page 181: Status Subsystem

    ® Remote Control Commands R&S SGU100A STATus Subsystem 11.17 STATus Subsystem This system contains the commands for the status reporting system. See also Chap- ter A.5, "Status Reporting System", on page 215 for detailed information. on page 147 has no effect on the status registers.
  • Page 182: Status:operation[:Event]

    ® Remote Control Commands R&S SGU100A STATus Subsystem Example: :STAT:OPER:ENAB 32767 all events are forwarded to the sum bit of the status byte. :STATus:OPERation[:EVENt] <Event> Queries the content of the EVENt part of the STATus:OPERation register. This part contains information on the actions performed in the instrument since the last readout.
  • Page 183: Status:questionable:condition

    ® Remote Control Commands R&S SGU100A STATus Subsystem Parameters: <Preset> string Example: STAT:PRES resets the status registers. :STATus:QUEStionable:CONDition <Condition> Queries the content of the CONDition part of the STATus:QUEStionable register. This part contains information on the action currently being performed in the instrument.
  • Page 184: System Subsystem

    ® Remote Control Commands R&S SGU100A SYSTem Subsystem Parameters: <Ntransition> string Example: STAT:QUES:NTR 0 a transition from 1 to 0 in the condition part of the STA- Tus:QUEStionable register does not cause an entry to be made in the EVENt part :STATus:QUEStionable:PTRansition <PTransition>...
  • Page 185 ® Remote Control Commands R&S SGU100A SYSTem Subsystem ......................186 :SYSTem:SERRor? .......................186 :SYSTem:VERSion? ..............186 :SYSTem:COMMunicate:NETWork:IPADdress ............186 :SYSTem:COMMunicate:NETWork:IPADdress:MODE ...............187 :SYSTem:COMMunicate:NETWork:MACaddress ..............187 :SYSTem:COMMunicate:NETWork:RESTart ..............187 :SYSTem:COMMunicate:NETWork:STATus? ..........187 :SYSTem:COMMunicate:NETWork[:COMMon]:HOSTname ..........188 :SYSTem:COMMunicate:NETWork[:IPADdress]:GATeway ..........188 :SYSTem:COMMunicate:NETWork[:IPADdress]:SUBNet:MASK ..............188 :SYSTem:COMMunicate:NETWork:RESource? ..............188 :SYSTem:COMMunicate:HISLip:RESource? .............. 189 :SYSTem:COMMunicate:PCIexpress:RESource? ................189...
  • Page 186 ® Remote Control Commands R&S SGU100A SYSTem Subsystem If the queue is empty, the response is 0,"No error" Positive error numbers are instrument-dependent. Negative error numbers are reserved by the SCPI standard. Volatile errors are reported once, at the time they appear. Identi-...
  • Page 187 ® Remote Control Commands R&S SGU100A SYSTem Subsystem Negative value Negative error numbers denote error messages defined by SCPI. Example: SYST:ERR:CODE Queries the oldest entry in the error queue. Response: 0 No errors have occurred since the error queue was last read out.
  • Page 188: System:serror

    ® Remote Control Commands R&S SGU100A SYSTem Subsystem :SYSTem:SERRor? Returns a list of all errors existing at the time when the query is started. This list corre- sponds to the display on the info page under manual control. Return values: <Serror>...
  • Page 189: System:communicate:network:macaddress

    ® Remote Control Commands R&S SGU100A SYSTem Subsystem Example: SYSTem:COMMunicate:NETWork:IPADdress:MODE AUTO The IP address is assigned automatically (DHCP) Manual operation: "Address Mode" on page 99 :SYSTem:COMMunicate:NETWork:MACaddress <MacAddress> Queries the MAC address of the network adapter. Parameters: <MacAddress> string Example: SYST:COMM:NETW:MAC queries the MAC address.
  • Page 190: System:communicate:network:ipaddress:gateway

    ® Remote Control Commands R&S SGU100A SYSTem Subsystem :SYSTem:COMMunicate:NETWork[:IPADdress]:GATeway <Gateway> Sets the IP address of the default gateway. Parameters: <Gateway> string Range: 0.0.0.0 to ff.ff.ff.ff Example: SYSTem:COMMunicate:NETWork:IPADdress:GATeway '1.2.3.4' sets the IP address of the default gateway. Manual operation: "Default Gateway"...
  • Page 191: System:communicate:pciexpress:resource

    ® Remote Control Commands R&S SGU100A SYSTem Subsystem Manual operation: "Visa Resource Strings" on page 100 :SYSTem:COMMunicate:PCIexpress:RESource? Queries the visa resource string for remote control via the PCIe interface. Return values: <Resource> string Usage: Query only Manual operation: "Visa Resource Strings"...
  • Page 192: System:communicate:serial:baud

    ® Remote Control Commands R&S SGU100A SYSTem Subsystem Usage: Query only :SYSTem:COMMunicate:SERial:BAUD <Baud> Sets the baudrate for the serial remote control interface. Parameters: <Baud> 2400 | 4800 | 9600 | 19200 | 38400 | 57600 | 115200 *RST: n.a. (factory preset: 115200)
  • Page 193: System:hardware:assembly:Snumber

    ® Remote Control Commands R&S SGU100A SYSTem Subsystem :SYSTem:HARDware:ASSembly<dir>:SNUMber? Queries the list of hardware module serial numbers. Suffix: <dir> 1 | 2 Defines the section: 1 = common assembly, 2 = RF assembly. Return values: <SNumber> string Example: SYSTem:HARDware:ASSembly1:SNUMber? Usage:...
  • Page 194: Test Subsystem

    ® Remote Control Commands R&S SGU100A TEST Subsystem :SYSTem:SHUTdown Shuts down the instrument. Usage: Event :SYSTem:PROTect<ch>[:STATe] <State>[, <Key>] Activates and deactivates the specified protection level. Suffix: <ch> Indicates the protection level. Parameters: <State> select *RST: n.a. (factory preset: 1) Setting parameters: <Key>...
  • Page 195 ® Remote Control Commands R&S SGU100A TEST Subsystem be completed automatically after starting the calibration process. Otherwise you have to follow the steps described in "Calibration process of the R&S SGU" on page 151. In the given example, replace the :CALibration:xxx:STARt SCPI command with :TEST:ALL:STARt and :CALibration:xxx:RESult with :TEST:ALL:RESult.
  • Page 196: Unit Subsystem

    ® Remote Control Commands R&S SGU100A List of R&S SGU Commands 11.20 UNIT Subsystem The UNIT subsystem contains the commands specifying which units are valid if no unit is indicated in a command. These settings are valid for the entire instrument.
  • Page 197 ® Remote Control Commands R&S SGU100A List of R&S SGU Commands :LOCK?................................149 :MEMory:HFRee?............................165 :MMEMory:CATalog:LENGth?........................162 :MMEMory:CATalog?............................. 162 :MMEMory:CDIRectory..........................162 :MMEMory:COPY............................163 :MMEMory:DATA............................163 :MMEMory:DCATalog:LENGth?........................164 :MMEMory:DCATalog?...........................164 :MMEMory:DELete............................165 :MMEMory:LOAD:STATe..........................165 :MMEMory:MDIRectory..........................166 :MMEMory:MOVE............................166 :MMEMory:MSIS............................166 :MMEMory:RDIRectory..........................166 :MMEMory:STORe:STATe..........................167 :OUTPut:AFIXed:RANGe:LOWer?........................ 168 :OUTPut:AFIXed:RANGe:UPPer?.........................
  • Page 198 ® Remote Control Commands R&S SGU100A List of R&S SGU Commands :SYSTem:COMMunicate:SERial:RESource?....................189 :SYSTem:COMMunicate:SERial:SBITs......................190 :SYSTem:COMMunicate:SOCKet:PORT.......................189 :SYSTem:COMMunicate:SOCKet:RESource?....................189 :SYSTem:COMMunicate:USB:RESource?....................190 :SYSTem:EMODe............................183 :SYSTem:ERRor:ALL?...........................183 :SYSTem:ERRor:CODE:ALL?........................184 :SYSTem:ERRor:CODE[:NEXT]?........................184 :SYSTem:ERRor:COUNt?..........................185 :SYSTem:ERRor[:NEXT]?..........................185 :SYSTem:FPReset............................150 :SYSTem:HARDware:ASSembly<dir>:SNUMber?..................191 :SYSTem:MMEMory:PATH:USER?....................... 191 :SYSTem:OSYStem?.............................191 :SYSTem:PRESet............................150 :SYSTem:PROTect<ch>[:STATe]........................192 :SYSTem:REBoot............................191 :SYSTem:RESTart............................191 :SYSTem:SERRor?............................186 :SYSTem:SHUTdown.............................192...
  • Page 199 ® Remote Control Commands R&S SGU100A List of R&S SGU Commands [:SOURce]:POWer:SCHaracteristic....................... 176 [:SOURce]:POWer[:LEVel][:IMMediate]:OFFSet................... 176 [:SOURce]:POWer[:LEVel][:IMMediate][:AMPLitude]..................176 [:SOURce]:SETTings:APPLy[:IMMediate]..................... 169 [:SOURce]:TRAits:COUNt?........................... 170 [:SOURce]:TRAits<ch>..........................169 [:SOURce<hw>]:PULM:POLarity........................178 [:SOURce<hw>]:PULM:STATe........................178 *CLS................................145 *ESE................................145 *ESR?................................145 *IDN?................................145 *IST?................................146 *OPC................................146 *OPT?................................146 *PRE................................146 *PSC................................146 *RCL................................
  • Page 200: Maintenance

    ® Maintenance R&S SGU100A Cleaning 12 Maintenance The instrument does not need periodic maintenance. Only cleaning the instrument is essential. Follow the instructions in the service manual and the safety instructions when exchanging modules or ordering spare parts. The order number for spare parts is inclu- ded in the service manual.
  • Page 201: Storing And Packing

    ® Maintenance R&S SGU100A Storing and Packing 2. Check and clean the fans regularly to ensure that they always operate properly. 3. Clean the touchscreen as follows: a) Apply a small amount of standard screen cleaner to a soft cloth.
  • Page 202: Error Messages And Troubleshooting

    ® Error Messages and Troubleshooting R&S SGU100A Error Messages 13 Error Messages and Troubleshooting This chapter describes the error messages of the R&S SGU. The error messages are output in the "Info" line on the screen and entered in the error/event queue of the sta- tus reporting system.
  • Page 203: Permanent Messages

    ® Error Messages and Troubleshooting R&S SGU100A Device-Specific Error Messages instrument (e.g. range violations). They are displayed in the info line on a yellow back- ground. They are displayed on top of status information or permanent messages. Volatile messages do not normally demand user actions and disappear automatically after a brief period of time.
  • Page 204 ® Error Messages and Troubleshooting R&S SGU100A Device-Specific Error Messages Error Error Description Remedy Code Adjustment failed Adjustment could not be executed The adjustment data have to be generated first by an internal or external adjustment or to be loa- ded into the device.
  • Page 205 ® Error Messages and Troubleshooting R&S SGU100A Device-Specific Error Messages Error Error Description Remedy Code File contains invalid The selected file contains data that is Check the file extension. data not valid for the file type. The file extension determines the data that is valid for this file type.
  • Page 206: Annex

    ® Remote Control Basics R&S SGU100A Messages Annex A Remote Control Basics This chapter provides basic information on operating an instrument via remote control. A.1 Messages The messages transferred on the data lines are divided into the following categories: ●...
  • Page 207: Lan Interface Messages

    ® Remote Control Basics R&S SGU100A SCPI Command Structure "SCPI confirmed" in the command reference chapters. Commands without this SCPI label are device-specific; however, their syntax follows SCPI rules as per- mitted by the standard. Instrument responses Instrument responses (response messages and service requests) are messages the instrument sends to the controller after a query.
  • Page 208: Syntax For Common Commands

    ® Remote Control Basics R&S SGU100A SCPI Command Structure The commands can be either device-specific or device-independent (common com- mands). Common and device-specific commands differ in their syntax. A.3.1 Syntax for Common Commands Common (= device-independent) commands consist of a header preceded by an aster- isk (*), and possibly one or more parameters.
  • Page 209: Long And Short Form

    ® Remote Control Basics R&S SGU100A SCPI Command Structure A.3.2.1 Long and short form The mnemonics feature a long form and a short form. The short form is marked by upper case letters, the long form corresponds to the complete word. Either the short form or the long form can be entered;...
  • Page 210: Scpi Parameters

    ® Remote Control Basics R&S SGU100A SCPI Command Structure Optional mnemonics with numeric suffixes Do not omit an optional mnemonic if it includes a numeric suffix that is relevant for the effect of the command. Example: Definition:DISPlay[:WINDow<1...4>]:MAXimize <Boolean> Command: DISP:MAX ON refers to window 1.
  • Page 211: Special Numeric Values

    ® Remote Control Basics R&S SGU100A SCPI Command Structure ● M (milli) ● U (micro) ● N (nano) Example: SENSe:FREQ:STOP 1.5GHz = SENSe:FREQ:STOP 1.5E9 Some settings allow relative values to be stated in percent. According to SCPI, this unit is represented by the PCT string.
  • Page 212: Boolean Parameters

    ® Remote Control Basics R&S SGU100A SCPI Command Structure A.3.3.3 Boolean Parameters Boolean parameters represent two states. The "ON" state (logically true) is represen- ted by "ON" or a numeric value 1. The "OFF" state (logically untrue) is represented by "OFF"...
  • Page 213: Overview Of Syntax Elements

    ® Remote Control Basics R&S SGU100A SCPI Command Structure the transmission is not known or if speed or other considerations prevent segmentation of the data into blocks of definite length. A.3.4 Overview of Syntax Elements The following tables provide an overview of the syntax elements and special charac- ters.
  • Page 214: Structure Of A Command Line

    ® Remote Control Basics R&S SGU100A SCPI Command Structure Table A-3: Special characters Parameters A vertical stroke in parameter definitions indicates alternative possibilities in the sense of "or". The effect of the command differs, depending on which parameter is used.
  • Page 215: Responses To Queries

    ® Remote Control Basics R&S SGU100A SCPI Command Structure Example: HCOP:ITEM ALL;:HCOP:IMM This command line contains two commands. Both commands are part of the HCOP command system, i.e. they have one level in common. If the successive commands belong to the same system, having one or several levels in common, the command line can be abbreviated.
  • Page 216: Command Sequence And Synchronization

    ® Remote Control Basics R&S SGU100A Command Sequence and Synchronization A.4 Command Sequence and Synchronization IEEE 488.2 defines a distinction between overlapped and sequential commands: ● A sequential command is one which finishes executing before the next command starts executing. Commands that are processed quickly are usually implemented as sequential commands.
  • Page 217: Status Reporting System

    ® Remote Control Basics R&S SGU100A Status Reporting System SINGle; *OPC? For time consuming overlapped commands, you can allow the controller or the instru- ment to do other useful work while waiting for command execution. Use one of the fol-...
  • Page 218 ® Remote Control Basics R&S SGU100A Status Reporting System Figure A-1: Graphical overview of the status registers hierarchy OPER = Operation Status Summary Bit RQS/MSS = Service Request Generation = Standard Event Status Summary Bit = Message Available in Output Queue...
  • Page 219: Structure Of A Scpi Status Register

    ® Remote Control Basics R&S SGU100A Status Reporting System ● Standard Event Status, i.e. the Event status Register (ESR) and the Event Status Enable (ESE), see Chapter A.5.4, "Event Status Register (ESR) and Event Status Enable Register (ESE)", on page 220.
  • Page 220 ® Remote Control Basics R&S SGU100A Status Reporting System Description of the five status register parts The five parts of a SCPI register have different properties and functions: ● CONDition The CONDition part is written into directly by the hardware or the sum bit of the next lower register.
  • Page 221: Status Byte (Stb) And Service Request Enable Register (Sre)

    ® Remote Control Basics R&S SGU100A Status Reporting System The instrument automatically generates the sum bit for each register. Thus an event can lead to a service request throughout all levels of the hierarchy. A.5.3 Status Byte (STB) and Service Request Enable Register (SRE) The STatus Byte (STB) is already defined in IEEE 488.2.
  • Page 222: Event Status Register (Esr) And Event Status Enable Register (Ese)

    ® Remote Control Basics R&S SGU100A Status Reporting System A.5.4 Event Status Register (ESR) and Event Status Enable Register (ESE) The ESR is defined in IEEE 488.2. It can be compared with the EVENt part of a SCPI register. The event status register can be read out using command *ESR?.
  • Page 223: Operation Status Register (Status:operation)

    ® Remote Control Basics R&S SGU100A Status Reporting System Table A-7: Meaning of the bits used in the questionable status register Bit No. Meaning 0–15 Not used A.5.6 Operation Status Register (STATus:OPERation) This condition part contains information on the actions currently being performed by the instrument, while the event part contains information on the actions performed by the instrument since the last readout of the register.
  • Page 224: Serial Poll

    ® Remote Control Basics R&S SGU100A Status Reporting System Example: Use command *OPC to generate an SRQ . *ESE 1 - set bit 0 of ESE (Operation Complete) *SRE 32 - set bit 5 of SRE (ESB). After its settings have been completed, the instrument generates an SRQ.
  • Page 225: Reset Values Of The Status Reporting System

    ® Remote Control Basics R&S SGU100A General Programming Recommendations larly since faulty commands from the controller to the instrument are recorded there as well. A.5.8 Reset Values of the Status Reporting System The following table contains the different commands and events causing the status reporting system to be reset.
  • Page 226 ® Remote Control Basics R&S SGU100A General Programming Recommendations Reacting to malfunctions The service request is the only possibility for the instrument to become active on its own. Each controller program should instruct the instrument to initiate a service request in case of malfunction. The program should react appropriately to the service request.
  • Page 227: B Telnet Program Examples

    ® Telnet program examples R&S SGU100A B Telnet program examples The following program example shows a simple TcpClient class that is intended to explain on how to get started with programming of sockets. The example sets up a socket communication to R&S SGU and opens a simple user interface, very similar to the telnet, which allows input of commands.
  • Page 228 ® Telnet program examples R&S SGU100A ~TcpClient(); void connectToServer( string &hostname, int port ); void disconnect( ); void transmit( string &txString ); void receive( string &rxString ); string getCurrentHostName( ) const; getCurrentPort( ) const; private: string currentHostName; currentPort; currentSocketDescr; SockAddrStruct serverAddress;...
  • Page 229 ® Telnet program examples R&S SGU100A if( currentSocketDescr == 0 ) currentHostName = ""; currentPort = 0; currentHostInfo = NULL; clientIsConnected = false; printf("can't create socket\n" ); serverAddress.sin_family = currentHostInfo->h_addrtype; serverAddress.sin_port = htons( currentPort ); memcpy( (char *) &serverAddress.sin_addr.s_addr, currentHostInfo->h_addr_list[0], currentHostInfo->h_length );...
  • Page 230 ® Telnet program examples R&S SGU100A throw string("connection must be established before any data can be received\n"); char * receiveBuffer = new char[receiveBufferSize]; memset( receiveBuffer, 0, receiveBufferSize ); bool receiving = true; while( receiving ) int receivedByteCount = recv( currentSocketDescr, receiveBuffer, receiveBufferSize, 0 );...
  • Page 231 ® Telnet program examples R&S SGU100A hostname = argv[1]; break; default: printUsage(); return(-1); client.connectToServer( hostname, port ); bool terminate = false; while( !terminate ) char buffer[1024]; if( useSingleCommand ) input = singleCommand; //send string else cin.getline( buffer, 1024 ); input = buffer;...
  • Page 232: Index

    ® Index R&S SGU100A Index Symbols Command line structure ..........212 Common ..............204 *OPC ................214 Double dagger ............211 *OPC? ................214 Instrument control ............. 204 *RST ................223 Overlapping .............. 214 *WAI ................214 Question mark ............211 /var directory ..............
  • Page 233 ® Index R&S SGU100A Error message Gain imbalance ..............80 Query interrupted ............135 Gateway ................100 Resource locked ............135 Getting started ..............11 Error messages ............... 200 GPIB ................113 Adjustment data invalid (183) ........202 Characteristics ............121 Adjustment data missing (182) .........
  • Page 234 ® Index R&S SGU100A IP address mode ............... 99 IP configuration LXI ................132 Maintenance IST ...................216 Accept ................. 97 Operation ..............97 IST flag Remote ..............146 Malfunctions reacting ..............224 MAX ................209 Message ................56 Additional information ..........66 ID ................
  • Page 235 ® Index R&S SGU100A Options Rename Identification (remote) ..........146 File ................166 OSA ...................12 Reset instrument settings ..........19 Output connector ............31, 32 Reset values Output queue ..............216 Remote ..............147 Overlapping commands ..........214 Resource string Preventing ..............214 VISA ................
  • Page 236 ® Index R&S SGU100A Static IP address VXI-11 ................113 Lost connection ............99 Status Queries ..............222 Wait Status byte Remote ..............148 Remote ............. 145, 148 Warnings ................. 200 Status byte (STB) ............219 White papers ..............13 Status messages White space ..............

Table of Contents