Rohde & Schwarz TSMW-K1 User Manual

Rohde & Schwarz TSMW-K1 User Manual

Programming interface
Table of Contents

Advertisement

Quick Links

®
R&S
TSMW-K1
Programming Interface
User Manual
1503.3776.32 – 08

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TSMW-K1 and is the answer not in the manual?

Questions and answers

Summary of Contents for Rohde & Schwarz TSMW-K1

  • Page 1 ® R&S TSMW-K1 Programming Interface User Manual 1503.3776.32 – 08...
  • Page 2 ® The user manual describes programming interface for the R&S TSMW option: ● TSMW-K1 – Digital I/Q SW Option (1503.3960.02) ® R&S © 2017 Rohde & Schwarz GmbH & Co. KG 81671 Munich, Germany Printed in Germany – Subject to change – Data without tolerance limits is not binding.
  • Page 3 Basic Safety Instructions Always read through and comply with the following safety instructions! All plants and locations of the Rohde & Schwarz group of companies make every effort to keep the safety standards of our products up to date and to offer our customers the highest possible degree of safety. Our products and the auxiliary equipment they require are designed, built and tested in accordance with the safety standards that apply in each case.
  • Page 4 Basic Safety Instructions Symbol Meaning Symbol Meaning Caution ! Hot surface Alternating current (AC) Protective conductor terminal Direct/alternating current (DC/AC) To identify any terminal which is intended for connection to an external conductor for protection against electric shock in case of a fault, or the terminal of a protective earth Earth (Ground) Class II Equipment...
  • Page 5 Basic Safety Instructions Operating states and operating positions The product may be operated only under the operating conditions and in the positions specified by the manufacturer, without the product's ventilation being obstructed. If the manufacturer's specifications are not observed, this can result in electric shock, fire and/or serious personal injury or death. Applicable local or national safety regulations and rules for the prevention of accidents must be observed in all work performed.
  • Page 6 Basic Safety Instructions 6. The product may be operated only from TN/TT supply networks fuse-protected with max. 16 A (higher fuse only after consulting with the Rohde & Schwarz group of companies). 7. Do not insert the plug into sockets that are dusty or dirty. Insert the plug firmly and all the way into the socket provided for this purpose.
  • Page 7 Basic Safety Instructions 2. Before you move or transport the product, read and observe the section titled "Transport". 3. As with all industrially manufactured goods, the use of substances that induce an allergic reaction (allergens) such as nickel cannot be generally excluded. If you develop an allergic reaction (such as a skin rash, frequent sneezing, red eyes or respiratory difficulties) when using a Rohde &...
  • Page 8 Basic Safety Instructions 2. Adjustments, replacement of parts, maintenance and repair may be performed only by electrical experts authorized by Rohde & Schwarz. Only original parts may be used for replacing parts relevant to safety (e.g. power switches, power transformers, fuses). A safety test must always be performed after parts relevant to safety have been replaced (visual inspection, protective conductor test, insulation resistance measurement, leakage current measurement, functional test).
  • Page 9 Instrucciones de seguridad elementales 3. If you use the product in a vehicle, it is the sole responsibility of the driver to drive the vehicle safely and properly. The manufacturer assumes no responsibility for accidents or collisions. Never use the product in a moving vehicle if doing so could distract the driver of the vehicle.
  • Page 10 Instrucciones de seguridad elementales Además queda en la responsabilidad del usuario utilizar el producto en la forma debida. Este producto está destinado exclusivamente al uso en la industria y el laboratorio o, si ha sido expresamente autorizado, para aplicaciones de campo y de ninguna manera deberá ser utilizado de modo que alguna persona/cosa pueda sufrir daño.
  • Page 11 Instrucciones de seguridad elementales Símbolo Significado Símbolo Significado Conexión a tierra El aparato está protegido en su totalidad por un aislamiento doble (reforzado) Conexión a masa Distintivo de la UE para baterías y acumuladores Más información en la sección "Eliminación/protección del medio ambiente", punto 1.
  • Page 12 Instrucciones de seguridad elementales Estados operativos y posiciones de funcionamiento El producto solamente debe ser utilizado según lo indicado por el fabricante respecto a los estados operativos y posiciones de funcionamiento sin que se obstruya la ventilación. Si no se siguen las indicaciones del fabricante, pueden producirse choques eléctricos, incendios y/o lesiones graves con posible consecuencia de muerte.
  • Page 13 Instrucciones de seguridad elementales integran productos sin interruptor en bastidores o instalaciones, se deberá colocar el interruptor en el nivel de la instalación. 5. No utilice nunca el producto si está dañado el cable de conexión a red. Compruebe regularmente el correcto estado de los cables de conexión a red.
  • Page 14 Instrucciones de seguridad elementales 17. No utilice el producto en condiciones en las que pueda producirse o ya se hayan producido condensaciones sobre el producto o en el interior de éste, como p. ej. al desplazarlo de un lugar frío a otro caliente.
  • Page 15 Instrucciones de seguridad elementales pueden causar perturbaciones radioeléctricas en entornos residenciales debido a posibles perturbaciones guiadas o radiadas. En este caso, se le podrá solicitar al operador que tome las medidas adecuadas para eliminar estas perturbaciones.  Aparato de clase B: Aparato adecuado para su uso en entornos residenciales, así...
  • Page 16 Instrucciones de seguridad elementales 8. En caso de devolver baterías de litio a las filiales de Rohde & Schwarz, debe cumplirse las normativas sobre los modos de transporte (IATA-DGR, código IMDG, ADR, RID). Transporte 1. El producto puede tener un peso elevado. Por eso es necesario desplazarlo o transportarlo con precaución y, si es necesario, usando un sistema de elevación adecuado (p.
  • Page 17 Customer Support Technical support – where and when you need it For quick, expert help with any Rohde & Schwarz equipment, contact one of our Customer Support Centers. A team of highly qualified engineers provides telephone support and will work with you to find a solution to your query on any aspect of the operation, programming or applications of Rohde &...
  • Page 18: Table Of Contents

    Example I/Q Streaming ....................10 2. Install ....................11 Installation of the R&S TSMW-K1 software ............. 11 Set the path in MATLAB to the R&S TSMW-K1 folder ..........13 3. Uninstall ..................... 14 4. R&S TSMW signal processing block diagram ........ 15 5.
  • Page 19 R&S TSMW-K1 Table of Contents GPS ..........................24 Digital IQ Interface .....................25 7. Structures ..................26 Structure: MeasCtrl....................27 7.1.1 MeasCtrl values for general measurement control ............28 7.1.2 MeasCtrl values for streaming control .................29 7.1.3 MeasCtrl values for capacity request for RF channels ..........30 7.1.4...
  • Page 20 R&S TSMW-K1 Table of Contents Perform a single measurement ................61 9.10 Record streaming measurement data ..............62 9.11 View streaming measurement data ................63 9.12 Export single data ......................63 9.13 Export streamed data....................64 9.14 Release the connection to the R&S TSMW IQ interface ........65 9.15...
  • Page 21 R&S TSMW-K1 Table of Contents B.23 TSMWGPSStartTcpServer ..................82 B.24 TSMWGPSStopServer ....................83 B.25 TSMWGPSSync ......................83 B.26 TSMWInitInterface .......................84 B.27 TSMWIQCloseStreamFile ...................84 B.28 TSMWIQDataAvailable ....................85 B.29 TSMWIQGetData ......................86 B.30 TSMWIQGetDataInt16 ....................88 B.31 TSMWIQGetDataInt32 ....................91 B.32 TSMWIQGetDataSingle ....................92 B.33 TSMWIQGetDataDouble .....................93 B.34 TSMWIQGetDataSingleIlv ...................94 B.35...
  • Page 22: Documentation Overview

    R&S TSMW-K1 Documentation Overview Documentation Overview This manual describes the R&S TSMW-K1 programming interfaces for R&S TSMW. For details about the R&S ViCom programming interface refer to the operating manual "R&S ViCom Description for R&S TSMx Receivers" (1505.1329.42). The R&S TSMW is a high-power platform for optimizing all conventional mobile radio networks.
  • Page 23: Conventions Used In The Documentation

    R&S TSMW-K1 Conventions Used in the Documentation Conventions Used in the Documentation The following conventions are used throughout the R&S TSMW-K1 User Manual: Typographical conventions Description Convention All names of graphical user interface elements both on the screen “Graphical user interface elements”...
  • Page 24: Introduction

    What's new 1. Introduction An integral part of the R&S TSMW is its R&S Digital I/Q SW Option (R&S TSMW-K1). The R&S TSMW-K1 option is a data interface application. It allows the R&S TSMW I/Q to be controlled for making data measurements (for later analysis) as well as to measure I/Q data and stream it over the R&S TSMW-B1 interface to another R&S...
  • Page 25 R&S TSMW-K1 Introduction What's new Figure 1-1: Impact of R&S TSMW-K1 for R&S TSMW Several MATLAB and C++ example scripts are available on CD-ROM and on installation folder <TSMW-K1 installation directory>\Examples. They demonstrate example implementations of R&S TSMW-K1 functionalities. User Manual 1503.3776.32 - 08...
  • Page 26: What's New

    R&S TSMW-K1 Introduction What's new 1.1 What's new 1.1.1 This release The new features in this version are: ● Digital I/Q Interface extended to support up to 8 time multiplexed channels ● Updated GUIs: Main window (TSMWIQInterfaceDemo) Streaming window (TSMWIQStreamingTool) ●...
  • Page 27: Additional Requirements For I/Q Streaming Over Lan

    R&S TSMW-K1 Introduction System Requirements 1.2.1 Additional Requirements for I/Q Streaming over LAN Use of the R&S TSMW feature "I/Q streaming" places additional requirements on the computer equipment used. The following items are essential: ● PCI-Express Gigabit Ethernet Adapter ●...
  • Page 28: Install

    Procedure: 1. Insert the R&S TSMW CD into the CD-ROM drive. The CD start menu opens automatically. 2. Select the menu item "Applications"-> "TSMW-K1 Installation". The "Setup Wizard" dialog starts immediately. Figure 2-1: Start dialog of the Setup Wizard 3. Click the “Next” button.
  • Page 29 Installation of the R&S TSMW-K1 software Figure 2-2: Choose Component window 5. Check the desired components to install: a. Check the “TSMW-K1“ component to install the R&S TSMW-K1 application. (Mandatory). b. Check the “Matlab Runtime” component if no full version of MATLAB R2007/R2008 is installed (optional).
  • Page 30: Set The Path In Matlab To The R&S Tsmw-K1 Folder

    R&S TSMW-K1 software with all tools and information about it. 2.2 Set the path in MATLAB to the R&S TSMW-K1 folder It is required to add the installation path of the R&S TSMW-K1 to the MATLAB environment in order to have access to the R&S TSMW-K1 MATLAB functions.
  • Page 31: Uninstall

    R&S TSMW-K1 Uninstall Set the path in MATLAB to the R&S TSMW-K1 folder 3. Uninstall The R&S TSMW-K1 application offers a wizard to guide you through the uninstall process of the software. Procedure: 1. Select <ver. no.> "Start"->"Programs"->"Rohde&Schwarz"->"TSMW-K1 <ver. no.>"->"Uninstall ".
  • Page 32: R&S Tsmw Signal Processing Block Diagram

    R&S TSMW-K1 R&S TSMW Signal Processing Block Diagram Set the path in MATLAB to the R&S TSMW-K1 folder 4. R&S TSMW Signal Processing Block Diagram Figure 4-1: R&S TSMW signal processing block diagram Control the frequency setting for frontend 1 and 2.
  • Page 33 R&S TSMW-K1 R&S TSMW Signal Processing Block Diagram Set the path in MATLAB to the R&S TSMW-K1 folder Numerical Control Oscillator. Controls the frequency shift for the 1 to 4 sub channels for frontend 1 and 2. The following FIR Resampling Bank will perform low pass filtering and fractional resampling for each sub channel using the user defined resampling filter.
  • Page 34 R&S TSMW-K1 R&S TSMW Signal Processing Block Diagram Set the path in MATLAB to the R&S TSMW-K1 folder The I/Q data width (without exponent) used for transmission to the host PC is specified by MeasCtrl.MeasCtrl.DataFormat. For further information about the field refer to chapter Structure: MeasCtrl on page 27.
  • Page 35: Features

    R&S TSMW-K1 Features Measurement Types 5. Features 5.1 Measurement Types The R&S TSMW-K1 option supports different I/Q measurement types: Description Types Performs a single I/Q data measurement. Block measurement Periodic measurement Optionally, single measurements can be performed as periodic measurements. A periodic measurement performs a single measurement at regular (equal) intervals.
  • Page 36: Resource Management For Concurrent Measurement Requests

    Resource management for concurrent measurement requests 5.2 Resource management for concurrent measurement requests The R&S TSMW-K1 supports a scalable resource management for I/Q data measurement tasks. The basic idea is that concurrent measurement requests can be assigned different portions of the available receiver time. This is particularly important for applications where independent and concurrent measurement tasks perform measurements using the R&S TSMW.
  • Page 37: Trigger

    If a measurement task does not get at a priority value at creation time, the system will attach the lowest possible priority value to it => 0. 5.3 Trigger R&S TSMW supports up to two external trigger sources. The R&S TSMW-K1 API allows configuring positive/negative edge of the trigger signal for measurements. 5.4 GPS An integrated SuperSense GPS receiver with 16 channels and a refresh rate of 4 Hz also allows the R&S TSMW to be used in areas with weak GPS signals.
  • Page 38: Function Overview

    R&S TSMW-K1 Function Overview General 6. Function Overview Each function returns an error code: 0 if successful. Otherwise a number is returned which defines the error code. To get the corresponding error text calls the function TSMWGetLastError or for a streaming measurement TSMWgetStreamError. The functions return the error information of the occurred error and reset the error code variable again to zero.
  • Page 39: Measurement

    R&S TSMW-K1 Function Overview Measurement 6.2 Measurement These functions configure, setup and control the measurements. Furthermore, it is possible to manage the scalable resources of the two RF to the completive measurement tasks und organize the transfer of the I/Q data to the pc for further handling.
  • Page 40: Templates

    R&S TSMW-K1 Function Overview Seamless streaming of I/Q data in real time 6.2.2 Templates Function C++ (header files) Description Function MATLAB (*.m file) Create a template for the MeasCtrl MeasCtrlTemplate structure for double channel (MIMO) measurements with default values. Create a template for the MeasCtrl...
  • Page 41: Functions

    R&S TSMW-K1 Function Overview 6.3.1 Functions Function C++ Description Function MATLAB (header files) (*.m file) TSMWIQStream_c Start streaming measurement for a TSMWIQStream given stream ID. TSMWTGEnable_c Enable the tracking generator (test) TSMWTGEnable output. TSMWSetDAC_c Set the reference oscillator DAC TSMWSetDAC value.
  • Page 42: Digital Iq Interface

    R&S TSMW-K1 Function Overview Digital IQ Interface Function C++ Description Function MATLAB (header files) (*.m file) Enable or disable the GPS TSMWGPSSync_c TSMWGPSSync synchronization. Clear the GPS NMEA buffer. TSMWGPSClearBuffer_c Get current IQ time of given R&S TSMWGetIQTime_c TSMWGetIQTime TSMW.
  • Page 43: Structures

    The following sub chapters explain the structures with their fields. Additionally the corresponding C++ structure is mentioned. Most C++ parameters correspond to the available MATLAB fields. Example of MATLAB structures Examples are available in the example folder <TSMW-K1 installation directory>\Examples\Matlab. User Manual 1503.3776.32 - 08...
  • Page 44: Structure: Measctrl

    R&S TSMW-K1 Structures Structure: MeasCtrl 7.1 Structure: MeasCtrl Description: The structure contains measurement control values. It is divisible into the following parts: General measurement control field Defines general measurement control values. Stream control field Defines the streaming options. Resource request field Defines the requested bandwidth of the RF.
  • Page 45: Measctrl Values For General Measurement Control

    R&S TSMW-K1 Structures Structure: MeasCtrl 7.1.1 MeasCtrl values for general measurement control Description: These fields allow configuring the general measurement control settings on the R&S TSMW. For faultless use, the values have to be set and submitted over the Digital I/Q interface to the R&S TSMW(s).
  • Page 46: Measctrl Values For Streaming Control

    R&S TSMW-K1 Structures Structure: MeasCtrl 7.1.2 MeasCtrl values for streaming control Description: These fields configure the settings of the streaming file. Field(s): StreamCtrl.StreamID Specifies the stream ID which shall be used to control this stream. Value range: 0..15 Specifies the buffer size for streaming in MBs.
  • Page 47: Measctrl Values For Capacity Request For Rf Channels

    R&S TSMW-K1 Structures Structure: MeasCtrl 7.1.3 MeasCtrl values for capacity request for RF channels Description: These fields contains information about the requested receiver capacity and the desired observation time window. Field(s): Specifies which frontend to use. Frontends 1: Frontend 1...
  • Page 48: Measctrl Values For Schedule Control

    R&S TSMW-K1 Structures Structure: MeasCtrl 7.1.4 MeasCtrl values for schedule control Description: The structure describes the schedule option for the scalable bandwidth management for the receivers. It has to be specified if the measurement request shall use a specific receiver resource.
  • Page 49: Measctrl Values For Periodic Measurement Control

    R&S TSMW-K1 Structures Structure: MeasCtrl 7.1.5 MeasCtrl values for periodic measurement control Description: The structure describes the control structure for starting periodic measurement requests. It has to be specified if the measurement request has to be a periodic measurement request. Otherwise it is a standard measurement.
  • Page 50 R&S TSMW-K1 Structures Structure: MeasCtrl Specifies the transmit window. A transmit window TransmitWindow defines the number of measurements that are performed until the first measurements are transmitted to the host. This prohibits the R&S TSMW of making more measurements than can be transmitted to the PC cause by i.
  • Page 51: Measctrl Values For Trigger Control

    R&S TSMW-K1 Structures Structure: MeasCtrl 7.1.6 MeasCtrl values for trigger control Description: The structure describes the control structure for trigger configuration. Field(s): Command: TriggerCtrl.Cmd 0: When used within m-function TSMWIQMeasure: Start triggering for a measurement. 1: Stop triggered measurement. 2: Change parameters.
  • Page 52: Measctrl Values For Rf Channel 1 And Rf Channel 2

    R&S TSMW-K1 Structures Structure: MeasCtrl 7.1.7 MeasCtrl values for RF channel 1 and RF channel 2 Description: Each RF channel has its own fields. These fields contain measurement control values for the corresponding RF channel. Field(s): The following explanation shows only the values for the RF channel 1 control fields.
  • Page 53 R&S TSMW-K1 Structures Structure: MeasCtrl Configuration for digital I/Q output. The measured ChannelCtrl1.DigIqOnOff digital I/Q data is streamed over the R&S Digital I/Q Interface. 0: Digital I/Q output disabled 1: Data from Front End mapped on Digital I/Q output C++ structure: typedef struct TSMW_IQIF_CH_CTRL unsigned __int64 Frequency;...
  • Page 54: Structure: Filterspec

    R&S TSMW-K1 Structures Structure: FilterSpec 7.2 Structure: FilterSpec Description: The structure describes the filter parameter structure. The down sampling factor has to be greater than the number of sub channels. The maximum down sampling factor is 100. Therefore following requirement has to be fulfilled: ...
  • Page 55: Structure: Tsmwoptions

    R&S TSMW-K1 Structures Structure: TSMWOptions 7.3 Structure: TSMWOptions Description: The structure describes the Digital I/Q interface options for the R&S TSMW. Field(s): Specifies which frontend to enable Frontends 1: Enable frontend 1 2: Enable frontend 2 3: Enable both frontends Enable the frequency band for RF channel 1.
  • Page 56: Structure: Tsmwiqresult

    R&S TSMW-K1 Structures Structure: TSMWIQResult 7.4 Structure: TSMWIQResult Description: The structure describes the IQ result parameter structure. Field(s): Specifies the measurement request ID. MeasRequestID Unused Reserved Specifies the I/Q-Counter value at which measurement StartTimeIQ was started. Note: Each individual channel will have a different start time, according to the specified ChannelDelay parameter in the measurement request structure.
  • Page 57: Structure: Streamstatus

    R&S TSMW-K1 Structures Structure: StreamStatus 7.5 Structure: StreamStatus Description: The structure describes the current status of the streaming measurement. Field(s): Streaming status Status 0: Not activated 1: Running 2: Finished 3: Stopped (because of an error) 4: Stopped because maximum file size reached Number of samples per streaming block.
  • Page 58: Structure: Streaminfo

    R&S TSMW-K1 Structures Structure: StreamInfo 7.6 Structure: StreamInfo Description: The structure shows information about date and time about a streaming measurement file. Field(s): The year when the stream was started. Year The month when the stream was started. Month The date of the day when the stream was started.
  • Page 59: R&S Tsmw I/Q Interface Application

    The “TSMW MATLAB I/Q Interface" application is used as GUI interface for an easy handling the measurement control. Furthermore it can be used as reference example how using the R&S TSMW-K1 API. On the basis of this application the functionality of the R&S TSMW-K1 API is explained.
  • Page 60: Gui - Connection And Measurement Setting

    R&S TSMW-K1 R&S TSMW I/Q Interface Application Main Window “TSMW Matlab IQ Interface” Figure 8-1: Main window of TSMW IQ Interface demo application 8.1.1 GUI – connection and measurement setting The following tables list the functionality and the corresponding MATLAB functions of the application.
  • Page 61 Note: Reduce the data transfer rate To reduce the amount of data accumulated, the R&S TSMW-K1 interface offers to set the bit resolutions individual to 20 Bit, 16 Bit, 12 Bit or 8 Bit. Thus the user can reduce the transmission rate on the LAN interface.
  • Page 62 R&S TSMW-K1 R&S TSMW I/Q Interface Application Main Window “TSMW Matlab IQ Interface” Filter Design Description Name Open a dialog window to creates and modify filters for I/Q data Design measurements. For details see Digital /IQ Interface Status in chapter 8.1 As described in 8.1 Main Window “TSMW Matlab IQ Interface”...
  • Page 63 R&S TSMW-K1 R&S TSMW I/Q Interface Application Main Window “TSMW Matlab IQ Interface” Digital I/Q Out checkbox for Frontend 2 In previous versions the checkbox to enable Digital I/Q Interface output on the Frontend 2 was greyed out as the function was not available. As you can see in Figure 8-1: Main window of TSMW IQ Interface demo application, the checkbox is now also available on Frontend 2.
  • Page 64: Gui - Output Functions

    R&S TSMW-K1 R&S TSMW I/Q Interface Application Main Window “TSMW Matlab IQ Interface” Description Name M-function in file TSMWIQInterfaceDemo.m can be customized Measure M-function in file TSMWIQInterfaceDemo.m can be customized. Analyze Data Export Description Name Export the measured data to the MATLAB Workspace.
  • Page 65: Streaming Dialog

    R&S TSMW-K1 R&S TSMW I/Q Interface Application Streaming Dialog Figure 8-2: Example plot “Frontend 2” 8.2 Streaming Dialog The “TSMW I/Q Streaming Tool" dialog window controls the streaming settings for I/Q data streaming measurements. It is possible to set and view the parameters for streaming measurements.
  • Page 66 R&S TSMW-K1 R&S TSMW I/Q Interface Application Streaming Dialog Figure 8-3: "TSMW IQ Streaming Tool" dialog window The following table describes the functionality and the corresponding MATLAB functions of the dialog window. GPS Configuration Description Name Open a dialog window which controls the GPS server settings. For details see Open GPS Config.
  • Page 67 R&S TSMW-K1 R&S TSMW I/Q Interface Application Streaming Dialog Record stream Description Name Specifies the stream buffer. Choose a value at least 200MB. Default value is Stream buffer size [MB] 200MB. Field: MeasCtrl.StreamCtrl.StreamBufferSize Specifies the maximum streaming size in MB.
  • Page 68: Filter Design Dialog

    R&S TSMW-K1 R&S TSMW I/Q Interface Application Filter Design Dialog 8.3 Filter Design Dialog The “TSMW Filter Design Tool” dialog window creates and modifies filters for I/Q data measurements. The designed filters can be saved as .mat file for loading it back into the Demo application.
  • Page 69 R&S TSMW-K1 R&S TSMW I/Q Interface Application Filter Design Dialog Description Name The function checks the designed filter. View ovrspl Transfer Save the designed filter and return to the main window of the MATLAB Demo Save & Close application. The designed filter is available for measure purpose on the current instance of the MATLAB Demo application.
  • Page 70: Gps Server Configuration Dialog

    R&S TSMW-K1 R&S TSMW I/Q Interface Application GPS Server Configuration Dialog 8.4 GPS Server Configuration Dialog The “TSMW GPS Server” dialog window controls the transmission of NMEA 0183 sentences over the LAN interface. It is possible to select the sentences to transmit and the update rate of the GPS receiver chip.
  • Page 71 R&S TSMW-K1 R&S TSMW I/Q Interface Application GPS Server Configuration Dialog Server Configuration Description Name currently only TCP Server supported. Mode listening port of the server, valid range 0 to 65535, recommended range Port 49152 to 65535 Start the server...
  • Page 72 R&S TSMW-K1 R&S TSMW I/Q Interface Application GPS Server Configuration Dialog Data format generated by the server <message counter><TAB><IQ time><TAB><NMEA sentence><CR><LF> with A 32bits unsigned integer value incremented for each NMEA message received <message from the GPS receiver. counter> A 64bits unsigned integer value containing the current value of the TSMW IQ <IQ time>...
  • Page 73: How To

    9.1 Use the R&S TSMW MATLAB IQ Interface Application (compiled) Prerequisite: ● The R&S TSMW-K1 software is installed on the PC. For detailed information how to install refer to chapter Install on page 11. ● The MCR environment is installed.
  • Page 74: Use Native C++ Interface

    R&S TSMW-K1 How To... Use native C++ Interface 9.3 Use native C++ Interface Procedure: ► Copy all files from C:\Program Files\MATLAB\R2007a\bin\toolbox\RS_TSMWIQInterface\lib including subfolders to your C++ user application folder. 9.4 Connect to the R&S TSMW Prerequisite: ● A LAN connection between the computer and the R&S TSMW is required. How to link the software to R&S TSMW refer to the corresponding R&S TSMW operation manual.
  • Page 75 R&S TSMW-K1 How To... Create a resampling filter Prerequisites: ● The R&S TSMW MATLAB IQ Interface application is running. ● A connection to a R&S TSMW is established. Procedure: 1. On the “TSMW MATLAB IQ Interface” window click the "Design" button.
  • Page 76 R&S TSMW-K1 How To... Create a resampling filter “Design Filter” button to start the filter designer. A new filter is created and new buttons appear with further actions on the designed filter. View Transfer To check the designed filter, click “View Transfer Function”...
  • Page 77: Use User Defined Filters

    R&S TSMW-K1 How To... Use user defined filters Export as C Header Save and export the designed filter to a C Header file. Thus it is possible to load the designed filter into C++ applications, afterwards. Export to .mat File Save and export the designed filter to a *.mat file.
  • Page 78: Perform A Continuous Measurement

    R&S TSMW-K1 How To... Perform a continuous measurement a. Before a filter can selected in the “Filter ID.” drop down menu, it has to be designed. How to design a filter and make it available are explained in procedure Create a resampling filter and Use user defined filters on page 60.
  • Page 79: Record Streaming Measurement Data

    R&S TSMW-K1 How To... Record streaming measurement data 9.10 Record streaming measurement data Prerequisites: ● The R&S TSMW MATLAB IQ Interface application is running and a connection to the R&S TSMW is established. ● The measurement settings in the main window are defined.
  • Page 80: View Streaming Measurement Data

    View streaming measurement data If the measured I/Q data were streamed over the R&S TSMW-B1 interface the data are handled on the destination instrument. Thus the I/Q data are now completely independent from the R&S TSMW-K1 software. 9.11 View streaming measurement data Prerequisites: ●...
  • Page 81: Export Streamed Data

    R&S TSMW-K1 How To... Export streamed data. 9.13 Export streamed data. Prerequisites: ● The R&S TSMW MATLAB IQ Interface application is running. ● Recorded data of a streaming measurement exists. ● A MATLAB Workspace is open (only required for "Export to Workspace")
  • Page 82: Release The Connection To The R&S Tsmw Iq Interface

    9.15 Perform streaming measurements (C++ API) Examples how to perform streaming measurements with the C++ API are available on the CD-ROM and inside the folder <R&S TSMW-K1 installation directory>\Examples\CPP. Description C++ example file Performs online streaming. That means during streaming the measured data TestStreaming are directly accessible for further processing.
  • Page 83: Troubleshooting

    R&S TSMW-K1 Troubleshooting Working with a second R&S TSMW 10. Troubleshooting 10.1 Working with a second R&S TSMW Description After replacing the R&S TSMW with another one the computer do not recognize the new connected R&S TSMW. Possible reason: The Address Resolution Protocol Cache (ARP-Cache) on the computer is not updated.
  • Page 84: Skipped I/Q Data Blocks During I/Q Streaming

    R&S TSMW-K1 Troubleshooting Skipped I/Q data blocks during I/Q streaming Proposal for solution On the computer deactivate the firewall rules for the ethernet card which is connected to the R&S TSMW. If the problem still exists, check all installation settings of the R&S TSMW. Also see the R&S TSMW operation manual chapter 11 "Troubleshooting"...
  • Page 85: Appendix

    <TSMW-K1 installation directory>\inc. B M-Functions All R&S TSMW-K1 functions for the R&S TSMW MATLAB IQ interface are explained in the following sub chapters. The corresponding C++ functions with the correct command syntax are also shown. Most MATLAB parameters correspond to the C++ parameters.
  • Page 86: Measctrltemplate_Rf1

    R&S TSMW-K1 Appendix B.2 MeasCtrlTemplate_RF1 Description: The function creates a template for the MeasCtrl structure for RF channel 1 measurements. Command syntax: [MeasCtrl] = MeasCtrlTemplate_RF1(); Parameter(s): Return value(s): MeasCtrl Specifies a MeasCtrl structure with default values for RF channel 1 measurements. This means that the general measurement control sub-structure and the sub-structure for RF channel 1 parameters will be set.
  • Page 87: Measctrltemplate_Rf1Stream

    R&S TSMW-K1 Appendix Corresponding C++ command: B.4 MeasCtrlTemplate_RF1Stream Description: The function creates a template for the MeasCtrl structure for RF channel 1 streaming measurements. Resampling filter specification In order to make use of this template, an appropriate resampling filter specification has to be transferred to the R&S TSMW before a streaming measurement is started.
  • Page 88: Tsmwconnect

    R&S TSMW-K1 Appendix Parameter(s): Return value(s): MeasCtrl Specifies a MeasCtrl structure with default values for RF channel 2 streaming measurements. This means that the general measurement control sub-structure and the sub- structure for RF channel 2 parameters will be set.
  • Page 89: Tsmwextreenable

    R&S TSMW-K1 Appendix Corresponding C++ command: int ErrorCode = TSMWConnect_c( char* IPAddress, TSMW_IQIF_MODE_t *pTSMWMode, unsigned short *pTSMWID); B.7 TSMWExtReEnable Description: The function enables or disables usage of external reference clock. Connect external reference clock before calling the function If no external reference clock is connected and the function TSMWExtRefEnable.m is executed, measurements on RF 2 will not work.
  • Page 90: Tsmwgetiqtime

    R&S TSMW-K1 Appendix Command syntax: [NoOfCoeffs,OvsplFact] = TSWMGetFIRParam(Ndown, OvsplFact); Parameter(s): Ndown Defines the fractional down sampling factor. Given the desired sampling rate fs, the down sampling factor is defined as fs/(395e6/18). I.e.: The desired sampling rate divided by the native R&S TSMW sampling rate.
  • Page 91: Tsmwgetlasterror

    R&S TSMW-K1 Appendix Return value(s): 0 if successful. Otherwise the error code is returned. ErrorCode Specifies the current I/Q time. IQTime Corresponding C++ command: int ErrorCode = TSMWGetIQTime_c( unsigned short TSMWID, unsigned __int64 *pIQTime); B.10 TSMWGetLastError Description: Each function returns the error code "0" if successful. Otherwise, they return a number which defines the error code.
  • Page 92: Tsmwgetstreamerror

    R&S TSMW-K1 Appendix B.11 TSMWGetStreamError Description: The function returns the error message corresponding to the status of the streaming measurement. This function should be called when streaming measurement is stopped due to an error. Command syntax: [ErrorText] = TSMWGetStreamError(StreamID); Parameter(s):...
  • Page 93: Tsmwgetversiontext

    R&S TSMW-K1 Appendix B.13 TSMWGetVersionText Description: The function returns the version text of the R&S TSMW IQ interface. Command syntax: [VersionText] = TSMWGetVersionText; Parameter(s): Return value(s): VersionText Returns the version text of the R&S TSMW IQ Interface. Corresponding C++ command: char* VersionText = TSMWGetVersionText_c();...
  • Page 94: Tsmwgpsgetnmealine

    R&S TSMW-K1 Appendix Corresponding C++ command: int ErrorCode = TSMWGPSEnable_c( unsigned short TSMWID, int NoOfBufferedLines, int Enable); B.15 TSMWGPSGetNMEALine Description: The function gets the oldest available NMEA text in buffer. Configure NMEA buffer The number of buffered NMEA text lines can be parameterized by TSMWGPSEnable_c.
  • Page 95: Tsmwgpsgetserverstatus

    R&S TSMW-K1 Appendix B.16 TSMWGPSGetServerStatus Description: Get the current status of the GPS server for the TSMW with the given TSMW-ID. Command syntax: [ErrorTxt, StatusCode, PortNumber] = TSMWGPSGetServerStatus(TSMWID); Parameter(s): ID of the TSMW. TSMWID Return value(s): Error message, an empty string is returned if no error ErrorText occurred.
  • Page 96: Tsmwgpssendubx_Cfg_Inf

    R&S TSMW-K1 Appendix Return value(s): 0 if successful. Otherwise the error code is returned. ErrorCode Corresponding C++ command: int ErrorCode = TSMWGPSSendNMEACmd_c( int TSMWID, char* pNMEAString); B.18 TSMWGPSSendUBX_CFG_INF Description: Send UBX command CFG_INF to the TSMW with the given TSMW-ID. Returns zero if successful, otherwise error code.
  • Page 97: Tsmwgpssendubx_Cfg_Prt_Allin_Nmeaout

    R&S TSMW-K1 Appendix Command syntax: [ErrorCode] = TSMWGPSSendUBX_CFG_MSG(TSMWID, Mnemonic, Enable); Parameter(s): ID of the TSMW TSMWID Mnemonic of the message type. Mnemonic Mnemonic supported: 'UBX,00', 'UBX,03', 'UBX,04','DTM', 'GBS', 'GGA', 'GLL', 'GRS', 'GSA', 'GST', 'GSV', 'RMC', 'TXT', 'VTG', 'ZDA' 0: disable message, otherwise enable message.
  • Page 98: Tsmwgpssendubx_Cfg_Rate

    R&S TSMW-K1 Appendix B.21 TSMWGPSSendUBX_CFG_RATE Description: Send UBX command CFG_RATE to the TSMW with the given TSMW-ID. Reference time is forced to UTC. Returns zero if successful, otherwise error code. Command syntax: [ErrorCode] = TSMWGPSSendUBX_CFG_RATE(TSMWID,UpdateRateString); Parameter(s): ID of the TSMW.
  • Page 99: Tsmwgpsstarttcpserver

    R&S TSMW-K1 Appendix Corresponding C++ command: int ErrorCode = TSMWGPSSendUBXCmd_c( int TSMWID, void* pUBXCmd, unsigned int UBXMsgLength); B.23 TSMWGPSStartTcpServer Description: Start server forwarding NMEA messages from the TSMW with the given TSMW-ID over LAN. Returns zero if successful, otherwise error code.
  • Page 100: Tsmwgpsstopserver

    R&S TSMW-K1 Appendix B.24 TSMWGPSStopServer Description: Stop server forwarding NMEA messages from the TSMW with the given TSMW-ID over LAN. Returns zero if successful, otherwise error code. Command syntax: [ErrorCode] = TSMWGPSStopServer(TSMWID); Parameter(s): ID of the TSMW. TSMWID For further Information see TSMW Matlab IQ Interface Documentary.
  • Page 101: Tsmwinitinterface

    R&S TSMW-K1 Appendix Corresponding C++ command: int ErrorCode = TSMWGPSSync_c( unsigned short TSMWID, int Enable); B.26 TSMWInitInterface Description: Load the R&S TSMW IQ interface library TSMWIQInterface.dll. The function TSMWInitInterface has to be called once before any other action can be performed on the TSMW.
  • Page 102: Tsmwiqdataavailable

    R&S TSMW-K1 Appendix Return value(s): 0 if successful. Otherwise the error code is returned. ErrorCode Corresponding C++ command: int ErrorCode = TSMWIQStopStreaming_c ( unsigned short TSMWID, unsigned char StreamID, TSMW_IQIF_STREAM_STATUS_t *pStreamStatus); B.28 TSMWIQDataAvailable Description: The function returns the number of the available measurement results. The value zero is returned when no data is available.
  • Page 103: Tsmwiqgetdata

    R&S TSMW-K1 Appendix B.29 TSMWIQGetData Description: This function retrieves I/Q data in complex double array format. Delete measurement result The function will delete the corresponding measurement result on the R&S TSMW. Command syntax: [ErrorCode,IQResultParam, IQData,Overflow,Calibrated] = TSMWIQGetData(TSMWID,MeasRequestID, TimeOut,NoOfSamples, NoOfChannels); Parameter(s): TSMWID Defines the used R&S TSMW.
  • Page 104 R&S TSMW-K1 Appendix Return value(s): 0 if successful. Otherwise the error code is returned. ErrorCode Measurement result parameters. IQResultParam For information about the fields refer to chapter Structure: TSMWIQResult on page 39. Complex I/Q data array (already scaled with reference IQData level 1dBm).
  • Page 105: Tsmwiqgetdataint16

    R&S TSMW-K1 Appendix Additional information for specific C++ return values: pReal: Pointer to a short array with reserved elements for NoOfSamples x NoOfChannels The first NoOfSamples data samples correspond to the first sub channel of the first frontend. The next NoOfSamples data samples correspond to the next sub channel (if applicable) of the first frontend etc..
  • Page 106 R&S TSMW-K1 Appendix Note: For the functions TSMWIQGetDataInt16 and TSMWIQGetDataInt32, the number of requested samples has to be a multiple of 8. This is not the case for functions the deliver single or double precision data (e.g. TSMWIQGetDataDouble, TSMWIQGetStreamDouble, ...).
  • Page 107 R&S TSMW-K1 Appendix Corresponding C++ command: The parameters Reserved1 and Reserved2 have to be zero. int ErrorCode = TSMWIQGetDataInt16_c( unsigned short TSMWID, unsigned int MeasRequestID, unsigned int TimeOut, TSMW_IQIF_RESULT_t *pIQResult, short* pReal, short* pImag, short* pScaling, unsigned long* pOvfl, unsigned int *pCalibrated,...
  • Page 108: Tsmwiqgetdataint32

    R&S TSMW-K1 Appendix B.31 TSMWIQGetDataInt32 Description: This function unpacks the measurement result into 32 bit integer array format. Delete measurement result The function will delete the corresponding measurement result. See also TSMWIQGetDataInt16. Command syntax: [ErrorCode, IQResultParam, IData,QData,Scaling, Overflow,Calibrated] = TSMWIQGetDataInt32(TSMWID, MeasRequestID,TimeOut, NoOfSamples,NoOfChannels);...
  • Page 109: Tsmwiqgetdatasingle

    R&S TSMW-K1 Appendix B.32 TSMWIQGetDataSingle Description: This function unpacks the measurement result into single precision floating point array format. Delete measurement result The function will delete the corresponding measurement result. See also TSMWIQGetDataInt16. Command syntax: [ErrorCode,IQResultParam,IData, QData,Scaling,Overflow,Calibrated] = TSMWIQGetDataSingle(TSMWID,MeasRequestID, TimeOut,NoOfSamples, NoOfChannels);...
  • Page 110: Tsmwiqgetdatadouble

    R&S TSMW-K1 Appendix B.33 TSMWIQGetDataDouble Description: This function unpacks the streaming measurement result into double precision floating point array format. Delete measurement result The function will delete the corresponding measurement result. See also TSMWIQGetDataInt16. Command syntax: [ErrorCode,IQResultParam, IData,QData,Scaling, Overflow,Calibrated] = TSMWIQGetDataDouble(TSMWID, MeasRequestID,TimeOut, NoOfSamples,NoOfChannels);...
  • Page 111: Tsmwiqgetdatasingleilv

    R&S TSMW-K1 Appendix B.34 TSMWIQGetDataSingleIlv Description: This function unpacks the measurement result into interleaved single precision floating point array format. Delete measurement result The function will delete the corresponding measurement result. See also TSMWIQGetDataInt16. Command syntax: [ErrorCode,IQResultParam,IQData, Scaling,Overflow,Calibrated] = TSMWIQGetDataSingle(TSMWID,MeasRequestID, TimeOut,NoOfSamples, NoOfChannels);...
  • Page 112: Tsmwiqgetdatadoubleilv

    R&S TSMW-K1 Appendix B.35 TSMWIQGetDataDoubleIlv Description: This function unpacks the measurement result into interleaved double precision floating point array format. The corresponding measurement result will be deleted. Delete measurement result The function will delete the corresponding measurement result. See also TSMWIQGetDataInt16.
  • Page 113: Tsmwiqgetstreamsingle

    R&S TSMW-K1 Appendix Corresponding C++ command: The parameters Reserved1 and Reserved2 have to be zero. int ErrorCode = TSMWIQGetDataDoubleIlv_c( unsigned short TSMWID, unsigned int MeasRequestID, unsigned int TimeOut,TSMW_IQ_RESULT_t *pIQResult, double* pCplxData, short* pScaling, unsigned long* pOvfl, unsigned int *pCalibrated, unsigned int NoOfSamples, unsigned int NoOfChannels, int Reserved1, int Reserved2);...
  • Page 114 R&S TSMW-K1 Appendix Parameter(s): StreamID Stream ID that was specified with function TSMWIQOpenStreamFile on page 103. TimeOut Defines the time in milliseconds to wait for the measurement response result. Offset Sample offset where to get I/Q data. Only used for offline streaming (reading from a stream data file).
  • Page 115: Tsmwiqgetstreamdouble

    R&S TSMW-K1 Appendix B.37 TSMWIQGetStreamDouble Description: This function unpacks the streaming measurement result into double precision floating point array format. The function works for both "online" streaming and "offline" streaming. For more details about "online" and "offline" streaming see description of TSMWIQGetStreamSingle on p. 96...
  • Page 116 R&S TSMW-K1 Appendix Command syntax: [ErrorCode,IQResultParam,IQData, Scaling,Overflow,Calibrated]= TSMWIQGetStreamSingleIlv(StreamID,TimeOut, Offset,NoOfSamples, NoOfChannels); Parameter(s): StreamID Stream ID that was specified with function TSMWIQStream on p. 106. TimeOut Max. time in ms to wait for the measurement data. Offset Sample offset where to get I/Q data. Only used for offline streaming (reading from a stream data file).
  • Page 117: Tsmwiqgetstreamdoubleilv

    R&S TSMW-K1 Appendix Corresponding C++ command: int ErrorCode = TSMWIQGetStreamSingleIlv_c( unsigned char StreamID, unsigned int TimeOut, TSMW_IQ_RESULT_t *pIQResult, float* pCplxData, short* pScaling, unsigned long* pOvfl, unsigned int *pCalibrated, unsigned __int64 Offset, unsigned int NoOfSamples, unsigned int NoOfChannels); B.39 TSMWIQGetStreamDoubleIlv Description: This function unpacks the streaming measurement result into interleaved double precision floating point array format.
  • Page 118: Tsmwiqgetresultparam

    R&S TSMW-K1 Appendix B.40 TSMWIQGetResultParam Description: This function returns the parameters of a measurement result. Do not delete measurement result The function will not delete the measurement result. This means that it can be called before one of the TSMWIQGetDataXXX functions is called. The "Get" functions, however, will delete the measurement result.
  • Page 119: Tsmwiqmeasure

    R&S TSMW-K1 Appendix B.41 TSMWIQMeasure Description: The function starts a new measurement with given parameters. The measurement parameters are defined in the structure MeasCtrl. Measurements are scheduled on the R&S TSMW. The measurement specification includes a priority and might also include (several) start times at which the measurement can be started.
  • Page 120: Tsmwiqopenstreamfile

    R&S TSMW-K1 Appendix Return value(s): 0 if successful. Otherwise the error code is returned. ErrorCode ID for this measurement request. MeasRequestID Corresponding C++ command: int ErrorCode = TSMWIQMeasure_c( unsigned short TSMWID, unsigned long *pMeasRequestID, unsigned __int64 *pStartTimes, long NoOfStartTimes, TSMW_IQIF_MEAS_CTRL_t *pMEAS_CTRL, TSMW_IQIF_CH_CTRL_t *pCHANNEL_CTRL1, TSMW_IQIF_CH_CTRL_t *pCHANNEL_CTRL2 );...
  • Page 121: Tsmwiqperiodctrl

    R&S TSMW-K1 Appendix Return value(s): 0 if successful. Otherwise the error code is returned. ErrorCode Corresponding C++ command: int ErrorCode = TSMWIQOpenStreamFile_c( char *pFileName, unsigned char StreamID, TSMW_IQIF_STREAM_INFO_t *pStreamInfo, TSMW_IQIF_MEAS_CTRL_t *pMeasCtrl, TSMW_IQIF_CH_CTRL_t *pChannelCtrl1, TSMW_IQIF_CH_CTRL_t *pChannelCtrl2, TSMW_IQIF_FILTER_PARAM_t *pFilterSpec, long *pCoeff,unsigned long NoOfCoeffs);...
  • Page 122: Tsmwiqsetup

    R&S TSMW-K1 Appendix B.44 TSMWIQSetup Description: Transmit a filter specification to the R&S TSMW. The field FilterID in the structure FilterSpec contains the ID of the filter. Overwrite an existing filter with the same ID To overwrite an existing filter with a new transmitted filter with the same ID, the previous filter specification has to be used with the same application with the same IP connection to the R&S TSMW.
  • Page 123: Tsmwiqstream

    R&S TSMW-K1 Appendix B.45 TSMWIQStream Description: The function starts a streaming measurement with given parameters. The MeasCtrl measurement parameters are defined in the structure Command syntax: [ErrorCode] = TSMWIQStream(TSMWID, MeasCtrl,FileName,CreateIfExists); Parameter(s): TSMWID Specifies the instrument to use for measurement. MeasCtrl Measurement control structure.
  • Page 124: Tsmwiqstreamstatus

    R&S TSMW-K1 Appendix Return value(s): 0 if successful. Otherwise the error code is returned. ErrorCode Corresponding C++ command: int ErrorCode = TSMWIQStream_c( unsigned short TSMWID, TSMW_IQIF_MEAS_CTRL *pMEAS_CTRL, TSMW_IQIF_CH_CTRL *pCHANNEL_CTRL1, TSMW_IQIF_CH_CTRL *pCHANNEL_CTRL2, TSMW_IQIF_STREAM_CTRL_t *pStreamCtrl, char *pFileName, char *pDescription, unsigned int Flags);...
  • Page 125: Tsmwiqstopstreaming

    R&S TSMW-K1 Appendix B.47 TSMWIQStopStreaming Description: The function stops a streaming measurement. Command syntax: [ErrorCode,StreamStatus] = TSMWIQStopStreaming( TSMWID, StreamID); Parameter(s): ID of R&S TSMW to use for streaming measurement. TSMWID Stream ID that was specified with function StreamID TSMWIQOpenStreamFile on page 103.
  • Page 126: Tsmwreleaseinterface

    R&S TSMW-K1 Appendix B.48 TSMWReleaseInterface Description: Unload the external R&S TSMW IQ interface library and disconnect from R&S TSMW(s). MATLAB Interface Library To secure your MATLAB application from crash you have to call the function TSMWReleaseInterface before you can close the application.
  • Page 127: Tsmwsetdac

    R&S TSMW-K1 Appendix Command syntax: [ErrorCode, ResourceID] = TSMWResourceRequest(TSMWID, IsRequest, ResourceID, ResourceParam); Parameter(s): TSMWID Specifies the R&S TSMW to use. IsRequest 1: Request receiver resource. 0: Release receiver resource. ResourceID Only relevant for IsRequest == 0. Resource ID of receiver resource that shall be released.
  • Page 128: Tsmwshutdown

    R&S TSMW-K1 Appendix Command syntax: [ErrorCode] = TSMWSetDAC(TSMWID,Value); Parameter(s): TSMWID Specifies the R&S TSMW which shall be used for streaming. Value Specifies DAC value. Value range: 0..1023. Reasonable values are in the range 200..800. Return value(s): 0 if successful. Otherwise the error code is returned.
  • Page 129: Tsmwtgenable

    R&S TSMW-K1 Appendix B.52 TSMWTGEnable Description: The function enables the tracking (test) generator output. Command syntax: [ErrorCode] = TSMWTGEnable(TSMWID, Enable); Parameter(s): Defines the used R&S TSMW. TSMWID 1: Enable test output Enable 0: Disable test output Return value(s): 0 if successful. Otherwise the error code is returned.
  • Page 130 R&S TSMW-K1 Appendix 1: Set to 'output'. TriggerValue1 If trigger line 1 is used as output 0: set to low 1: set to high. TriggerValue2 If trigger line 2 is used as output 0.set to low 1: set to high.
  • Page 131: Tsmwinfoifenable

    R&S TSMW-K1 Appendix B.54 TSMWINFOIFEnable Description: Function to subscribe/unsubscribe to the Digital I/Q Interface status messages. Command syntax: [ErrorCode]= TSMWINFOIFEnable(TSMWID, Enable); Parameter(s): TSMWID Specifies the instrument ID to use for measurement. Enable 1: Enable subscription 0: Disable subscription Return value(s): 0 if successful.
  • Page 132 R&S TSMW-K1 Appendix Return value(s): StatusTxt Status string containing the information received from the device connected ConnectionState -2: Unknown/undefined mode. -1: Connection error. 0: Cable not connected. 1: Connection in progress. 2: Reserved for later use. 3: Connection successful. RxMultiChanSupport 0: Target device supports only 1 channel or multiple channel mode is not compatible with TSMW.
  • Page 133: Index

    Calculate bit rate ..............10 R&S TSMW ................. 5 Connection Settings (GUI) ..........43 R&S TSMW-B1 ..............7 Continuous Measure (GUI) ..........46 R&S TSMW-K1 ..............7 Conventions ................. 6 Receiver Management ............19 Create filter ................ 51 Related documentation ............5 Customize GUI ..........45, 46, 47, 50...

This manual is also suitable for:

1503.3960.02

Table of Contents