How to use Rohde & Schwarz Instruments in MATLAB Application Note

Similar documents
LabWindows/CVI, VXIpnp driver history for the R&S Directional Power Sensors

LabVIEW driver history for the R&S RTH Handheld Digital Oscilloscope Driver Documentation

How to use the Rohde & Schwarz LabVIEW Instrument Drivers Driver Documentation

History for R&S Spectrum Analyzer IVI-COM Driver. Driver Documentation

LabVIEW driver history for the R&S HMP Power Supplies Family

LabWindows/CVI, VXIpnp driver history for the R&S Vector Network Analyzers Driver Documentation

LabWindows/CVI, VXIpnp driver history for the R&S SFU Broadcast Test System Driver Documentation

Multi-port calibration by using a two port calibration unit. Application Note. Products: R&S ZVT R&S ZNB

R&S FSV-K40 Phase Noise Measurement Application Specifications

R&S ELEKTRA EMI Test Software Easy to use software for measuring electromagnetic disturbances

LabWindows/CVI, VXIpnp driver history for the R&S SGMA Vector RF Source

R&S FSW Signal and Spectrum Analyzer Resolving Security Issues When Working in Secure Areas

Iterative Direct DPD White Paper

Configuring the R&S BTC for ATSC 3.0 Application Note

LabWindows/CVI, VXIpnp and LabVIEW driver history for the R&S Power Sensors Driver Documentation

Pre-5G-NR Signal Generation and Analysis Application Note

LabWindows/CVI, VXIpnp driver history for the R&S Spectrum Analyzers Driver Documentation

R&S FSV-K8 Bluetooth /EDR Measurement Application Specifications

R&S ZNrun Automated Test Software PC-based server platform for automated VNA tests

Dynamic re-referencing Microvolt-level measurements with the R&S RTO oscilloscopes

Mastering Phase Noise Measurements (Part 3)

R&S GX465 Digital Wideband Storage Device Recording and replaying of I/Q data with up to 80 MHz bandwidth

R&S ZN-Z154 Calibration Unit Specifications

R&S FSW-K54 EMI Measurement Application Detecting and eliminating electromagnetic

R&S FSV-K73 3G FDD UE (UL) Measurements incl. HSUPA Specifications

Test Port Adapter Rohde & Schwarz Interchangeable Port Connector Application Note

Concise NFC Demo Guide using R&S Test Equipment Application Note

R&S CONTEST ITS Test cases and applications

Scope of the art Scope Rider Handheld digital oscilloscope

R&S SMBV-Z1 Reference Frequency Converter Specifications

R&S GX460 Digital Wideband Storage Device Recording and replaying device for I/Q data with up to 40 MHz bandwidth

Oscilloscopes for debugging automotive Ethernet networks

R&S FPS-K18 Amplifier Measurements Specifications

Advanced Techniques for Spurious Measurements with R&S FSW-K50 White Paper

Analyze Frequency Response (Bode Plots) with R&S Oscilloscopes Application Note

R&S FSW-K144 5G NR Measurement Application Specifications

R&S CA210 Signal Analysis Software Offline analysis of recorded signals and wideband signal scenarios

R&S HA-Z24E External Preamplifier 1 GHz to 85 GHz Specifications

R&S SFD DOCSIS Signal Generator Signal generator for DOCSIS 3.1 downstream and upstream

RF amplifier testing from wafer to design-in

R&S InstrumentView Release Notes Software Version 1.70

R&S NESTOR-FOR Alibi Verification

R&S FSV-K76 TD-SCDMA BS (DL) Measurements Specifications

R&S ZN-Z103 Calibration Unit Specifications. Data Sheet V02.01

Using the Forum Application for Remote Control Application Note. Forum is a free scripting tool for remote control of Rohde & Schwarz instruments.

R&S ZN-ZTW Torque Wrench Specifications

R&S TS-PMB Switch Matrix Module High-density, 90-channel, full matrix relay multiplexer module

This application note is a simple step-by-step guide that introduces a practical method to perform reliable small cell planning.

