Ronde & Schwarz R&S SGU100A User Manual

Sgma upconverter
Table of Contents

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Ronde & Schwarz R&S SGU100A

  • Page 1 ® R&S SGU100A SGMA Upconverter User Manual (;ÚÛJ2) 1176772602 Version 10...
  • 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 5.00.232.xx and later of the R&S ®...
  • Page 3: Table Of Contents

    ® Contents R&S SGU100A Contents 1 Safety and regulatory information............11 Safety instructions...................... 11 Labels on R&S SGU....................13 Warning messages in the documentation..............13 Korea certification class B..................14 2 Welcome....................15 Key features.........................15 What's new........................15 Documentation overview....................16 2.3.1 Getting started manual....................16 2.3.2 User manual and help....................
  • Page 4 ® Contents R&S SGU100A 3.10 Switching on or off......................25 3.11 Checking default settings..................26 3.12 Working with Linux operating system..............27 3.13 Connecting an external PC and devices..............27 3.13.1 Installing the R&S SGMA-GUI software................28 3.13.2 Connecting a remote PC via LAN................. 30 3.13.3 Connecting a controller via PCI Express...............33 3.13.4...
  • Page 5 ® Contents R&S SGU100A Info dialog and messages in the info bar..............68 8.2.1 Info dialog........................68 8.2.2 Understanding the messages in the info bar..............69 Main panel........................70 Working with R&S SGMA-GUI..................73 8.4.1 Saving and loading settings..................73 8.4.2 Handling instruments in the R&S SGMA-GUI............... 73 8.4.3 Finding out the default hostname of the instrument............
  • Page 6 ® Contents R&S SGU100A 10.2 Software / options..................... 107 10.3 Install SW options..................... 109 10.4 Protection........................109 10.5 Security........................110 10.6 Network settings....................... 113 10.7 Remote channels.......................116 10.8 Factory preset......................117 10.9 Eco mode........................118 10.10 Standby and restart....................118 10.11 Diagnostic and tests....................119 10.11.1 Keyboard tests......................119 11 Performing configuration tasks............120...
  • Page 7 ® Contents R&S SGU100A 12.3.4 Connecting the controller and the instrument............. 144 12.3.5 Enabling fast settings....................144 12.4 Advanced remote control using fast socket............145 12.4.1 Setting up a remote control connection via fast socket..........145 12.4.2 Installing the protocol driver..................146 12.4.3 Enabling fast settings....................
  • Page 8 ® Contents R&S SGU100A 13.8 Fast speed commands..................... 181 13.9 FORMat Subsystem....................181 13.10 MMEMory subsystem....................183 13.10.1 File naming conventions..................... 183 13.10.2 Extensions for user files....................184 13.10.3 Examples........................184 13.10.4 Remote control commands..................186 13.11 OUTPut subsystem....................191 13.12 SOURce subsystem....................
  • Page 9 ® Contents R&S SGU100A Annex....................229 A Telnet program examples..............229 Index....................235 User Manual 1176.7726.02 ─ 10...
  • Page 10 ® Contents R&S SGU100A User Manual 1176.7726.02 ─ 10...
  • Page 11: Safety And Regulatory Information

    ® Safety and regulatory information R&S SGU100A Safety instructions 1 Safety and regulatory information The product documentation helps you use the product safely and efficiently. Follow the instructions provided here and in the following chapters. Intended use The product is intended for the development, production and verification of electronic components and devices in industrial, administrative, and laboratory environments.
  • Page 12 ® Safety and regulatory information R&S SGU100A Safety instructions Choosing the operating site Only use the product indoors. The product casing is not waterproof. Water that enters can electrically connect the casing with live parts, which can lead to electric shock, serious personal injury or death if you touch the casing.
  • Page 13: Labels On R&S Sgu

    ® Safety and regulatory information R&S SGU100A Warning messages in the documentation ● Only connect the product to a power source with a fuse protection of maximum 20 A. ● Ensure that you can disconnect the product from the power source at any time. Pull the power plug to disconnect the product.
  • Page 14: Korea Certification Class B

    ® Safety and regulatory information R&S SGU100A Korea certification class B WARNING Potentially hazardous situation. Could result in death or serious injury if not avoided. CAUTION Potentially hazardous situation. Could result in minor or moderate injury if not avoided. NOTICE Potential risks of damage.
  • Page 15: Welcome

    ® Welcome R&S SGU100A What's new 2 Welcome 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 16: Documentation Overview

    ® Welcome R&S SGU100A Documentation overview – Maintenance, storage and disposal added, see Chapter 16, "Maintenance, storage and disposal", on page 228. 2.3 Documentation overview This section provides an overview of the R&S SGU user documentation. Unless speci- fied otherwise, you find the documents on the R&S SGU product page at: www.rohde-schwarz.com/manual/sgu100a 2.3.1 Getting started manual Introduces the R&S SGU and describes how to set up and start working with the prod-...
  • Page 17: Basic Safety Instructions

    ® Welcome R&S SGU100A Typographical conventions 2.3.5 Basic safety instructions Contains safety instructions, operating conditions and further important information. The printed document is delivered with the instrument. 2.3.6 Data sheets and brochures The data sheet contains the technical specifications of the R&S SGU. It also lists the options and their order numbers and optional accessories.
  • Page 18: Notes On Screenshots

    ® Welcome R&S SGU100A Notes on screenshots Convention Description Links Links that you can click are displayed in blue font. "References" References to other parts of the documentation are enclosed by quota- tion marks. 2.5 Notes on screenshots When describing the functions of the product, we use sample screenshots. These screenshots are meant to illustrate as many as possible of the provided functions and possible interdependencies between parameters.
  • Page 19: Preparing For Use

    ® Preparing for use R&S SGU100A Choosing the operating site 3 Preparing for use Here, you can find basic information about setting up the product for the first time. 3.1 Lifting and carrying See also "Lifting and carrying the product" on page 11.
  • Page 20: Setting Up The R&S Sgu

    ® Preparing for use R&S SGU100A Setting up the R&S SGU ● Class A equipment is intended for use in industrial environments. It can cause radio disturbances in residential environments due to possible conducted and radi- ated disturbances. It is therefore not suitable for class B environments. If class A equipment causes radio disturbances, take appropriate measures to eliminate them.
  • Page 21: Mounting The R&S Sgu In A Rack

    ® Preparing for use R&S SGU100A Setting up the R&S SGU Left = Stacked correctly, same dimensions Middle = Stacked correctly, different dimensions Right = Stacked incorrectly, too many products 3. NOTICE! Overheating can damage the product. Prevent overheating as follows: ●...
  • Page 22: Considerations For Test Setup

    ® Preparing for use R&S SGU100A Connecting to power 3.5 Considerations for test setup Cable selection and electromagnetic interference (EMI) Electromagnetic interference (EMI) can affect the measurement results. To suppress electromagnetic radiation during operation: ● Use high-quality shielded cables, especially for the following connector types: –...
  • Page 23: Connecting To Lan

    ® Preparing for use R&S SGU100A Connecting to RF 50Ω There is no need to set the voltage manually or change fuses. 3.7 Connecting to LAN Network environment Before connecting the product to a local area network (LAN), consider the following: ●...
  • Page 24: Connecting To Non-Screwable Connectors

    ® Preparing for use R&S SGU100A Connecting to non-screwable connectors On the front panel, press the [RF ON] key. To connect to screwable connectors Additional to the RF 50Ω connector, the following procedure holds for all screwable connectors of the R&S SGU. Screwable connectors include connector types as listed Table 3-1.
  • Page 25: Switching On Or Off

    ® Preparing for use R&S SGU100A Switching on or off ► To connect the RF cable with the RF 50Ω connector, proceed as follows: a) Carefully align the connector of the cable and the RF 50Ω connector along a common axis. b) Mate the connectors along the common axis until the male pin of the connector of the cable engages with the female socket of the RF 50Ω...
  • Page 26: Checking Default Settings

    ® Preparing for use R&S SGU100A Checking default settings To switch between standby and ready state ► Press the [POWER ON/STANDBY] key briefly to switch the instrument from the standby to ready state or vice versa. In ready state, the button is green. The instrument is ready for operation. All mod- ules are power-supplied and the R&S SGU initiates its startup procedure.
  • Page 27: Working With Linux Operating System

    ® Preparing for use R&S SGU100A Connecting an external PC and devices instrument to its defined preset state every time a new configuration is required or the current setup is no longer relevant. The R&S SGU offers a two-stage preset concept: ●...
  • Page 28: Installing The R&S Sgma-Gui Software

    ® Preparing for use R&S SGU100A Connecting an external PC and devices In addition to connecting an external controller, you can connect other external devi- ces, e.g. a memory stick. The following interfaces are on the rear panel of the R&S SGU: ●...
  • Page 29 ® Preparing for use R&S SGU100A Connecting an external PC and devices 3. Open the installation file using administrator rights. 4. Follow the instructions in the installation wizard. 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 30: Connecting A Remote Pc Via Lan

    ® Preparing for use R&S SGU100A Connecting an external PC and devices 3.13.2 Connecting a remote PC via LAN The R&S SGU is equipped with a network interface and can be connected to an Ether- net LAN (local area network). The interface can be used, for example: ●...
  • Page 31 ® Preparing for use R&S SGU100A Connecting an external PC and devices 5. In the "Configure Instruments" dialog, click "Scan". The new instrument appears with a Zeroconf IP address 169.254.xx.yy. 6. To assign a static IP address to the instrument, see "Assigning a static IP address to the R&S SGU"...
  • Page 32 ® Preparing for use R&S SGU100A Connecting an external PC and devices Assigning a static IP address to your Windows-PC network card 1. Obtain the IP address and subnet mask for the R&S SGU and the IP address for the local default gateway from your network administrator. If necessary, also obtain the name of your DNS domain and the IP addresses of the DNS and WINS servers on your network.
  • Page 33: Connecting A Controller Via Pci Express

    ® Preparing for use R&S SGU100A Connecting an external PC and devices 3.13.3 Connecting a controller via PCI Express Using the "PCIe" interface for remote control of the R&S SGU requires extended knowledge. See Chapter 12.3, "Advanced remote control using PCIe", on page 140.
  • Page 34 ® Preparing for use R&S SGU100A Connecting an external PC and devices b) To assign a static IP address to the PC, see "Assigning a static IP address to your Windows-PC network card" on page 32. c) To edit the instrument settings, see Chapter 8.4.2.6, "How to edit instruments", on page 76.
  • Page 35: Instrument Tour

    ® Instrument tour R&S SGU100A Front panel tour 4 Instrument tour This chapter explains the control elements and the connectors of the R&S SGU. The views of the front panel and the rear panel help you to get familiar with the instrument and to perform first steps.
  • Page 36 ® Instrument tour R&S SGU100A Front panel tour Table 4-1: Overview of RF signal states [RF ON] state Remark RF signal output at the RF 50Ω connector. green No RF signal output. gray How to: Chapter 3.8, "Connecting to RF 50Ω", on page 23 [LO IN]...
  • Page 37: Rear Panel Tour

    ® Instrument tour R&S SGU100A Rear panel tour How to: ● Chapter 3.7, "Connecting to LAN", on page 23 ● Chapter 3.13.2, "Connecting a remote PC via LAN", on page 30 [ID] The [ID] key allows you to identify your R&S SGU, e.g. in complex test setups with more instruments.
  • Page 38 ® Instrument tour R&S SGU100A Rear panel tour How to: Chapter 3.6, "Connecting to power", on page 22 RJ-45 connector to connect the R&S SGU to a LAN for remote control. How to: ● Chapter 3.7, "Connecting to LAN", on page 23 ●...
  • Page 39 ® Instrument tour R&S SGU100A Rear panel tour How to: "To connect to screwable connectors" on page 24 User Manual 1176.7726.02 ─ 10...
  • Page 40: Trying Out The Instrument

    ® Trying out the Instrument R&S SGU100A Extending R&S SGS with the R&S SGU 5 Trying out 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. This section provides an example on how to configure the instrument to convert a con- tinuous wave (CW) signal.
  • Page 41 ® Trying out the Instrument R&S SGU100A Extending R&S SGS with the R&S SGU c) Connect the "TRIG" connectors of the R&S SGS and the R&S SGU. d) Connect the "RF 50Ω" of the R&S SGU to the RF input connector of the signal analyzer.
  • Page 42 ® Trying out the Instrument R&S SGU100A Extending R&S SGS with the R&S SGU 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. 7.
  • Page 43 ® Trying out the Instrument R&S SGU100A Extending R&S SGS with the R&S SGU The diagram displays the connection state of the tested connections. 10. Select "SGMA-GUI > R&S SGS > Freq = 40 GHz", "Lev = -30 dBm". 11. Select "SGMA-GUI > R&S SGS > RF > State > On" to enable the output of the CW signal.
  • Page 44: R&S Sgu As A Standalone Upconverter

    ® Trying out 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: ● Select "SGMA-GUI >...
  • Page 45 ® Trying out 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 46 ® Trying out 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. 10.
  • Page 47: Instrument Control

    ® Instrument control R&S SGU100A Manual operation via R&S SGMA-GUI 6 Instrument control As a rule, the R&S SGU is operated exclusively via programmatic remote control from a connected PC. For service and diagnostic tasks, and for manual configuration, a graphical user interface (R&S SGMA-GUI) is provided which runs on the remote PC.
  • Page 48: How To Use The Help System

    ® Instrument control R&S SGU100A Manual operation via R&S SGMA-GUI ● The central part of the R&S SGMA-GUI main dialog is the main panel that shows the list of all active instruments. The main panel is the core element for the manual operation and provides quick access to the main settings of the configured instruments.
  • Page 49 ® Instrument control R&S SGU100A Manual operation via R&S SGMA-GUI The help system also provides an "Index", "Find" and "Zoom" functions that are accessed with the corresponding buttons. Navigating in the table of contents and in the help topics 1. To move through the displayed contents entries, use the mouse or the [Up/Down] keys.
  • Page 50: System Overview

    ® System overview R&S SGU100A Setups for instrument control 7 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. Optimized for use in automated test equipment (ATE), the instrument offers fast settling times in an exceptionally small formfactor and low power consumption.
  • Page 51: Controlling The R&S Sgu With An R&S Signal Generator

    ® System overview R&S SGU100A Connecting an R&S SGS and an R&S SGU An instrument can be connected to the controller via any of the supported interfaces LAN, USB or PCIe. Figure 7-2: Configuration example: remote control from a controller For information about remote control, refer to Chapter 12, "Network operation and remote...
  • Page 52: Using A Direct Lan Connection

    ® System overview R&S SGU100A Connecting an R&S SGS and an R&S SGU This chapter gives an overview of how to connect the instruments. It covers the follow- ing topics. ● Using a direct LAN connection................52 ● Connecting to a company network................53 ●...
  • Page 53: Connecting To A Company Network

    ® System overview R&S SGU100A Connecting an R&S SGS and an R&S SGU If instrument is not automatically added as an extension You can do that manually in the "SGMA-GUI > R&S SGS Name > Extension" dialog. If the R&S SGU is not listed in the list of "Available Instruments", you can press "Scan >...
  • Page 54 ® System overview R&S SGU100A Connecting an R&S SGS and an R&S SGU 2. Switch on the R&S SGS and the R&S SGU. Wait until the [POWER ON/STANDBY] keys are green and not blinking. 3. Press the [ID] keys on the front panels of the R&S SGS and the R&S SGU. 4.
  • Page 55 ® System overview R&S SGU100A Connecting an R&S SGS and an R&S SGU 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. 7.
  • Page 56: Connecting Via A Pcie Switch

    ® System overview R&S SGU100A 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. Tip: If your connection is marked as faulty, check whether the cables are connec- ted properly.
  • Page 57 ® System overview R&S SGU100A Connecting an R&S SGS and an R&S SGU The logical connection between an R&S SGS and an R&S SGU is established by the driver layer of a program (e.g. the R&S SGMA-GUI) or the library PCIeController.dll (Linux: libpciecontroller.so) of a remote control program on the PC.
  • Page 58: Understanding The R&S Sgma-Gui Software

    ® Understanding the R&S SGMA-GUI software R&S SGU100A Operating menu and toolbar 8 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 59: File Menu

    ® Understanding the R&S SGMA-GUI software R&S SGU100A Operating menu and toolbar Table 8-1: Content of the operating menu File Setup Help Instruments About Software Contents Open Save Reset SGMA-GUI Index Remote Save as Exit Shut down instruments and exit 8.1.1 File menu The R&S SGMA-GUI employs the standard Save/Recall file management function and allows you to save and reload settings in/to a file with a user-defined name and loca-...
  • Page 60: Setup Menu

    ® Understanding the R&S SGMA-GUI software R&S SGU100A Operating menu and toolbar Shut down instruments and exit Quits the R&S SGMA-GUI and switches the connected instruments to the standby state (see also Chapter 11.3, "How to switch between operating states", on page 123).
  • Page 61 ® Understanding the R&S SGMA-GUI software R&S SGU100A Operating menu and toolbar Refer to Chapter 8.4.2, "Handling instruments in the R&S SGMA-GUI", on page 73 for information on how to configure and manage instruments in R&S SGMA-GUI. Available Instruments....................61 Scan..........................62 New..........................
  • Page 62 ® Understanding the R&S SGMA-GUI software R&S SGU100A Operating menu and toolbar Remote command: on page 84 :INSTruments:COUNt? on page 85 :INSTruments:NAME on page 88 :INSTruments:TYPE on page 83 :INSTruments:ACTive[:STATe] Scan Triggers a scan function and searches for instruments connected to the remote com- puter via all the available interfaces.
  • Page 63 ® Understanding the R&S SGMA-GUI software R&S SGU100A Operating menu and toolbar Figure 8-1: Mapping file example Tip: In a remote control application program, address the instruments by their symbolic names and retrieve the remain required settings from the mapping file. This workflow is especially useful for frequent exchange of instruments.
  • Page 64 ® Understanding the R&S SGMA-GUI software R&S SGU100A Operating menu and toolbar 8.1.2.2 Add/Edit instruments The dialog provides access to the main instrument's settings, such as "Symbolic Name", "Instrument Type" and connection settings. Refer to Chapter 8.4.2, "Handling instruments in the R&S SGMA-GUI", on page 73 for information on how to configure and manage instruments in R&S SGMA-GUI.
  • Page 65 ® Understanding the R&S SGMA-GUI software R&S SGU100A Operating menu and toolbar Remote command: on page 83 :INSTruments:ACTive[:STATe] Exclusive Access Checks whether the instrument is locked by another user and if not locks the instru- ment. When an instrument is locked, it is reserved for manual and remote operation. Locking means, that you can operate the instrument exclusively from the remote PC on which the R&S SGMA-GUI is running or from which the SCPI command is sent.
  • Page 66 ® Understanding the R&S SGMA-GUI software R&S SGU100A Operating menu and toolbar Board Number Identifies the GPIB bus card of the controller to that the adapter is connected. See also Chapter 12.1.5, "GPIB interface (IEC/IEEE bus interface)", on page 137. Remote command: on page 85 :INSTruments:GPIB:BOARd...
  • Page 67: Help

    ® Understanding the R&S SGMA-GUI software R&S SGU100A Operating menu and toolbar Show Open Source Acknowledgments Accesses the list of the used open source software packages and the corresponding verbatim license texts. Versions Shows the installed software platform and its version. 8.1.2.4 Reset SGMA-GUI Resets R&S SGMA-GUI to its factory preset settings.
  • Page 68: Info Dialog And Messages In The Info Bar

    ® Understanding the R&S SGMA-GUI software R&S SGU100A Info dialog and messages in the info bar 8.2 Info dialog and messages in the info bar A few operating states and the current messages are displayed in the info line. For information on messages in greater detail and their management, an "Info"...
  • Page 69: 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 Parameter Description "LEV" Message level. Messages referring to a logical component of R&S SGMA-GUI, e.g., Unicode, are marked in red color, info messages are marked in black color. The following level messages can occur: ●...
  • Page 70: Main Panel

    ® Understanding the R&S SGMA-GUI software R&S SGU100A Main panel The information, e.g., file not found, is displayed in black color. ● Warning A warning indicates a less significant error and is displayed in black color. ● Brief message Brief messages report automatic settings in the program, e.g. switching on illegal entries that are not accepted by the program, e.g., range violations.
  • Page 71 ® Understanding the R&S SGMA-GUI software R&S SGU100A Main panel Settings Instrument/Connection State..................71 Maximum Frequency.....................72 Pulse Modulation ......................72 Instrument Name/ IP Address..................72 Frequency........................72 On/Off........................72 State........................72 PEP..........................72 Level/Level Offset......................72 Instrument/Connection State The three colors of the state indicator in front of the instrument's name distinguish between the following states: ●...
  • Page 72 ® Understanding the R&S SGMA-GUI software R&S SGU100A Main panel Maximum Frequency The numbers in the rectangular box on the left of the instrument's name indicate the maximum frequency of the instrument. Pulse Modulation sign on the left of the instrument's name indicates that the pulse modulation is switched on.
  • Page 73: Working With R&S Sgma-Gui

    ® Understanding the R&S SGMA-GUI software R&S SGU100A Working with R&S SGMA-GUI Note: The SCPI command [:SOURce]:POWer[:LEVel][:IMMediate][: sets the level of the "Level" display, that means the level containing off- AMPLitude] set while sets the level at the RF output connector. [:SOURce]:POWer:POWer Remote command: on page 200...
  • Page 74 ® Understanding the R&S SGMA-GUI software R&S SGU100A Working with R&S SGMA-GUI Chapter 8.1.2.4, "Reset SGMA-GUI", on page 67 8.4.2.1 How to add new instruments automatically 1. For each new instrument perform the following steps: a) Connect the instrument to the network. b) Switch on the instrument.
  • Page 75 ® Understanding the R&S SGMA-GUI software R&S SGU100A Working with R&S SGMA-GUI 12. Click the "Cancel" key to discard settings and to close the dialog. 8.4.2.3 How to scan for new instruments 1. In the R&S SGMA-GUI main panel, select "Setup > Instruments". Configure Instruments dialog opens.
  • Page 76: Finding Out The Default Hostname Of The Instrument

    ® Understanding the R&S SGMA-GUI software R&S SGU100A Working with R&S SGMA-GUI The two functions "Exclusive Access" and monitoring are mutually exclusive. The "Exclusive Access" must be disabled to remote control or monitor the instrument form another external PC (see Chapter 12.7, "Monitoring remote control operation with R&S SGMA-GUI",...
  • Page 77: Bidirectional Instrument Identification

    ® Understanding the R&S SGMA-GUI software R&S SGU100A Working with R&S SGMA-GUI ● <instrument name> is the complete name of the instrument, written without spaces. How to query the hostname of the instrument 1. Find the individual serial number on rear of the instrument, e.g. 100021. 2.
  • Page 78 ® 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. User Manual 1176.7726.02 ─ 10...
  • Page 79 ® Understanding the R&S SGMA-GUI software R&S SGU100A Working with R&S SGMA-GUI Dialog "Edit Instrument" does not appear If this dialog does not open, perform the following: ● Check whether the instrument is correctly connected to the external PC on which you work with the R&S SGMA-GUI.
  • Page 80: Managing Messages In The Info Dialog

    ® Understanding the R&S SGMA-GUI software R&S SGU100A Working with R&S SGMA-GUI 2. Select "Device Identify" to trigger identification. The green [LAN] LED on the front panel of the instrument blinks. 8.4.5 Managing messages in the info dialog How to get additional information on the message ►...
  • Page 81: Remote Control Of R&S Sgma-Gui

    ® Understanding the R&S SGMA-GUI software R&S SGU100A Remote control of R&S SGMA-GUI A list of all messages that have occurred since the instrument switch-on is dis- played. The most recent messages are displayed at the top of the list. 2.
  • Page 82 ® Understanding the R&S SGMA-GUI software R&S SGU100A Remote control of R&S SGMA-GUI ● Example "Configuring SGMA instruments" on page 83 Example: Searching for SGMA instruments // Search for SGMA instruments using the scan function. It detects instruments // that are connected to the remote computer via all of the available interfaces. INSTruments:SCAN 1 *OPC? // Query the number of available instruments.
  • Page 83: R&S Sgma-Gui Commands

    ® Understanding the R&S SGMA-GUI software R&S SGU100A Remote control of R&S SGMA-GUI // Enable exclusive access for the selected instrument. INSTruments:EACCess:STATe? // Response: 0,0,0 INSTruments:EACCess:STATe ON,OFF,OFF // Locks the first instrument. Example: Configuring SGMA instruments // Clear the device list and add new instruments manually. INSTruments:CLEar INSTruments:NAME "MYSGT100A","MYSGS100A","MYSGU100A"...
  • Page 84 ® Understanding the R&S SGMA-GUI software R&S SGU100A Remote control of R&S SGMA-GUI Parameters: <State> List of BOOL-values <StateInstr#1>,<StateInstr#2>,... 0, 1, ON, OFF Example: Example "Evaluating scan results" on page 82. Manual operation: "Available Instruments" on page 61 "Active" on page 64 :INSTruments:CLEar Clears all instruments in the device list.
  • Page 85 ® Understanding the R&S SGMA-GUI software R&S SGU100A Remote control of R&S SGMA-GUI :INSTruments:GPIB:ADDRess <Serial> Sets the GPIB address of the connected instrument. Parameters: <Serial> List of Numbers Example: Example "Configuring SGMA instruments" on page 83. Manual operation: "GPIB Address" on page 65 :INSTruments:GPIB:BOARd <Board>...
  • Page 86 ® Understanding the R&S SGMA-GUI software R&S SGU100A Remote control of R&S SGMA-GUI Parameters: <Channel> List of CHAR-Data <Channellnstr#1>,<Channellnstr#2>,... The available interfaces are: LAN, USB, SOCKET, PCIe, GPIB, HiSLIP Example: Example "Searching for SGMA instruments" on page 82. Manual operation: "Hardware Channel"...
  • Page 87 ® Understanding the R&S SGMA-GUI software R&S SGU100A Remote control of R&S SGMA-GUI Use the IP address to optimize scanning for instruments within a subnet. Parameters: <Address> string Example: Example "Scanning a subnet for SGMA instruments" on page 82. Manual operation: "IP Address"...
  • Page 88: List Of R&S Sgma-Gui Commands

    ® Understanding the R&S SGMA-GUI software R&S SGU100A Remote control of R&S SGMA-GUI :INSTruments:TYPE <Type> Sets the instrument type. Parameters: <Type> List of CHAR-Data <TypeInstr#1>,<TypeInstr#2>,... Example: Example "Configuring SGMA instruments" on page 83. Manual operation: "Available Instruments" on page 61 "Instrument Type"...
  • Page 89: Upconverter Settings

    ® Upconverter settings R&S SGU100A Frequency settings 9 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 90: Level And Power-On Settings

    ® Upconverter settings R&S SGU100A Level and power-on settings 9.2 Level and power-on settings This section explains the level settings of the R&S SGU. The instrument can be equip- ped optionally with an active electronic step attenuator (R&S SGU-B26). Configuring RF level 1.
  • Page 91 ® Upconverter settings R&S SGU100A Level and power-on settings Note: The SCPI command [:SOURce]:POWer[:LEVel][:IMMediate][: sets the level of the "Level" display, that means the level containing off- AMPLitude] set while sets the level at the RF output connector. [:SOURce]:POWer:POWer Remote command: on page 200 [:SOURce]:POWer[:LEVel][:IMMediate][:AMPLitude] on page 202...
  • Page 92 ® Upconverter settings R&S SGU100A Level and power-on settings "Constant-VSWR" Suppresses output impedance variations at the "RF 50Ω" connector due to switching off the step attenuator. The step attenuator is fixed. This mode reduces the dynamic range of the instrument. Remote command: on page 200 [:SOURce]:POWer:SCHaracteristic...
  • Page 93: Attenuator

    ® Upconverter settings R&S SGU100A Level and power-on settings 9.2.2 Attenuator Access: ► Select "SGMA-GUI > Instrument Name > Level > Attenuator". This dialog comprises the settings for the power-on behavior of the instrument. Mode Sets the attenuator mode at the RF output. "Auto"...
  • Page 94: Power-On/Emf Settings

    ® Upconverter settings R&S SGU100A Level and power-on settings SATT Switch-Over Offset Sets the switch-over offset value of the attenuator. Remote command: on page 199 [:SOURce]:POWer:ATTenuation:SOVer[:OFFSet] RF-Off-Mode Determines the attenuator's state after the instrument is switched off. In default setting, the electronic step attenuator switches to highest attenuation when RF is off.
  • Page 95: Alc

    ® Upconverter settings R&S SGU100A Level and power-on settings 9.2.4 ALC Access: ► Select "SGMA-GUI > Instrument Name > Level > ALC". Automatic level control can be used with almost all applications, especially I/Q modulation. Deactivate it only for certain settings in the baseband and when you activate I/Q impairments ("Impairments >...
  • Page 96: I/Q Modulation And Signal Impairment

    ® Upconverter settings R&S SGU100A I/Q modulation and signal impairment "High" High sensitivity detector selected. Selects the detector path with high sensitivity, intended for signals with low internal electronic levels. "Fix" Fixes the last set sensitivity setting. 9.3 I/Q modulation and signal impairment The R&S SGU offers I/Q modulation with external analog I/Q signals.
  • Page 97 ® Upconverter settings R&S SGU100A I/Q modulation and signal impairment An I gain multiplies the I amplitudes by a factor, leaving the Q amplitudes unchanged. A Q gain has the opposite effect. Different I and Q gain factors result in an I/Q imbal- ance.
  • Page 98: General I/Q Settings

    ® Upconverter settings R&S SGU100A I/Q modulation and signal impairment 9.3.1.3 Quadrature offset Changes the phase angle between the I and Q vectors from the ideal 90 degrees, while the amplitudes are maintained. A positive quadrature offset results in a phase angle greater than 90 degrees.
  • Page 99: Analog Impairment Settings

    ® Upconverter settings R&S SGU100A I/Q modulation and signal impairment The crest factor gives the difference in level between the peak envelope power (PEP) and average power value (RMS) in dB. This value is necessary for the generation of the correct output power at the RF output, i.e. the instrument uses the PEP value to compensate the average power.
  • Page 100: Pulse Modulation

    ® Upconverter settings R&S SGU100A Pulse modulation Offset Sets the carrier offset (in percent) of the amplitudes (scaled to the peak envelope power (PEP) for the I and/or Q signal component. An ideal I/Q modulator suppresses the carrier offset completely (offset = 0 percent). For more information, see Chapter 9.3.1.2, "I and Q offset",...
  • Page 101: Pulse Modulation Settings

    ® Upconverter settings R&S SGU100A Pulse modulation 9.4.1 Pulse modulation settings Access: ► Select "SGMA-GUI > Instrument Name > Pulse Modulation". The "Pulse Modulation" dialog contains all parameters required to configure pulse modulation and pulse signal generation. State Sets the state of the pulse modulator. Remote command: on page 202 [:SOURce<hw>]:PULM:STATe...
  • Page 102: External Local Oscillator Settings

    ® Upconverter settings R&S SGU100A External local oscillator settings Comprises the settings necessary to configure the signal at the multi-purpose "TRIG" connector in the external trigger mode. Trigger Connector Mode Determines the signal at the input/output of the multi purpose [TRIG] connector. "Signal Valid"...
  • Page 103: Trigger Connector Settings

    ® Upconverter settings R&S SGU100A Trigger connector settings 4. Apply the required changes to the LO. 5. Press the "Confirm External LO Settings" button to confirm that you have made the settings on the LO. The desired signal is output by the R&S SGU. Frequency Shows the desired frequency for the LO input signal.
  • Page 104: Preset

    ® Upconverter settings R&S SGU100A Preset Remote command: on page 180 :CONNector:TRIGger:OMODe 9.7 Preset Calls up a defined instrument setup. Presets all parameters and switching states including inactive operating modes. The default instrument settings provide a reprodu- cible initial basis for all other settings. However, functions that concern the integration of the instrument into a measurement setup are not changed.
  • Page 105: General Instrument Settings And Instrument Setup

    ® General instrument settings and instrument setup R&S SGU100A Hardware configuration 10 General instrument settings and instrument setup This section describes the settings which do not directly affect signal generation. Access: 1. Select "SGMA-GUI > Instrument Name > Setup". 2. Select the required dialog. Settings ●...
  • Page 106 ® 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" Settings Assembly........................106 Assembly The tables list the installed assemblies. "Assembly"...
  • Page 107: Software / Options

    ® General instrument settings and instrument setup R&S SGU100A Software / options 10.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 108 ® General instrument settings and instrument setup R&S SGU100A Software / 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 109: Install Sw Options

    ® General instrument settings and instrument setup R&S SGU100A Protection 10.3 Install SW options Newly purchased software options are enabled in the "Install SW-Option" dialog. They are ready to operate after they are enabled by a key code supplied with the option. Only if the instrument is equipped with an older firmware version, a firmware update before enabling the software option can be required.
  • Page 110: Security

    ® General instrument settings and instrument setup R&S SGU100A Security Settings Protection Level / Password..................110 Protection Level / Password "Protection Level 1" can be activated to expand the functionality of the internal adjust- ment. The password is 123456. The other protection levels 2 to 4 provide access to protected service functions. Only the authorized personnel of R&S service departments can access these functions.
  • Page 111 ® General instrument settings and instrument setup R&S SGU100A Security The settings of this dialog are not accessible over remote control (e.g. SCPI com- mands). Settings User Password......................112 └ User Name....................112 └ Password....................112 └ Password....................112 └ Confirm Password..................112 └...
  • Page 112 ® General instrument settings and instrument setup R&S SGU100A Security └ Interface....................113 └ Security Password..................113 └ Accept......................113 User Password The user name and password are required for remote access to the instrument via VNC, FTP or SAMBA. Note: It is highly recommended to change the default user password before connect- ing the instrument to the network.
  • Page 113: Network Settings

    ® General instrument settings and instrument setup R&S SGU100A Network settings The new password is only valid after the "Change Password" button is pressed. Change Password ← Security Password Changes the password accordingly. 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"...
  • Page 114 ® General instrument settings and instrument setup R&S SGU100A Network settings Access: ► Select "SGMA-GUI > Instrument Name > Setup > Network Settings". The dialog provides access to the network settings, like settings about the general net- work environment and specific identification of the computer in the network. The dialog also displays an indication whether the instrument is connected to the network or not.
  • Page 115 ® 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 8.4.3, "Finding out the default hostname of the instrument", on page 76. It is recommended that a connection of the instrument to the network is coordinated with the network administrator.
  • Page 116: 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 117: Factory Preset

    ® General instrument settings and instrument setup R&S SGU100A Factory preset Note: For background information and description of the syntax of the VISA resource strings, refer to the description of the corresponding interface in Chapter 12.1, "Remote control interfaces and protocols", on page 129.
  • Page 118: Eco Mode

    ® General instrument settings and instrument setup R&S SGU100A Standby and restart The factory preset function resets nearly all instrument settings. In addition to the regu- lar preset, a "Factory Preset" resets also the following values: ● Power on settings ("Level" dialog) ●...
  • Page 119: Diagnostic And Tests

    ® General instrument settings and instrument setup R&S SGU100A Diagnostic and tests 10.11 Diagnostic and tests This section describes the settings provided for diagnostic and test purposes. Access: ► Select "SGMA-GUI > Instrument Name > Setup > Diagnostic / Test". The selection provides the following settings.
  • Page 120: Performing Configuration Tasks

    ® Performing configuration tasks R&S SGU100A How to generate I/Q signals 11 Performing configuration tasks This section provides a general explanation on how to operate the instrument manually via the R&S SGMA-GUI software. We assume, that the R&S SGU is connected to a remote PC. The R&S SGMA-GUI software is installed on this remote PC and the instrument has to be added to the list of "Available Instruments".
  • Page 121 ® Performing configuration tasks R&S SGU100A How to generate I/Q signals Figure 11-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, e.g.
  • Page 122 ® Performing configuration tasks R&S SGU100A How to generate I/Q signals The scan function finds out the connected R&S SGU. 5. To enable the R&S SGU as an extension, proceed as follows: a) Select the R&S SGU from the list b) Set "Available Instruments >...
  • Page 123: How To Restore The Lan Connection

    ® Performing configuration tasks R&S SGU100A How to switch between operating states 11.2 How to restore the LAN connection If you lose the LAN connection of the instrument, for example, after assigning a static IP address, proceed as follows: ► On the front panel of the instrument, press the [LAN] LED for more than 3 seconds. Pressing trigger a reset of the LAN settings.
  • Page 124 ® Performing configuration tasks R&S SGU100A How to switch between operating states Table 11-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. Booting The instrument boots the operating system The green [POWER ON/STANDBY] key blinks.
  • Page 125: How To Use Computer Names

    ® Performing configuration tasks R&S SGU100A How to install a new firmware version on the instrument To switch all connected instruments to standby state and close the R&S SGMA- ► In the R&S SGMA-GUI main panel, select "File > Shut down instruments and exit". The R&S SGMA-GUI quits and switches the connected instruments to standby state.
  • Page 126 ® Performing configuration tasks R&S SGU100A How to install a new firmware version on the instrument Firmware installation via R&S SGMA-GUI Install or update the firmware of the R&S SGU before installing or updating the soft- ware R&S SGMA-GUI. 1. Select "SGMA-GUI main panel > Instrument Name > Setup > Maintenance > Oper- ation >...
  • Page 127: How To Activate Options

    ® Performing configuration tasks R&S SGU100A How to set a PCIe direct connection 5. Open the update folder. 6. Copy the new firmware update file into the folder. The update starts automatically. Unsuccessful or erroneous firmware update An erroneous or unsuccessful installation of firmware update package is indicated by a combination of one orange and red LEDs on the front panel.
  • Page 128 ® Performing configuration tasks R&S SGU100A How to set a PCIe direct connection 3. Select "SGMA-GUI main panel > Instrument Name > Setup > Maintainance". 4. Select "Operation > PCIe Interface Mode". 5. Select "PCIe Interface Mode > Root Complex". 6.
  • Page 129: Network Operation And Remote Control

    ® Network operation and remote control R&S SGU100A Remote control interfaces and protocols 12 Network operation and remote control As an alternative to operating the R&S SGU interactively via the R&S SGMA-GUI, you can operate the R&S SGU also from a remote location. Information on network operation and remote control The following descriptions provide information required for operating the R&S SGU remotely.
  • Page 130: Remote Control Programs And Libraries

    ® Network operation and remote control R&S SGU100A Remote control interfaces and protocols Interface Remarks Protocols, VISA address string and Library PCIe Proprietary A PCIe connector is located on the rear panel of the instrument. PCIe::<vendor ID>::<product ID>:: <serial number>[::INSTR] For details, see Chapter 12.1.4, "PCI Express...
  • Page 131 ® Network operation and remote control R&S SGU100A Remote control interfaces and protocols Figure 12-1: Remote control interfaces, protocols and libraries The following examples give an overview of the dependencies between the available libraries, the possible interfaces and protocols, and whether an instrument driver is pro- vided.
  • Page 132 ® Network operation and remote control R&S SGU100A Remote control interfaces and protocols Figure 12-3: Remote control program using instrument driver (VISA available) Protocol Remote control program Socket rssgu_init ("TCPIP:rssgu100a100010::5025::SOCKET", ...) rssgu_SetFrequency (..., 2e9) VXI-11 rssgu_init ("TCPIP:rssgu100a100010::inst0::INSTR", ...) rssgu_SetFrequency (..., 2e9) HiSLIP rssgu_init ("TCPIP:rssgu100a100010::hislip0::INSTR", ...) rssgu_SetFrequency (..., 2e9)
  • Page 133: Lan Interface

    ® Network operation and remote control R&S SGU100A Remote control interfaces and protocols Protocol Remote control program Socket rssgu_init ("TCPIP:rssgu100a100010::5025::SOCKET", ...) rssgu_SetFrequency (..., 2e9) rssgu_init ("PCIe::0x162f::0x132e::1000010::INSTR", ...) PCIe rssgu_SetFrequency (..., 2e9) 12.1.2 LAN interface To be integrated in a LAN, the instrument is equipped with a LAN interface, consisting of a connector, a network interface card and protocols.
  • Page 134 ® Network operation and remote control R&S SGU100A Remote control interfaces and protocols See below the characteristics of the VISA resource strings for the corresponding inter- face protocols. The highlighted characters are crucial. HiSLIP TCPIP::host address::hislip0[::INSTR] ● hislip0 HiSLIP device name, designates that the interface protocol HiSLIP is used (mandatory).
  • Page 135 ® Network operation and remote control R&S SGU100A Remote control interfaces and protocols sockets for a single connection - one for fast data transfer, the other for non-sequential control commands (e.g. Device Clear or SRQ). HiSLIP has the following characteristics: ●...
  • Page 136: Usb Interface

    ® Network operation and remote control R&S SGU100A Remote control interfaces and protocols purpose. The port is configured for communication on a command-to-command basis and for remote control from a program running on a connected PC. 12.1.3 USB interface For remote control via USB connection, the PC and the instrument must be connected via the USB interface.
  • Page 137: Gpib Interface (Iec/Ieee Bus Interface)

    ® Network operation and remote control R&S SGU100A Remote control interfaces and protocols ● <product ID> is the product identification of the R&S instrument ● <serial number> is the individual serial number on the rear of the instrument ● [::INSTR] indicates the instrument resource class (optional) You can retrieve the PCIe resource string from the "SGMA-GUI >...
  • Page 138: Starting A Remote Control Session

    ® Network operation and remote control R&S SGU100A Starting a remote control session 12.2 Starting a remote control session To start a remote control session, connect the instrument and the controller with a suit- able cable and switch on both of them. A remote control program must open a connection to the instrument, before it can send commands to and receive device responses from the instrument.
  • Page 139 ® Network operation and remote control R&S SGU100A Starting a remote control session Basic knowledge of programming and operation of the controller are assumed. A description of the interface commands can be obtained from the relevant manuals. Refer to the getting started manual for an example of how to set up remote control con- nection over LAN using VXI-11 protocol.
  • Page 140: Advanced Remote Control Using Pcie

    ® Network operation and remote control R&S SGU100A Advanced remote control using PCIe 12.3 Advanced remote control using PCIe The PCIe bus is a high-speed serial bus, composed of point-to-point serial links. A pair of serial links, one transmitting and one receiving link, make up a lane. 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.
  • Page 141: Downloading The Drivers

    ® Network operation and remote control R&S SGU100A Advanced remote control using PCIe 3. Connect the controller and the instrument: See 12.3.4 4. Enable fast settings: See 12.3.5. 12.3.2 Downloading the drivers All required driver files are available for download on the product page at: http://www.rohde-schwarz.com/product/SGU100A.html >...
  • Page 142 ® Network operation and remote control R&S SGU100A Advanced remote control using PCIe To build and install this driver, root authority is required. 1. Copy folder KernelDriver to your hdd 2. Go to directory host. 3. On the command line, enter make. The driver sgshost.ko is automatically built.
  • Page 143 ® Network operation and remote control R&S SGU100A Advanced remote control using PCIe 2. Go to folder Build 3. On the command line, enter cmake .. 4. Enter make Folder Build contains the executable SguDriverDemo. Building the example program (Windows) 1.
  • Page 144: Connecting The Controller And The Instrument

    ® Network operation and remote control R&S SGU100A Advanced remote control using PCIe 12.3.4 Connecting the controller and the instrument The "PCIe" connector is located on the rear panel. Permitted PCIe cables PCIe extension cables must fulfill the following requirements: ●...
  • Page 145: Advanced Remote Control Using Fast Socket

    ® Network operation and remote control R&S SGU100A Advanced remote control using fast socket 12.4 Advanced remote control using fast socket Fast settings The socket interface can be utilized not only to transfer text messages, e.g., SCPI commands but also to carry register based remote control messages. The latter mode is called fast settings mode.
  • Page 146: Installing The Protocol Driver

    ® Network operation and remote control R&S SGU100A Advanced remote control using fast socket Linux operating systems To set up a remote control connection via fast socket for Linux operating systems, per- form the following steps: 1. Connect the controller and the instrument: See Chapter 3.13.2, "Connecting a remote PC via LAN",...
  • Page 147: Status Reporting System

    ® Network operation and remote control R&S SGU100A Status reporting system To disable the fast settings, call the function rssgu_UseFastSettings with argu- ment fastEnabled=false. 12.5 Status reporting system The status reporting system stores all information on the current operating state of the instrument, and on errors which have occurred.
  • Page 148 ® Network operation and remote control R&S SGU100A Status reporting system Figure 12-5: 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 QUES = Questionable Status Summary Bit = Error- /Event-Queue...
  • Page 149: Structure Of A Scpi Status Register

    ® Network operation and remote control R&S SGU100A Status reporting system ● Standard Event Status, i.e. the Event status Register (ESR) and the Event Status Enable (ESE), see Chapter 12.5.4, "Event status register (ESR) and event status enable register (ESE)", on page 152.
  • Page 150 ® Network operation and remote control R&S SGU100A Status reporting system Description of the five status register parts The five parts of a SCPI status register have different properties and functions: ● CONDition The CONDition part is written directly by the hardware or it mirrors the sum bit of the next lower register.
  • Page 151: Status Byte (Stb) And Service Request Enable Register (Sre)

    ® Network operation and remote control 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. 12.5.3 Status byte (STB) and service request enable register (SRE) The STatus Byte (STB) is already defined in IEEE 488.2.
  • Page 152: Event Status Register (Esr) And Event Status Enable Register (Ese)

    ® Network operation and remote control R&S SGU100A Status reporting system 12.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.
  • Page 153: Operation Status Register (Status:operation)

    ® Network operation and remote control R&S SGU100A Status reporting system Table 12-4: Meaning of the bits used in the questionable status register Bit No. Meaning 0–15 Not used 12.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 154 ® Network operation and remote control 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. The SRQ is the only possibility for the instrument to become active on its own.
  • Page 155: Reset Values Of The Status Reporting System

    ® Network operation and remote control R&S SGU100A LXI configuration larly since faulty commands from the controller to the instrument are recorded there as well. 12.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 156: Default Network Settings

    ® Network operation and remote control R&S SGU100A LXI configuration 12.6.1 Default network settings According to the LXI standard, an LCI must set the following parameters to a default state. Parameter Value TCP/IP mode DHCP + Auto IP Address Dynamic DNS Enabled ICMP ping Enabled...
  • Page 157: Lan Configuration

    ® Network operation and remote control R&S SGU100A LXI configuration ● "Diagnostics" – "SCPI Remote Trace" records messages exchanged via the remote control interface, see Chapter 12.6.3.4, "SCPI remote trace", on page 158. ● "Help" – "Glossary" explains terms related to the LXI standard. –...
  • Page 158 ® Network operation and remote control R&S SGU100A LXI configuration If you disable this setting, the instrument cannot be detected by the VXI-11 discov- ery protocol mechanism. The setting does not affect other detection mechanisms. Setting up a VXI-11 connection via the IP address or the host name is independent of this setting.
  • Page 159: How To Record Scpi Commands And Messages Via Lxi

    ® Network operation and remote control R&S SGU100A LXI configuration ● "Download": stores the SCPI trace log to a *.csv file ● "Clear": deletes all message log entries in the database and at the screen ● "Details": displays details of the selected message, for example a SCPI command in hex format (also possible by double\-clicking a message) Columns The following columns are available if no column filter is applied:...
  • Page 160: Monitoring Remote Control Operation With R&S Sgma-Gui

    ® Network operation and remote control R&S SGU100A Monitoring remote control operation with R&S SGMA-GUI The function records all sent commands, received responses and messages, and stores them in an internal database. If "live mode" is disabled, you can display the recent traces upon request, using the "refresh"...
  • Page 161 ® Network operation and remote control R&S SGU100A Monitoring remote control operation with R&S SGMA-GUI The figure below shows an example of configuration where the monitor and the con- troller are two different computers, connected to the same instrument over two different hardware interfaces.
  • Page 162: Remote Control Commands

    ® Remote control commands R&S SGU100A 13 Remote control commands In the following, all remote-control commands are presented in detail with their param- eters and the ranges of the numerical values. For an introduction to remote control and the status registers, refer to the following sec- tions: ●...
  • Page 163: Programming Examples

    ® Remote control commands R&S SGU100A Programming Examples ● CALibration subsystem..................175 ● CONNector subsystem..................180 ● DIAGnostic subsystem..................180 ● Fast speed commands..................181 ● FORMat Subsystem....................181 ● MMEMory subsystem....................183 ● OUTPut subsystem....................191 ● SOURce subsystem....................193 ● SOURce:IQ subsystem..................194 ●...
  • Page 164 ® Remote control commands R&S SGU100A Programming Examples // :RESTart // SYSTem:FPReset // ****************************************************************** // Lock the instrument to the controller // ****************************************************************** LOCK? 12345 // Lock the instrument to avoid interference by other controllers // Use an arbitrary number // Response: 1 // Request granted, i.e.
  • Page 165: Generating An I/Q Modulated Signal

    ® Remote control commands R&S SGU100A Programming Examples // Unlock the instrument // ****************************************************************** UNL 12345 13.1.2 Generating an I/Q Modulated Signal 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 166: Advanced Task For Optimizing Performance

    ® Remote control commands R&S SGU100A Programming Examples SOURce:IQ:CREStfactor 0.05 // ****************************************************************** // Enable output of the generated signal at the RF connector // ****************************************************************** OUTPut:STATe ON OUTPut:STATe:PON UNCH // ****************************************************************** // Query LO frequency and power values and set LO // ****************************************************************** LOSCillator:FREQuency? LOSCillator:POWer?
  • Page 167 ® Remote control commands R&S SGU100A Programming Examples LOCK? 12345 // Lock the instrument to avoid interference by other controllers // Use an arbitrary number // Response: 1 // Request granted, i.e. the instrument is locked // Abort program if request is refused // ****************************************************************** // Query the level that can be set without adjustments of the attenuator // ******************************************************************...
  • Page 168: Adjusting Network And Remote Channel Settings

    ® Remote control commands R&S SGU100A Programming Examples 13.1.4 Adjusting Network and Remote Channel Settings 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 169: Common Commands

    ® Remote control commands R&S SGU100A Common commands // ****************************************************************** // Unlock the instrument // ****************************************************************** UNL 12345 13.2 Common commands Common commands are described in the IEEE 488.2 (IEC 625-2) standard. These commands have the same effect and are employed in the same way on different devi- ces.
  • Page 170 ® Remote control commands R&S SGU100A Common commands Parameters: <Value> Range: 0 to 255 *ESR? Event status read Returns the contents of the event status register in decimal form and then sets the reg- ister to zero. Return values: <Contents> Range: 0 to 255 Usage:...
  • Page 171 ® Remote control commands R&S SGU100A Common commands *OPT? Option identification query Queries the options included in the instrument. For a list of all available options and their description, refer to the data sheet. Return values: <Options> The query returns a list of options. The options are returned at fixed positions in a comma-separated string.
  • Page 172 ® Remote control commands R&S SGU100A Common commands *RST Reset Sets the instrument to a defined default status. The default settings are indicated in the description of commands. The command is equivalent to SYSTem:PRESet. Usage: Setting only *SAV <Number> Save Stores the current instrument settings under the specified number in an intermediate memory.
  • Page 173: General Commands

    ® Remote control commands R&S SGU100A General commands *WAI Wait to continue Prevents servicing of the subsequent commands until all preceding commands have been executed and all signals have settled (see also command synchronization and *OPC). Usage: Event 13.3 General commands ......................
  • Page 174: Preset Commands

    ® Remote control commands R&S SGU100A Preset commands Example: :LOCK? 12345 Response: 1 :UNL 12345 Usage: Query only Manual operation: "Exclusive Access" on page 65 :UNLock <Unlock Id> Unlocks an instrument locked to a controller with Controller ID = <Unlock Id>. Setting parameters: <Unlock Id>...
  • Page 175: Calibration Subsystem

    ® Remote control commands R&S SGU100A CALibration subsystem :SYSTem:FPReset The command triggers an instrument reset to the original state of delivery.Only func- tions that are protected by a password remain unchanged. The factory preset function resets nearly all instrument settings. In addition to the regu- lar preset a "Factory Preset"...
  • Page 176 ® Remote control commands R&S SGU100A CALibration subsystem Calibration process of the R&S SGU Figure 13-1: Calibration process of the R&S SGU. No physical connections between the instruments are shown in this graphic. To complete the calibration process, complete the following steps: 1.
  • Page 177 ® Remote control commands R&S SGU100A CALibration subsystem Table 13-1: Programming example of a calibration process Local Oscillator/ Controller R&S SGU Response Interpretation 1):CALibration:LEVel: R&S SGU starts the Level Adjustment. STARt 2):CALibration:HREQuest? :PROG:CREate Level To do: create a progress bar with a caption Adjustment "Level Adjustment".
  • Page 178 ® Remote control commands R&S SGU100A CALibration subsystem :OUTP:STATe <Number> Shows the state required of the local oscillator :SOUR:FREQ <Number> Shows the frequency required of the local oscillator :SOUR:POW<Number> Shows the power required of the external local oscillator :PROG:CREate <Text> Asks the controller to create a progress bar :PROG:REName <Text>...
  • Page 179 ® Remote control commands R&S SGU100A CALibration subsystem Usage: Query only :CALibration:IQModulator:LOCal:STARt Starts an adjustment for the I/Q modulator of the current frequency. The I/Q modulator is adjusted with respect to carrier leakage, I/Q imbalance and quadrature. Query the result of the adjustment with the SCPI command :CALibration:IQModulator: LOCal:RESult?.
  • Page 180: Connector Subsystem

    ® Remote control commands R&S SGU100A DIAGnostic subsystem Usage: Query only 13.6 CONNector subsystem ..................180 :CONNector:TRIGger:OMODe :CONNector:TRIGger:OMODe <Mode> Sets the operating mode of the trigger connector. Parameters: <Mode> SVALid | SNValid | PEMSource SVALid|SNValid signal valid /not valid PEMSource external pulse modulator source Manual operation: "Trigger Connector Mode"...
  • Page 181: Fast Speed Commands

    ® Remote control commands R&S SGU100A FORMat Subsystem Return values: <Value> number Default unit: V or °C Example: Chapter 13.1.1, "Performing General Tasks for Instrument Setup", on page 163. Usage: Query only 13.8 Fast speed commands This section describes special commands that allow a fast frequency and level setting...........................
  • Page 182 ® Remote control commands R&S SGU100A FORMat Subsystem :FORMat:BORDer <Border> Determines the sequence of bytes within a binary block. This only affects blocks which use the IEEE754 format internally. Parameters: <Border> NORMal | SWAPped NORMal The instrument expects (with setting commands) and sends (with queries) the least significant byte of each IEEE754 floating- point number first and the most significant byte last.
  • Page 183: Mmemory Subsystem

    ® Remote control commands R&S SGU100A MMEMory subsystem BINary The register content is returned as a binary number. #B is placed in front of the number. HEXadecimal The register content is returned as a hexadecimal number. #H is placed in front of the number. OCTal The register content is returned as an octal number.
  • Page 184: Extensions For User Files

    ® Remote control commands R&S SGU100A MMEMory subsystem In the R&S SGU all files in which lists and settings are stored are given a characteristic extension. The extension is separated from the actual file name by a dot (see Chap- ter 13.10.2, "Extensions for user files", on page 184 for an overview of the file types).
  • Page 185 ® Remote control commands R&S SGU100A MMEMory subsystem 3. To store the settings in a file in the default drive, set the default drive and specify only the file name. MMEM:CDIR '/var/user/'*SAV 4 MMEM:STOR:STAT 4,"test.savrcltxt" 4. Load the file test.savrcltxt in the user directory. MMEM:LOAD:STAT 4,'/var/user/test.savrcltxt' 5.
  • Page 186: Remote Control Commands

    ® Remote control commands R&S SGU100A MMEMory subsystem 13.10.4 Remote control commands ......................186 :MMEMory:CATalog? ..................186 :MMEMory:CATalog:LENGth? ....................187 :MMEMory:CDIRectory ......................187 :MMEMory:COPY ......................188 :MMEMory:DATA ....................188 :MMEMory:DCATalog? ..................189 :MMEMory:DCATalog:LENGth? ......................189 :MMEMory:DELete ......................189 :MEMory:HFRee? ....................189 :MMEMory:LOAD:STATe ....................190 :MMEMory:MDIRectory ......................190 :MMEMory:MOVE ......................190 :MMEMory:MSIS...
  • Page 187 ® Remote control commands R&S SGU100A MMEMory subsystem Query parameters: <Path> string String parameter to specify the directory. If the directory is omit- ted, the command queries the content of the current directory, queried with command. :MMEMory:CDIRectory Return values: <FileCount> integer Number of files.
  • Page 188 ® Remote control commands R&S SGU100A MMEMory subsystem :MMEMory:DATA <Filename>, <BinaryBlock> :MMEMory:DATA? <Filename> The setting command writes the block data <BinaryBlock> to the file identified by <Filename>. Tip: Use this command to read/transfer stored instrument settings or waveforms directly from/to the instrument. Parameters: <BinaryBlock>...
  • Page 189 ® Remote control commands R&S SGU100A MMEMory subsystem :MMEMory:DCATalog:LENGth? [<Path>] Returns the number of subdirectories in the current or specified directory. Query parameters: <Path> String parameter to specify the directory. If the directory is omit- ted, the command queries the contents of the current directory, to be queried with command.
  • Page 190 ® Remote control commands R&S SGU100A MMEMory subsystem After the file has been loaded, the instrument setting must be activated using an *RCL command. Setting parameters: <SavRclStateNumb> Determines to the specific <number> to be used with the *RCL command, e.g. *RCL 4. <file_name>...
  • Page 191: Output Subsystem

    ® Remote control commands R&S SGU100A OUTPut subsystem :MMEMory:RDIRectory <Directory> Removes an existing directory from the mass memory storage system. If no directory is specified, the subdirectory with the specified name is deleted in the default directory. Setting parameters: <Directory> string String parameter to specify the directory to be deleted.
  • Page 192 ® Remote control commands R&S SGU100A OUTPut subsystem FIXed The level settings are made without switching the attenuator. When this operating mode is switched on, the attenuator is fixed to its current position and the resulting variation range is defined. *RST: AUTO Manual operation:...
  • Page 193: Source Subsystem

    ® Remote control commands R&S SGU100A SOURce subsystem :OUTPut:AFIXed:RANGe:UPPer? Queries the maximum level which can be set without the attenuator being adjusted. Return values: <Upper> float Default unit: dBm Example: Chapter 13.1.3, "Advanced Task for Optimizing Perfor- mance", on page 166 . Usage: Query only Manual operation:...
  • Page 194: Source:iq Subsystem

    ® Remote control commands R&S SGU100A SOURce:IQ subsystem Parameters: <Cw> float Range: 1E+6 to 40E+9 Increment: 1E-3 *RST: 1E+9 Example: Chapter 13.1.2, "Generating an I/Q Modulated Signal", on page 165. Manual operation: "Frequency" on page 72 [:SOURce]:TRAits<ch> Queries for a list of values for the corresponding trait. The following values values are available for the channel number: ●...
  • Page 195 ® Remote control commands R&S SGU100A SOURce:IQ subsystem Parameters: <State> 1 | ON | 0 | OFF *RST: Example: Chapter 13.1.2, "Generating an I/Q Modulated Signal", on page 165. Manual operation: "Mod State" on page 72 [:SOURce]:IQ:IMPairment:IQRatio <IqRatio> Sets the ratio of I modulation to Q modulation (gain “imbalance”). The input may be either in dB or %.
  • Page 196: Source:loscillator Subsystem

    ® Remote control commands R&S SGU100A SOURce:LOSCillator subsystem Parameters: <Angle> float Range: -8 to 8 Increment: 0.01 *RST: Default unit: DEG Example: Chapter 13.1.2, "Generating an I/Q Modulated Signal", on page 165. Manual operation: "Quadrature Offset" on page 100 [: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.
  • Page 197 ® Remote control commands R&S SGU100A SOURce:LOSCillator subsystem acts as a controller to the R&S SGU and depending on the required output signal parameters performs all required settings automatically. For example, if the signal generator is set to an output frequency of 15 GHz it passes this value on to the R&S SGU.
  • Page 198: Source:power Subsystem

    ® Remote control commands R&S SGU100A SOURce:POWer subsystem Return values: <Frequency> float Range: 1E+6 to 20E+9 Increment: 1E-3 *RST: 1E+9 Usage: Query only Manual operation: "Frequency" on page 103 [:SOURce]:LOSCillator:POWer? Queries the level of the local oscillator input signal. Chapter 13.14, "SOURce:LOSCillator subsystem", on page 196 for a description of the setting process.
  • Page 199: [:Source]:Power:alc:dsensitivity

    ® Remote control commands R&S SGU100A SOURce:POWer subsystem Parameters: <State> 1 | OFFTable | ONTable | ON *RST: ONTable Manual operation: "State" on page 95 [:SOURce]:POWer:ALC:DSENsitivity <Sensitivity> Sets the sensitivity of the power detector. Parameters: <Sensitivity> OFF | LOW | MED | HIGH *RST: [:SOURce]:POWer:ALC:SONCe Briefly activates automatic level control for correction purposes.
  • Page 200: [:Source]:Power:attenuation:rfoff:mode [:Source]:Power:attenuation:sover[:Offset] [:Source]:Power:lmode

    ® Remote control commands R&S SGU100A SOURce:POWer subsystem [:SOURce]:POWer:LMODe <LevMode> Selects the level mode. Parameters: <LevMode> NORMal | LNOise | LDIStortion NORMal automatic selection of the best settings LNOISe settings for lowest noise LDIStortion settings for lowest distortions *RST: n.a. (factory preset: NORMal) Example: Chapter 13.1.3, "Advanced Task for Optimizing Perfor- mance",...
  • Page 201: [: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[:LEVel][:IMMediate]:OFFSet <Offset> Specifies the constant level offset of a downstream attenuator/amplifier. If a level offset is entered, the level entered with no longer corresponds [:SOURce]:POWer:POWer to the RF output level. The following correlation applies: :POWer = RF output level + POWer:OFFSet.
  • Page 202: Source:pulm Subsystem

    ® Remote control commands R&S SGU100A SOURce:PULM subsystem Manual operation: "PEP" on page 72 [:SOURce]:POWer:POWer <Power> Sets the level at the RF output connector. This value does not consider a specified offset. The command [:SOURce]:POWer[: sets the level of the "Level" display, that means the LEVel][:IMMediate]:OFFSet level containing offset.
  • Page 203: Status Subsystem

    ® Remote control commands R&S SGU100A STATus subsystem Manual operation: "State" on page 101 [:SOURce<hw>]:PULM:POLarity <Polarity> Sets the polarity of the pulse modulator signal. This command is effective only for an external modulation signal. Parameters: <Polarity> NORMal | INVerted NORMal The RF signal is suppressed during the pulse pause.
  • Page 204: Status:operation:condition

    ® Remote control commands R&S SGU100A STATus subsystem :STATus:OPERation:CONDition? Quieries the content of the CONDition part of the STATus:OPERation register. This part contains information on the action currently being performed in the instru- ment. The content is not deleted after being read out because it indicates the current hardware status.
  • Page 205: Status:operation:ptransition

    ® Remote control commands R&S SGU100A STATus subsystem :STATus:OPERation:PTRansition <Ptransition> Sets the bits of the PTRansition part of the STATus:OPERation register. If a bit is set, a transition from 0 to 1 in the condition part causes an entry to be made in the EVENt part of the register.
  • Page 206: Status:questionable[:Event]

    ® Remote control commands R&S SGU100A STATus subsystem Example: STAT:QUES:ENAB 1 Problems when performing an adjustment cause an entry to be made in the sum bit. :STATus:QUEStionable[:EVENt] <Event> Queries the content of the EVENt part of the STATus:QUEStionable register. This part contains information on the actions performed in the instrument since the last readout.
  • Page 207: System Subsystem

    ® Remote control commands R&S SGU100A SYSTem subsystem Return values: <Next> string Example: :STATus:QUEue? queries the oldest entry in the error queue. Response: 0, 'no error' no errors have occurred since the error queue was last read out Usage: Query only 13.18 SYSTem subsystem The SYSTem subsystem contains a series of commands for general functions which do not directly affect signal generation.
  • Page 208: System:emode

    ® Remote control commands R&S SGU100A SYSTem subsystem ..................... 217 :SYSTem:SHUTdown ..................217 :SYSTem:PROTect<ch>[:STATe] ..................217 :SYSTem:STARtup:COMPlete? :SYSTem:EMODe <Mode> Enables and selects the eco mode. Parameters: <Mode> OFF | EM1 *RST: Example: Chapter 13.1.1, "Performing General Tasks for Instrument Setup", on page 163. :SYSTem:ERRor:ALL? Queries the error/event queue for all unread items and removes them from the queue.
  • Page 209: System:error:code[:Next]

    ® Remote control commands R&S SGU100A SYSTem subsystem Positive value Positive error numbers denote device-specific errors Negative value Negative error numbers denote error messages defined by SCPI. Example: SYST:ERR:CODE:ALL Queries all entries in the error queue. Response: 0 No errors have occurred since the error queue was last read out. Usage: Query only :SYSTem:ERRor:CODE[:NEXT]?
  • Page 210: System:error[:Next]

    ® Remote control commands R&S SGU100A SYSTem subsystem :SYSTem:ERRor[:NEXT]? Queries the error/event queue for the oldest item and removes it from the queue. Return values: <Next> string Error/event_number,"Error/event_description>[;Device-depend- ent info]" Error number and a short description of the error. If the queue is empty, the response is 0,"No error" Positive error numbers are instrument-dependent.
  • Page 211: System:version

    ® Remote control commands R&S SGU100A SYSTem subsystem 1|ON The R&S SGU is in standby state, the ready state is not active. *RST: Usage: Query only :SYSTem:VERSion? Queries the SCPI version the instrument's command set complies with. Return values: <Version> string Example: SYST:VERS...
  • Page 212: System:communicate:network:restart

    ® Remote control commands R&S SGU100A SYSTem subsystem Example: SYST:COMM:NETW:MAC queries the MAC address. :SYSTem:COMMunicate:NETWork:RESTart Restarts the network connection to the instrument, terminates the connection and sets it up again. Example: SYSTem:COMMunicate:NETWork:RESTart Usage: Event :SYSTem:COMMunicate:NETWork:STATus? Queries the network configuration state. Return values: <State>...
  • Page 213: System:communicate:network[:Ipaddress]:Subnet:mask

    ® Remote control commands R&S SGU100A SYSTem subsystem :SYSTem:COMMunicate:NETWork[:IPADdress]:SUBNet:MASK <Mask> Sets the subnet mask. Parameters: <Mask> string Example: SYSTem:COMMunicate:NETWork:IPADdress:SUBNet: MASK '255.255.0.0' determines the subnet mask. Manual operation: "Subnet Mask" on page 115 :SYSTem:COMMunicate:NETWork:RESource? Queries the VISA resource string, used for remote control of the instrument with VXI-11 protocol.
  • Page 214: System:communicate:socket:port

    ® Remote control commands R&S SGU100A SYSTem subsystem :SYSTem:COMMunicate:SOCKet:PORT <ScpiEthPort> Sets the port number for remote control via socket communication. Parameters: <ScpiEthPort> integer Range: 1000 to 65535 *RST: n.a. (factory preset: 5025) Example: SYSTem:COMMunicate:SOCKet:PORT 5030 // specifies the socket port number. Manual operation: "SCPI Port"...
  • Page 215: System:communicate:serial:parity

    ® Remote control commands R&S SGU100A SYSTem subsystem :SYSTem:COMMunicate:SERial:PARity <Parity> Sets the parity for the serial remote control interface. Parameters: <Parity> NONE | ODD | EVEN *RST: n.a. (factory preset: NONE) Example: SYST:COMM:SER:PAR NONE Selects parity NONE. :SYSTem:COMMunicate:SERial:SBITs <SBits> Sets the number of stop bits for the serial remote control interface. Parameters: <SBits>...
  • Page 216: System:mmemory:path:user

    ® Remote control commands R&S SGU100A SYSTem subsystem :SYSTem:MMEMory:PATH:USER? Queries the user directory, that means the directory the instrument stores user files on. Return values: <PathUser> string Example: SYSTem:MMEMory:PATH:USER? Response: "/var/user/"' Usage: Query only :SYSTem:NINFormation? Queries the oldest information message ("Error History > Level > Info") in the error/ event queue.
  • Page 217: 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 218 ® 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 176. In the given example, replace the :CALibration:xxx:STARt SCPI command with :TEST:ALL:STARt and :CALibration:xxx:RESult with :TEST:ALL:RESult.
  • Page 219: Unit Subsystem

    ® Remote control commands R&S SGU100A List of R&S SGU commands 13.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. :UNIT:ANGLe <Angle>...
  • Page 220 ® Remote control commands R&S SGU100A List of R&S SGU commands :LOCK?................................173 :MEMory:HFRee?............................189 :MMEMory:CATalog:LENGth?........................186 :MMEMory:CATalog?............................. 186 :MMEMory:CDIRectory..........................187 :MMEMory:COPY............................187 :MMEMory:DATA............................188 :MMEMory:DCATalog:LENGth?........................189 :MMEMory:DCATalog?...........................188 :MMEMory:DELete............................189 :MMEMory:LOAD:STATe..........................189 :MMEMory:MDIRectory..........................190 :MMEMory:MOVE............................190 :MMEMory:MSIS............................190 :MMEMory:RDIRectory..........................191 :MMEMory:STORe:STATe..........................191 :OUTPut:AFIXed:RANGe:LOWer?........................ 192 :OUTPut:AFIXed:RANGe:UPPer?.........................
  • Page 221 ® Remote control commands R&S SGU100A List of R&S SGU commands :SYSTem:COMMunicate:SERial:RESource?....................214 :SYSTem:COMMunicate:SERial:SBITs......................215 :SYSTem:COMMunicate:SOCKet:PORT.......................214 :SYSTem:COMMunicate:SOCKet:RESource?....................214 :SYSTem:COMMunicate:USB:RESource?....................215 :SYSTem:EMODe............................208 :SYSTem:ERRor:ALL?...........................208 :SYSTem:ERRor:CODE:ALL?........................208 :SYSTem:ERRor:CODE[:NEXT]?........................209 :SYSTem:ERRor:COUNt?..........................209 :SYSTem:ERRor[:NEXT]?..........................210 :SYSTem:FPReset............................175 :SYSTem:HARDware:ASSembly<dir>:SNUMber?..................215 :SYSTem:MMEMory:PATH:USER?....................... 216 :SYSTem:NINFormation?..........................216 :SYSTem:OSYStem?.............................216 :SYSTem:PRESet............................174 :SYSTem:PROTect<ch>[:STATe]........................217 :SYSTem:REBoot............................216 :SYSTem:RESTart............................216 :SYSTem:SERRor?............................210 :SYSTem:SHUTdown.............................217 :SYSTem:STANdby:STATe?...........................210...
  • Page 222 ® Remote control commands R&S SGU100A List of R&S SGU commands [:SOURce]:POWer:RANGe:LOWer?......................202 [:SOURce]:POWer:RANGe:UPPer?......................202 [:SOURce]:POWer:SCHaracteristic....................... 200 [:SOURce]:POWer[:LEVel][:IMMediate]:OFFSet................... 201 [:SOURce]:POWer[:LEVel][:IMMediate][:AMPLitude]..................200 [:SOURce]:SETTings:APPLy[:IMMediate]..................... 193 [:SOURce]:TRAits:COUNt?........................... 194 [:SOURce]:TRAits<ch>..........................194 [:SOURce<hw>]:PULM:POLarity........................203 [:SOURce<hw>]:PULM:STATe........................202 *CLS................................169 *ESE................................169 *ESR?................................170 *IDN?................................170 *IST?................................170 *OPC................................170 *OPT?................................171 *PRE................................
  • Page 223: Error Messages And Troubleshooting

    ® Error messages and troubleshooting R&S SGU100A Error messages 14 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 224: 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 225 ® 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 226: Contacting Customer Support

    ® Error messages and troubleshooting R&S SGU100A Contacting customer support 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 227: Transporting

    ® Transporting R&S SGU100A 15 Transporting Lifting and carrying See: ● "Lifting and carrying the product" on page 11 ● Chapter 3.1, "Lifting and carrying", on page 19. Packing Use the original packaging material. It consists of antistatic wrap for electrostatic pro- tection and packing material designed for the product.
  • Page 228: Maintenance, Storage And Disposal

    ® Maintenance, storage and disposal R&S SGU100A Disposal 16 Maintenance, storage and disposal The product does not require regular maintenance. It only requires occasional clean- ing. It is however advisable to check the nominal data from time to time. 16.1 Cleaning How to clean the product is described in "Cleaning the product"...
  • Page 229 ® Telnet program examples R&S SGU100A Annex A 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 230 ® Telnet program examples R&S SGU100A public: TcpClient(); ~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;...
  • Page 231 ® Telnet program examples R&S SGU100A currentHostName = hostname; currentPort = port; currentSocketDescr = socket(AF_INET, SOCK_STREAM, 0); 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 );...
  • Page 232 ® Telnet program examples R&S SGU100A if( !clientIsConnected ) 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 233 ® Telnet program examples R&S SGU100A useSingleCommand = true; singleCommand = argv[2]; case 2: 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 );...
  • Page 234 ® Telnet program examples R&S SGU100A client.disconnect( ); return errorCode; User Manual 1176.7726.02 ─ 10...
  • Page 235 ® Index R&S SGU100A Index Symbols Scan ................62 Scan subnet ..............63 /var directory ..............183 Confirm external LO settings ........... 103 180 - Adjustment failed ........... 225 Confirm password ............112 182 - Adjustment data missing ........225 Connecting 183 - Adjustment data invalid ..........
  • Page 236 ® Index R&S SGU100A Cannot write file (461) ..........225 Help ................... 16 Driver initialization failed (204) ........225 HiSLIP ................129 Driver invalid EEPROM data (203) ......225 Protocol ..............134 File cannot find directory (468) ......... 226 Resource string ............133 File contains invalid data (465) .........
  • Page 237 ® Index R&S SGU100A Message ................68 Additional information ..........80 All messages .............. 80 ID ................37 Brief ................80 LAN ................36 Deleting ............... 80 POWER ON/STANDBY ..........35 Deleting all ..............80 RF ON ................. 35 Deleting brief ............... 80 Displaying ..............
  • Page 238 ® Index R&S SGU100A Polarity Security Pulse modulation ............101 USB device (setup) ........... 113 Power USB storage (setup) ..........113 Connecting the instrument .......... 22 Security password ............113 POWER ON/STANDBY Security settings Key ................35 Accept ............... 113 PPE ................. 148 Change password ..........
  • Page 239 ® Index R&S SGU100A Trigger Connector ..............38 Event (remote) ............172 Trigger connector mode .......... 102, 103 Unpacking the instrument ..........19 Update package Error ................127 Updating R&S SGMA-GUI ..........28 Upgrading software Version 5.00.vvv.vv and later ........29 Connecting ..............

Table of Contents