R&S FS-Z60/75/90/110 Harmonic Mixers for the R&S FSP/FSU/ FSQ/FSUP/FSV

R&S Spectrum Rider FPH Handheld spectrum analyzer

<EDGE Looped based BER and TX measurements using ARB files on the R&S CMW 500> Products: R&S CMW500 R&S CMW- KW200 R&S CMW- KM200. <Application Note>

Using R&S NRP Series Power Sensors with Android TM Handheld Devices. Application Note. Products: R&S NRP Series. R&S NRP-Zxx Series

R&S PSL3 Industrial Controller The powerful industrial controller

Your partner in testing the Internet of Things

Correlated Receiver Diversity Simulations with R&S SFU

R&S NESTOR-FOR Crime Scene Investigation

Product Brochure Version HZ-15_16_17_bro_en_ _v0100.indd 1

R&S FSW-K76/-K77 3GPP TD-SCDMA BS/UE Measurement Applications Specifications

R&S FSW-K160RE 160 MHz Real-Time Measurement Application Specifications

Versatile RF Fading Simulator With R&S FSQ/FSG/FSV and R&S SMU Application Note

R&S VSE Vector Signal Explorer Base Software Specifications

R&S FSW-B512R Real-Time Spectrum Analyzer 512 MHz Specifications

R&S ZV-Z81 Multiport Test Set, models.05/.09/.29 Specifications

Test and Communications Antennas for the R&S TS8991 OTA Performance Test System Specifications

R&S ZN-Z85 Switch Matrix Specifications

EUTRA/LTE Downlink Specifications

R&S HF907DC SHF Downconverter Specifications

R&S WMS32 Wireless Measurement System Software Specifications

R&S TS-ISC In-System Calibration Kit On-site calibration solution for R&S CompactTSVP

R&S VSE Vector Signal Explorer Base Software Specifications

<WCDMA Inner Loop Power Control tests, test pattern E&F,G&H using ARB files on the R&S CMW 500>

Troubleshooting EMI in Embedded Designs White Paper

Test and measurement solutions for electronics manufacturers

EUTRA/LTE and LTE-Advanced Signal Analysis Transmitter measurements on LTE signals

R&S TS-BCAST DVB-H IP Packet Inserter Compact DVB H signal generator with integrated IP packet inserter

R&S CMW500 Digital IQ with CADENCE Emulator Application Note

R&S RT-ZM Modular Probe System

R&S RSC Step Attenuator Where precise signal levels count

Product Brochure Version R&S RSC Step Attenuator Where precise signal levels count

R&S ZN-Z151/-Z152/-Z153 Calibration Unit Specifications

Test and Communications Antennas for the R&S TS8991 OTA Performance Test System Specifications

Fast. Accurate. USB-capable. Power sensors from Rohde & Schwarz

R&S VENICE On air. 24/7.

R&S ZVA-Zxx Millimeter-Wave Converters Specifications

R&S ADMC8 Multicoupler Active UHF multicoupler for 8-port ATC signal distribution

LTE Bitstream Verification. Application Note. Products: R&S SMW200A R&S SMU200A R&S SMx-K55 R&S SMx-K81 R&S FS-K10xPC R&S FSW R&S FSQ R&S FSV R&S FPS

Product Brochure Version R&S TSML-CW Radio Network Analyzer Powerful scanner for CW applications

Fast. Accurate. USB-capable. Power sensors from Rohde & Schwarz

R&S MDS-21 Absorbing Clamp Measurement of disturbance power and screening effectiveness on cables

Product Brochure Version R&S ENV A Four-Line V-Network RFI voltage measurements at high currents

Product Brochure Version R&S OSP Open Switch and Control Platform Modular solution for RF switch and control tasks

R&S RT-Zxx Standard Probes Specifications

LabVIEW driver history for the R&S Microwave Signal Generator

R&S FSQ-K91/K91n/K91ac WLAN a/b/g/j/n/ac Application Firmware Specifications

R&S ZVA-Zxx Millimeter-Wave Converters Specifications

Product Brochure Version R&S OSP Open Switch and Control Platform Modular solution for RF switch and control tasks

R&S ETH Handheld TV Analyzer Portable DVB-T/H signal analysis up to 3.6/8 GHz

R&S EFL110/EFL210 Cable TV Analyzer and Leakage Detector Detecting interference in cable TV and LTE networks

R&S ZN-Z32/-Z33 Automatic In-line Calibration Modules Ensuring high accuracy with thermal vacuum testing and multiport measurements

Five Reasons to Upgrade from Legacy VNAs to a R&S ZNB Vector Network Analyzer

Transcription:

How to use Rohde & Schwarz Instruments in MATLAB Application Note This application note outlines two different approaches for remote-controlling Rohde & Schwarz instruments out of MathWorks MATLAB: The first one uses VISA connection and direct SCPI commands. The second approach takes advantage of Rohde & Schwarz VXI plug&play instrument drivers and MATLAB Instrument Control Toolbox. MATLAB is a registered trademark of the The MathWorks, Inc. MATLAB Instrument Control Toolbox is a trademark of the The MathWorks, Inc. R&S is a registered trademark of Rohde & Schwarz GmbH & Co. KG. Microsoft and Windows are U.S. registered trademarks of the Microsoft Corporation. Note: Please find the most up-to-date Application Note on our homepage: www.rohde-schwarz.com/appnote/1ma171 R&S Instruments in MATLAB 1MA171_12e Miloslav Macko Application Note

Contents Contents 1 Introduction... 3 2 Direct SCPI Commands Communication...4 3 Using VXI plug&play Instrument Drivers...8 4 Rohde & Schwarz...15 2

Introduction Using VXI plug&play Instrument Drivers 1 Introduction MATLAB has become widely used platform among students, engineers and developers. When users wish to remote-control measurement instruments from MATLAB, they have several options to choose from. This application note presents two of them. 1.1 VISA Connection and Direct SCPI Commands We recommend this option for most of the users. It is simple and besides VISA it does not require any additional software component. Attached to this application note, is a MATLAB class VISA_Instrument that presents VISA interface for MATLAB script language. Practical examples with the VISA_Instrument are part of the attachment. Advantages: Simplicity. VISA session is closed properly even if MATLAB script is interrupted; this is helpful if an instrument can only handle one VISA session at a time. Most of the commonly used operations are provided by the attached MATLAB class VISA_Instrument. This class is open for further extensions. Error handling is performed in the form of exceptions. Included, are ready-to-use examples for R&S FSW / FSV / RTO / RTE / RTB Disadvantages: You need to get familiar with the instrument's SCPI language. Parsing of more complex instrument responses needs to be done in the user code. 1.2 Using VXI plug&play Instrument Drivers This alternative route takes advantage of Rohde & Schwarz VXI plug&play instrument drivers and requires MATLAB Instrument Control Toolbox to be available. Advantages: Error handling is already performed by the instrument driver. Instrument drivers take care of proper measurement synchronization. Instruments driver come with help file for all functions and attributes. More complex instrument responses are already parsed by instrument drivers. Disadvantages: Slightly longer learning curve. Longer initialization of the driver session due to additional time needed to parse the MATLAB driver file. More difficult to build executables, since the code uses external dll libraries. 3

Direct SCPI Commands Communication 2 Direct SCPI Commands Communication Referenced files - all packed into MATLAB_directSCPI_Examples.zip: VISA_Instrument.m MATLAB_directSCPI_Hello_World.m MATLAB_directSCPI_Specan_Example.m MATLAB_directSCPI_Scope_Example.m MATLAB_directSCPI_RTB_Example.m Required software. The actual software used to prepare this document is mentioned in the round brackets: MATLAB 2013 or later (2016a) Windows XP / VISTA / Win 7 (Win 7 64-bit) NI VISA I/O library 15.0 or late (NI VISA 16.0) If you are new to the topic of remote-control, we recommend reading this small tutorial: R&S Instrument Drivers and Remote Control Communication with an instrument over VISA is of a synchronous message-based type. That means, the instrument never responds unless the controller (your computer) requires it to do so. The request is formed into a string called SCPI command (short for Simple Commands for Programmable Instruments), and the instrument reacts in two different ways: processing it, but returning no response. An example of such command is '*RST' (returning your instrument to a defined state). processing it and returning a response. Such command contains question mark and often is more specifically called query. An example of a query is '*IDN?' (asking for the instrument identification string). After sending this query, you must read the response from the instrument. Some SCPI commands exist both as commands and queries. An example would be Spectrum Analyzer center frequency. You can set the center frequency with the SCPI command 'FREQ:CENT 100MHz', and also ask for it with the query 'FREQ:CENT?' However, for example, the '*RST' command exists only as command, the query form '*RST?' is not valid. In contrast, the command '*IDN?' exists only as query. The form '*IDN' is invalid. 4

Direct SCPI Commands Communication Most common mistakes with SCPI commands and queries are: Sending a command (not a query) and trying to read a response from the instrument. This results in your program waiting until the VISA timeout occurs, since the instrument has nothing to respond to. Sending a query and not reading the response from the instrument. This causes problem with the next query, when the instrument will report the error Query Interrupted. It means, you did not read the previous response before you sent a new query. To avoid both of these problems, always use the Write() methods for commands and Query...() methods for queries - see the description of the VISA_Instrument class below. The '*RST' command and the '*IDN?' query are standard commands supported by every SCPI-conform instrument. To get the information about valid SCPI commands for your instrument, refer to the Remote Control portion of its user manual. User manual also describes whether the command is available as a command, query, or both. To follow next steps, extract the content of the MATLAB_directSCPI_Examples.zip into your MATLAB working directory. All the examples from the ZIP file show the usage of the VISA_Instrument object. The are written according to the description in the abovementioned remote-control tutorial, especially the chapters on Measurement Synchronization and Instrument Error Checking. The file VISA_Instrument.m is a MATLAB class wrapping up.net component called Ivi.Visa. It offers convenient way of communicating with your instrument and also parsing common type of responses to MATLAB-native variables. A small script below (also available as MATLAB_directSCPI_Hello_World.m) shows how simple is it to open a VISA instrument connection, reset the instrument, query identification string, and close the connection: myspecan = VISA_Instrument( 'TCPIP::192.168.2.100::INSTR' ); myspecan.write('*rst'); idnresponse = myspecan.querystring('*idn?'); msgbox(sprintf('hello, I am\n%s', idnresponse)); myspecan.close(); Most commonly used operations with examples are shown in the table below. To invoke the full help of VISA_Instrument, type the following into your MATLAB Command Window (without sharp brackets): >> help VISA_Instrument and use the provided link: Reference page for VISA_Instrument 5

Direct SCPI Commands Communication Most commonly used VISA_Instrument CLASS methods and properties VISA_Instrument() constructor that opens the connection to the instrument myspecan = VISA_Instrument('TCPIP::192.168.1.100::INSTR') Close() closes the connection to the instrument myspecan.close() Write() writes a command to the instrument Examples: myspecan.write('*rst') myspecan.write('frequency:center %0.1f', frequency) AddLFtoWriteEnd property. Adding LINEFEED (0x0A or '\n') to a string in MATLAB is inconvenient. Some instruments require LINEFEED character at the end of each command. Setting the property AddLFtoWriteEnd to true automatically adds LINEFEED to every command being sent to the instrument. Default value: false myspecan.addlftowriteend = true myspecan.write('*rst') - the actual string sent is '*RST\n' ReadString() reads a response from the instrument and returns it as MATLAB string. This method must be preceded by the Write() method sending a query: myspecan.write('*idn?') idnresponse = myspecan.readstring() QueryString() combines Write() and ReadString() into one method Examples: idnresponse = myspecan.querystring('*idn?') limitlinename = myspecan.querystring('calc:lim%d:name?', limitline) QueryLongString() use this method instead of the QueryString() if you expect a response longer than 4096 bytes. Examples: idnresponse = myspecan.querylongstring('*opt?') catalog = myspecan.querylongstring('display:window%d:catalog?', window) QueryBoolean(), QueryInteger(), QueryDouble() query the instrument and convert responses to MATLAB boolean, integer and double values Examples: output = myspecan.queryboolean('output1?') output = myspecan.queryboolean('output%d?', output) assignedtrace = myspecan.queryinteger('calc:mark1:trac?') assignedtrace = myspecan.queryinteger('calc:mark%d:trac?', marker) markeramplitude = myspecan.querydouble('calc:mark1:y?') markeramplitude = myspecan.querydouble('calc:mark%d:y?', marker) 6

Direct SCPI Commands Communication Most commonly used VISA_Instrument CLASS methods and properties More advanced methods QueryBinaryFloatData() querying binary-formatted traces or waveforms from instruments trace = myspecan.querybinaryfloatdata('form REAL,32;:TRAC? TRACE1') ReadBinaryDataToFile() reads an instrument binary response and stores it to a PC file. This can be used, e.g., to transfer a screenshot file from the instrument to the PC. This method must be preceded by the Write() method sending a query myspecan.write('mmem:data? ''c:\instrument\device_screenshot.png''') myspecan.readbinarydatatofile('c:\pc_screenshot.png') QueryASCII_ListOfDoubles() queries the comma-separated list of numbers and returns them as double array. You have to define the maximum expected array size trace = myspecan.queryascii_listofdoubles('form ASC;:TRAC? TRACE1', 100000) ErrorChecking() throws an exception if the instrument reports an error. The procedure for checking instrument error is described in the remote-control tutorial mentioned above, chapter Instrument Error Checking. If you do not want to throw the error exception, just to check for instrument errors, call the ReadErrorQueue() myspecan.errorchecking() Open the attached example file for the R&S FSW / FSV / FPS: MATLAB_directSCPI_Specan_Example.m The example is commented in detail to show proper initialization, settings, acquisition of a trace, retrieving trace results, marker results and a screenshot file. Included is proper instrument error checking and measurement synchronization. Always use single acquisition mode with Spectrum Analyzers, Network Analyzers, Oscilloscopes, Communication Testers, Power Meters, Audio Analyzers and so on. Being in continuous mode never guarantees proper measurement synchronization. Switching Spectrum Analyzers to single acquisition mode is achieved by sending the SCPI command INIT:CONT OFF For oscilloscopes, use the SCPI command SING to start a single waveform acquisition. 7

Using VXI plug&play Instrument Drivers Installing VXIplug&play Instrument Drivers 3 Using VXI plug&play Instrument Drivers Referenced files - all packed into MATLAB_ICT_rsspecan_Examples.zip: MATLAB_ICT_rsspecan_OpenClose.m MATLAB_ICT_rsspecan_Open_SetGet_Close.m MATLAB_ICT_rsspecan_Complex_Example.m Required software. The actual software used to prepare this document is mentioned in the round brackets: MATLAB 2013 or later (2016a) MATLAB Instrument Control Toolbox, further referred to as ICT Windows XP / VISTA / Win 7 (Win 7 64-bit) NI VISA I/O library 15.0 or later (NI VISA 16.0) Rohde & Schwarz VXIplug&play instrument driver (rsspecan VXIplug&play driver 64 bit 3.8.0) for 64-bit MATLAB: Supported compiler. See the list of Supported compilers (Microsoft Visual C++ 2015 Professional) 3.1 Installing VXIplug&play Instrument Drivers Rohde & Schwarz VXI plug&play instrument drivers are available in the Drivers download area on our website: Rohde & Schwarz driver search After installing your instrument driver, the ICT gives you the option to verify the installation. After the successful installation of rsspecan instrument driver, use the following command: >> instrhwinfo ('vxipnp', 'rsspecan') ans = HardwareInfo with properties: Manufacturer: 'Rohde & Schwarz GmbH' Model: 'Rohde&Schwarz Spectrum Analyzer' DriverVersion: '1.0' DriverDllName: 'C:\Program Files\IVI Foundation\VISA\Win64\bin\rsspecan_64.dll' Access to your hardware may be provided by a support package. Go to the Support Package Installer to learn more. 8

Using VXI plug&play Instrument Drivers MATLAB MDD Drivers The type of VXI plug&play instrument driver always has to match the type of MATLAB, not the type of your operating system. That means: For MATLAB 64-bit, only 64-bit VXI plug&play instrument drivers can be used. For MATLAB 32-bit, only 32-bit VXI plug&play instrument drivers can be used, even on 64-bit operating system. 3.2 MATLAB MDD Drivers As a part of Rohde & Schwarz VXI plug&play instrument drivers provides MATLAB MDD drivers (single file with mdd extension). For example, rsspecan.mdd file can be found in the driver's directory: 32-bit VXI plug&play instrument driver base path: c:\program Files (x86)\ivi Foundation\VISA\WinNT\rsspecan 64-bit VXI plug&play instrument driver base path: c:\program Files\IVI Foundation\VISA\Win64\rsspecan MATLAB MDD drivers are XML files providing an interface between VXI plug&play instrument driver and MATLAB scripting language. Rohde & Schwarz VXI plug&play instrument drivers are attribute-based, i.e. you can access instrument's capabilities either with Functions or Attributes (in MATLAB called Properties). They are described in the help file rsspecan_vxi.chm located in the same folder as the rsspecan.mdd file: Figure 3-1: Functions of the VXI plug&play instrument driver described in the *.chm file 9

Using VXI plug&play Instrument Drivers Opening and Closing Instrument Driver Session Figure 3-2: Attributes of the VXI plug&play instrument driver described in the *.chm file 3.3 Opening and Closing Instrument Driver Session Below is an example of MATLAB script opening a new rsspecan session, querying the instrument identification string and closing the session. This script is also available as MATLAB_ICT_rsspecan_OpenClose.m : % Create a device object and connect to the instrument specan = icdevice('rsspecan.mdd', 'TCPIP::192.168.1.100::INSTR'); connect(specan) % Query ID response idqueryresponse = zeros (1024, 1); [idqueryresponse] = invoke (specan, 'IDQueryResponse', 1024, idqueryresponse) % Disconnect device object from the instrument and delete the object. disconnect(specan); delete(specan); 10

Using VXI plug&play Instrument Drivers Calling Instrument Driver Functions 3.4 Calling Instrument Driver Functions All the code examples used in next chapters are summarized into the following file: MATLAB_ICT_rsspecan_Open_SetGet_Close.m Use the help file rsspecan_vxi.chm to find a function you want to call. Let us take, for example, setting of the Spectrum Analyzer center frequency. The function help also contains the MATLAB code snippet: Figure 3-3: VXI plug&play instrument driver functions help including MATLAB prototypes Copy and paste the part marked into your code and adjust the parameters. invoke(specan, 'ConfigureFrequencyCenter', 0, 110E6) 11

Using VXI plug&play Instrument Drivers Setting Property Value 3.5 Setting Property Value Use the help file rsspecan_vxi.chm to find a property you want to set. As an example, we use the same instrument parameter as in the previous chapter: center frequency. The property help also contains the MATLAB settings code snippet: Figure 3-4: VXI plug&play instrument driver properties help including MATLAB prototypes for setting and reading Copy and paste the part marked last two parameters: into your code, adjust the object name and the value_to_be_set : enter the desired frequency as double number. repeated_capability_string : non-mandatory string parameter. See the part marked Supported Repeated Capabilities for valid values. In our case, the attribute RSSPECAN_ATTR_FREQUENCY_CENTER has no repeated capabilities supported, therefore you can leave this parameter out. The chapter Repeated Capabilities describes this parameter in more details. invoke(specan, 'SetProperty', 'RSSPECAN_ATTR_FREQUENCY_CENTER', 110E6) 12

Using VXI plug&play Instrument Drivers Repeated Capabilities 3.6 Reading Property Value Copy and paste the part marked into your code and adjust the object name. repeated_capability_string : non-mandatory string parameter, same as for setting the property value. centerfrequency = invoke(specan, 'GetProperty', 'RSSPECAN_ATTR_FREQUENCY_CENTER') 3.7 Repeated Capabilities To briefly explain Repeated Capabilities, let us take the property RSSPECAN_ATTR_MARKER_ENABLED as an example: This property has boolean value of True or False (Marker State ON or OFF). However, you also need to communicate to the instrument which one of the sixteen markers (the area marked ) you want to enable. This information you enter as repeated_capability_string. If a property have more Repeated Capabilities defined, they are separated by commas without spaces. An example of such property is RSSPECAN_ATTR_TRACE_STATE. Figure 3-5: Marker property with defined Repeated Capabilities 13

Using VXI plug&play Instrument Drivers Property Identifier invoke(specan, 'SetProperty', 'RSSPECAN_ATTR_MARKER_ENABLED', 1, 'M1') invoke(specan, 'SetProperty', 'RSSPECAN_ATTR_TRACE_STATE', 1, 'Win1,TR1') 3.8 Property Identifier In the previous chapters when setting and reading properties, we used the following property identifier string for center frequency: RSSPECAN_ATTR_FREQUENCY_CENTER. However, there are two names and their variants you can use as well - see the texts marked in the help file screenshot below: Figure 3-6: Property Identifiers in the rsspecan help file All the invoke calls below achieve the same action, they only differ in Property ID: % Complete Property ID invoke(specan, 'SetProperty', 'RSSPECAN_ATTR_FREQUENCY_CENTER', 110E6) % Property ID without prefix invoke(specan, 'SetProperty', 'ATTR_FREQUENCY_CENTER', 110E6) % Property ID case Insensitive invoke(specan, 'SetProperty', 'RsSPeCAN_AttR_FrEQuENCy_CeNTeR', 110E6) % Descriptive name invoke(specan, 'SetProperty', 'Center Frequency', 110E6) % Descriptive name with underscores invoke(specan, 'SetProperty', 'Center_Frequency', 110E6) % Descriptive name case insensitive invoke(specan, 'SetProperty', 'CeNtEr FrEqUeNcY', 110E6) 14

Rohde & Schwarz 4 Rohde & Schwarz Rohde & Schwarz is an independent group of companies specializing in electronics. It is a leading supplier of solutions in the fields of test and measurement, broadcasting, radiomonitoring and radiolocation, as well as secure communications. Established more than 80 years ago, Rohde & Schwarz has a global presence and a dedicated service network in over 70 countries. Company headquarters are in Munich, Germany. Sustainable product design Environmental compatibility and eco-footprint Energy efficiency and low emissions Longevity and optimized total cost of ownership Certified Quality Management ISO 9001 Certified Environmental Management ISO 14001 Regional contact Europe, Africa, Middle East Phone +49 89 4129 12345 customersupport@rohde-schwarz.com North America Phone 1-888-TEST-RSA (1-888-837-8772) customer.support@rsa.rohde-schwarz.com Latin America Phone +1-410-910-7988 customersupport.la@rohde-schwarz.com Asia/Pacific Phone +65 65 13 04 88 customersupport.asia@rohde-schwarz.com China Phone +86-800-810-8228 / +86-400-650-5896 customersupport.china@rohde-schwarz.com Headquarters Rohde & Schwarz GmbH & Co. KG Mühldorfstraße 15 D - 81671 München + 49 89 4129-0 Fax + 49 89 4129 13777 www.rohde-schwarz.com This application note and the supplied programs may only be used subject to the conditions of use set forth in the download area of the Rohde & Schwarz website. R&S is a registered trademark of Rohde & Schwarz GmbH & Co. KG. Trade names are trademarks of the owners. 15