background image

R&S TSMW-K1 

Introduction 

System Requirements 

User Manual 1503.3776.32 - 08 

10 

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 
●   High-speed hard disk with >40MB/s sustained transfer rate (write) - for calculating 

the actual disc speed required, see the equation below. 

These requirements are due to the large amount of data created during I/Q streaming. 

Based on the above facts it is useful to calculate the I/Q data rate and to define the 
minimum system requirements for the computer equipment. 

1.2.1.1 

Formula 

[Bitrate TSMW] = [Sample rate in MS/s]*2*(X + Y)*Z*OVal 

Number of selected channels on RF 1.  

Number of selected channels on RF 2. 

Number of bits used for the data transfer. Possible values are 8 Bit, 12 Bit, 16 Bit and 20 Bit. 

OVAL 

Overhead value, approximately 1,1. 

1.2.1.2 

Example I/Q Streaming 

The following parameters are used for an I/Q raw-data streaming measurement with a 
R&S TSMW via Gigabit LAN interface: 

X = 1  

On RF1 two sub channels are selected. 

Y = 2 

On RF2 four sub channels are selected. 

Z = 20 Bit 

Data transfer format is 20 Bit. 

OVAL = 1,1 

Overhead value 10%. 

Sample rate

 = 3[MS/s] 

Sample rate 3 [MS/s] 

Estimated data transfer rate:  

3000000 Samples/s * 2 * (1 + 2) * 20 Bit/Samples * 1,1  

 

= 396000000 Bit/s  

 

= 49,5 MByte/s  

This means that 49,5 MB per second has to be transferred from the R&S TSMW to the 
computer over a Gigabit Ethernet card (and saved on the hard disk) during this I/Q 
data streaming measurement.   

Содержание 1503.3960.02

Страница 1: ...R S TSMW K1 Programming Interface User Manual 1503 3776 32 08 User Manual...

Страница 2: ...ect to change Data without tolerance limits is not binding R S is a registered trademark of Rohde Schwarz GmbH Co KG Trade names are trademarks of the owners The following abbreviations are used throu...

Страница 3: ...e of the product The product is used for its designated purpose if it is used in accordance with its product documentation and within its performance limits see data sheet documentation the following...

Страница 4: ...ation item 7 Signal words and their meaning The following signal words are used in the product documentation in order to warn the reader about risks and dangers Indicates a hazardous situation which i...

Страница 5: ...afety is not observed either at all or to the extent necessary electric shock fire and or serious personal injury or death may occur 1 Prior to switching on the product always ensure that the nominal...

Страница 6: ...t be fuse protected in such a way that anyone who has access to the product as well as the product itself is adequately protected from injury or damage 14 Use suitable overvoltage protection to ensure...

Страница 7: ...masks and protective clothing must be worn 7 Laser products are given warning labels that are standardized according to their laser class Lasers can cause biological harm due to the properties of the...

Страница 8: ...ckaging until they are ready to be used 4 Cells and batteries must not be exposed to any mechanical shocks that are stronger than permitted 5 If a cell develops a leak the fluid must not be allowed to...

Страница 9: ...National waste disposal regulations must be observed 4 If handling the product releases hazardous substances or fuels that must be disposed of in a special way e g coolants or engine oils that must b...

Страница 10: ...ien las informaciones de seguridad elementales as como la documentaci n del producto y entr guelas a usuarios posteriores Tener en cuenta las informaciones de seguridad sirve para evitar en lo posible...

Страница 11: ...raves o incluso la muerte Indica una situaci n de peligro que si no se evita puede causar lesiones graves o incluso la muerte Indica una situaci n de peligro que si no se evita puede causar lesiones l...

Страница 12: ...entaci n del producto o en la hoja de datos En caso de sobrecalentamiento del producto pueden producirse choques el ctricos incendios y o lesiones graves con posible consecuencia de muerte Seguridad e...

Страница 13: ...0950 1 EN60950 1 o IEC61010 1 EN 61010 1 v lidos en cada caso 11 A menos que est permitido expresamente no retire nunca la tapa ni componentes de la carcasa mientras el producto est en servicio Esto p...

Страница 14: ...manipulaci n mec nica y o t rmica o el desmontaje del producto debe tenerse en cuenta imprescindiblemente el cap tulo Eliminaci n protecci n del medio ambiente punto 1 5 Ciertos productos como p ej la...

Страница 15: ...a las bater as y acumuladores o celdas pueden producirse explosiones incendios y o lesiones graves con posible consecuencia de muerte El manejo de bater as y acumuladores con electrolitos alcalinos p...

Страница 16: ...sin clasificar sino que debe ser recogido por separado La eliminaci n se debe efectuar exclusivamente a trav s de un punto de recogida apropiado o del servicio de atenci n al cliente de Rohde Schwarz...

Страница 17: ...ument up to date and to be informed about new application notes related to your instrument please send an e mail to the Customer Support Center stating your instrument and your wish We will take care...

Страница 18: ...10 1 2 1 2 Example I Q Streaming 10 2 Install 11 2 1 Installation of the R S TSMW K1 software 11 2 2 Set the path in MATLAB to the R S TSMW K1 folder 13 3 Uninstall 14 4 R S TSMW signal processing blo...

Страница 19: ...lterSpec 37 7 3 Structure TSMWOptions 38 7 4 Structure TSMWIQResult 39 7 5 Structure StreamStatus 40 7 6 Structure StreamInfo 41 8 R S TSMW I Q Interface Application 42 8 1 Main Window TSMW Matlab IQ...

Страница 20: ...g I Q streaming 67 Appendix 68 A C Header Files 68 B M Functions 68 B 1 MeasCtrlTemplate 68 B 2 MeasCtrlTemplate_RF1 69 B 3 MeasCtrlTemplate_RF2 69 B 4 MeasCtrlTemplate_RF1Stream 70 B 5 MeasCtrlTempla...

Страница 21: ...94 B 35 TSMWIQGetDataDoubleIlv 95 B 36 TSMWIQGetStreamSingle 96 B 37 TSMWIQGetStreamDouble 98 B 38 TSMWIQGetStreamSingleIlv 98 B 39 TSMWIQGetStreamDoubleIlv 100 B 40 TSMWIQGetResultParam 101 B 41 TSM...

Страница 22: ...es from 30 MHz to 6 GHz a dual channel preselector and an FPGA based software defined architecture offer unsurpassed performance while providing maximum flexibility and future proofness In addition to...

Страница 23: ...screen and on the front and rear panels such as dialog boxes softkeys menus options buttons etc are enclosed by quotation marks KEYS Key names are written in capital letters and enclosed by quotation...

Страница 24: ...s that can be accessed via R S TSMW K1 option Gigabit LAN Interface Measured I Q data from periodic or single measurements are transmitted over the Gigabit LAN interface since the bandwidth of an Ethe...

Страница 25: ...6 32 08 8 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...

Страница 26: ...ut new features see the release notes of the current R S TSMW K1 software version 1 1 2 Previous release The new feature in the previous release was TCP server implemented to transmit GPS NMEA data ov...

Страница 27: ...Bitrate TSMW Sample rate in MS s 2 X Y Z OVal X Number of selected channels on RF 1 Y Number of selected channels on RF 2 Z Number of bits used for the data transfer Possible values are 8 Bit 12 Bit...

Страница 28: ...ind that the MCR simply allows the compiled MATLAB applications to be run Direct access to the corresponding R S TSMW MATLAB functions is only possible with a full MATLAB installation Procedure 1 Inse...

Страница 29: ...Check the Matlab Runtime component if no full version of MATLAB R2007 R2008 is installed optional 6 Click the Next button to continue The Choose Install Location window opens Figure 2 3 Choose Instal...

Страница 30: ...The installation is finished In the menu Start Programs Rohde Schwarz exists a new menu folder for the R S TSMW K1 software with all tools and information about it 2 2 Set the path in MATLAB to the R...

Страница 31: ...ers a wizard to guide you through the uninstall process of the software Procedure 1 Select Start Programs Rohde Schwarz TSMW K1 ver no Uninstall ver no The uninstall wizard window opens Figure 3 1 Uni...

Страница 32: ...WOptions Mode For further information about the fields refer to chapter Structure MeasCtrl on page 27 Structure TSMWOptionson page 38 I Q Demodulation 1 I Q Demodulation 2 Controls the RF signal proce...

Страница 33: ...m structure fields MeasCtrl MeasCtrl FilterType MeasCtrl MeasCtrl FilterID For further information about the fields refer to chapter Structure MeasCtrl on page 27 and Structure FilterSpec on page 37 E...

Страница 34: ...W Digital I Q OUT Allows to stream the digital I Q data over the optional hardware option R S Digital I Q Interface R S TSMW B1 The I Q data could be streamed either over the LAN or the R S Digital I...

Страница 35: ...lication on page 42 Stream measurement Performs continuous measurements The I Q data can be streamed either over the Gigabit LAN Interface or if available over the R S Digital I Q Interface R S TSMW B...

Страница 36: ...means situations occur in which a large number of measurement requests are started that cannot be served at once and therefore have to be delayed If start times are specified for these measurement re...

Страница 37: ...y numbers increase dynamically according to the waiting time observation time If a measurement task does not get at a priority value at creation time the system will attach the lowest possible priorit...

Страница 38: ...ror handling is managed Function MATLAB m file Function C header files Description TSMWInitInterface TSMWInitInterface_c Load and initialize the R S TSMW IQ interface library TSMWIQInterface dll TSMWR...

Страница 39: ...taAvailable TSMWIQDataAvailable_c Check how many measurement results from R S TSMW are available TSMWGetIQResultParam TSMWGetIQResultParam_c Get measurement result parameters TSMWIQGetData TSMWIQGetDa...

Страница 40: ...th of 20 MHz The duration of an I Q recording is determined solely by the size of the hard disk The measured I Q data is transmitted in real time Both online and offline streaming is possible Streamin...

Страница 41: ...ile TSMWIQCloseStreamFile_c Close the streaming file TSMWIQGetStreamSingle TSMWIQGetStreamSingle_c Return the streaming data block in single format TSMWIQGetStreamDouble TSMWIQGetStreamDouble_c Return...

Страница 42: ...atus_c Current status of the GPS server TSMWGPSSendUBX_CFG_INF Send UBX command CFG_INF to TSMW TSMWGPSSendUBX_CFG_MSG Send UBX command CFG_MSG to TSMW TSMWGPSSendUBX_CFG_PRT _AllIn_NMEAOut Send UBX c...

Страница 43: ...I several parameter structures are defined The following sub chapters explain the structures with their fields Additionally the corresponding C structure is mentioned Most C parameters correspond to t...

Страница 44: ...ol field Defines the trigger options RF channel 1 control field Defines specific RF channel 1 control values RF channel 2 control field Defines specific RF channel 2 control values For easier handling...

Страница 45: ...sion 0 2x 8 Bit per complex sample 1 2x 12 Bit per complex sample 2 2x 16 Bit per complex sample 3 2x 20 Bit per complex sample MeasCtrl AttStrategy Specifies the attenuation strategy 0 Manual attenua...

Страница 46: ...s stream Value range 0 15 StreamCtrl StreamBufferSize Specifies the buffer size for streaming in MBs At least 200 MB is recommended StreamCtrl MaxStreamSize Specifies the maximum streaming size in MB...

Страница 47: ...2 3 Both frontends Capacity Requested receiver capacity in The actual percentage a receiver resource will get is given by resources all of capacity of Sum receiver the of Capacity The sum capacity ca...

Страница 48: ...surements that do not use a specific receiver resource class will not be considered for receiver capacity limitation Field s SchedCtrl ResourceID Resource ID of the schedule task SchedCtrl SchedulerTi...

Страница 49: ...f the measurement request Specifies the measurement request ID of periodical measurement request IQPeriod Time period in I Q samples The minimum time period is 1ms 22000 I Q samples IQMinDistance Only...

Страница 50: ...range 2 16 Att 2 Only used if Cmd 5 Change attenuator and preamplifier settings Contain the new attenuator setting for each channel Preamp 2 Only used if Cmd 5 Change attenuator and preamplifier setti...

Страница 51: ...Rising 1 Falling TriggerCtrl TriggerLine 1 Use trigger input 1 2 Use trigger input 2 3 Use trigger on both inputs TriggerCtrl MeasRequestID Only used if Cmd 2 change parameters Specifies the measureme...

Страница 52: ...e If 3 channels are used the downsampling factor has to be at least 3 ChannelCtrl1 Attenuation Specifies the attenuation to use if the parameter is set In auto attenuation mode this is the initial sug...

Страница 53: ...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 unsigned char UseOtherFrontend unsi...

Страница 54: ...sidering a factor of 2 ResultShiftNumber ResultShiftNumber Specifies the number of bits the result is shifted Compensates for the filter gain GroupDelay Specifies the group delay of the current filter...

Страница 55: ...Enable frontend 1 2 Enable frontend 2 3 Enable both frontends AMPS_CH1 Enable the frequency band for RF channel 1 Set to 2 32 1 for all bands amplifiers AMPS_CH2 Enable the frequency band for RF chann...

Страница 56: ...sample s that was actually used Mostly the used sampling rate for a specific filter differs from the requested sample rate This is caused by rounding errors I e For a specific filter the requested sa...

Страница 57: ...0 Not activated 1 Running 2 Finished 3 Stopped because of an error 4 Stopped because maximum file size reached BlockSize Number of samples per streaming block NoOfBlocks Number of received blocks NoO...

Страница 58: ...ription about the streaming file This information is saved with the streaming file NoOfFiles Number of files for this streaming measurement Every time 2GB is reached a new files with increased index n...

Страница 59: ...s it possible to define the center frequency the sampling rate and the measurement filter In this context the measurement filter is used primarily to define the bandwidth to be measured Individual mea...

Страница 60: ...on and measurement setting The following tables list the functionality and the corresponding MATLAB functions of the application Connection Settings Name Description Init Interface Load the R S TSMW I...

Страница 61: ...te 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 redu...

Страница 62: ...ructure Name Description Frequency in MHz Defines the center frequency Field MeasCtrl ChannelCtrl1 Frequency MeasCtrl ChannelCtrl2 Frequency Attenuation Defines the attenuation to use In the auto atte...

Страница 63: ...M functions TSMWIQGetDataInt16 TSMWIQGetDataInt32 TSMWIQGetDataSingle TSMWIQGetDataDouble GetData Transfer the measured data from R S TSMW to the local computer Plot Channel Show results Cont Measure...

Страница 64: ...interface Note this is the only message with a persistence and not written in normal fontweight in a black color Connection in progress to s While the handshaking procedure with the other device conn...

Страница 65: ...xample 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...

Страница 66: ...Streaming Tool dialog window The following table describes the functionality and the corresponding MATLAB functions of the dialog window GPS Configuration Name Description Open GPS Config Dialog Open...

Страница 67: ...name Specifies the streaming file to view M function TSMWIQOpenStreamFile parameter FileName Open stream file Open the streaming file Furthermore information about parameter values is shown inside th...

Страница 68: ...ter Design functions It is possible to check the new designed filter over the View transfers function functionality The black vertical line in the Filter Response window corresponds to Sampling Rate 2...

Страница 69: ...e main window of the MATLAB Demo application The designed filter is available for measure purpose on the current instance of the MATLAB Demo application Export as C Header Export the designed filter t...

Страница 70: ...tion 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...

Страница 71: ...SG M function TSMWGPSSendUBX_CFG_MSG TXT configuration Select the type of messages to transmit over the TXT message ERROR WARNING NOTICE DEBUG TEST configured by the register UBX CFG INF M function TS...

Страница 72: ...entence sent by the GPS receiver TAB A horizontal tab character CR A carriage return character LF A line feed character This format can be saved in a file with network tools like PuTTY http www chiark...

Страница 73: ...w to install refer to chapter Install on page 11 The MCR environment is installed The R S TSMW is successful connected to the PC Procedure Select Start Programs Rohde Schwarz TSMW K1 ver no TSMW Matla...

Страница 74: ...ate a resampling filter The following example demonstrates how to use the TSMW Filter Design Tool to design a user specific resampling filter in order to get a user specific sampling rates In this exa...

Страница 75: ...with the restrictions on low and passband edges the Least squares Lowpass will usually give the best design 3 Enter the parameters For this example as follow see figure a Set the Sampling rate to 11 2...

Страница 76: ...mpling The black line in the transfer function plot shows of the sampling frequency which is the maximum input frequency that does not produce aliasing products In the figure below the marker is set t...

Страница 77: ...the Load from File to load a filter or design a new filter over the Design button To design a new filter see procedure Create a resampling filter 2 Click the Send to TSMW button The filter is transfer...

Страница 78: ...ated b Enter the desired number of measurements for the generation of average results 2 Select from the drop down list box Output Format the desired output width 3 Click the Start button to start the...

Страница 79: ...ate the maximum I Q data rate and compare it to the supported maximum bandwidth of the used computer equipment For more details see Additional Requirements for I Q Streaming on page 10 Procedure 1 Cli...

Страница 80: ...c Enter the number of start samples into the field Number of start sample d Enter the number of samples into the field Number of samples e Click Analyze stream A plot appears to analyze the data f Cl...

Страница 81: ...eaming file appears at the end of the window c Click Export to Worksp The requested number of samples parameters Start sample and Number of samples are exported into the current running MATLAB Workspa...

Страница 82: ...ion to the R S TSMW is released 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 in...

Страница 83: ...with the physical address of the new connected R S TSMW The table still keeps the physical address of the R S TSMW which was connected before Proposal for solution On the computer open a command prom...

Страница 84: ...he field Number of skipped blocks shows an increasable high value of skipped I Q data blocks Possible reason The available hardware is too slow for the I Q data streaming That means that during the tr...

Страница 85: ...eterscorrespondto theC parameters B 1 MeasCtrlTemplate Description This function creates a template for the MeasCtrl structure for double channel MIMO measurements with default values Command syntax M...

Страница 86: ...parameters will be set For a detailed description of the structure refer to chapter Structure MeasCtrl on page 27 Corresponding C command B 3 MeasCtrlTemplate_RF2 Description The function creates a te...

Страница 87: ...ovided R S TSMW Filter Design Tool Command syntax MeasCtrl MeasCtrlTemplate_RF1Stream Parameter s Return value s MeasCtrl Specifies a MeasCtrl structure with default values for RF channel 1 streaming...

Страница 88: ...g C command B 6 TSMWConnect Description Establish a connection to the R S TSMW with the given IP address and given options Command syntax ErrorCode TSMWID TSMWConnect IPAddress TSMWOptions Parameter s...

Страница 89: ...ce has to be already connected before the function TSMWExtRefEnable m is called Command syntax ErrorCode TSMWExtRefEnable TSMWID Enable Parameter s TSMWID Defines the used R S TSMW Enable 1 Enable usa...

Страница 90: ...2 This parameter is optional Return value s NoOfCoeffs Maximum number of FIR filters coefficients The number of FIR filter tabs is given by NoOfCoeffs OvsplFact OvsplFact Selected oversampling factor...

Страница 91: ...t the corresponding error text it calls the function TSMWGetLastError The function returns the error information of the occurred error and resets the error code variable again to zero Variable ErrorCo...

Страница 92: ...f the corresponding stream Return value s ErrorText If no error message exists an empty string is returned Corresponding C command char ErrorText TSMWGetStreamError_c unsigned char StreamID B 12 TSMWG...

Страница 93: ...tion The function enables or disables GPS data subscription from R S TSMW NMEA and UBX GPS data lines will be received from the R S TSMW and are stored in a ring buffer with a predefined size of 20 li...

Страница 94: ...unction gets the oldest available NMEA text in buffer Configure NMEA buffer The number of buffered NMEA text lines can be parameterized by TSMWGPSEnable_c The MATLAB wrapper function TSMWGPSEnable use...

Страница 95: ...sCode 0 the server is not running 1 the server is started and waiting for a client 2 the server is connected to a client 3 an unrecoverable error occurred PortNumber Port number used by the server Cor...

Страница 96: ..._CFG_INF TSMWID TxtError TxtWarning TxtNotice TxtDebug TxtTest Parameter s TSMWID ID of the TSMW TxtError 0 error txt messages disabled otherwise enabled TxtWarning 0 warning txt messages disabled oth...

Страница 97: ...ssage Return value s ErrorCode 0 if no error occures Corresponding C command B 20 TSMWGPSSendUBX_CFG_PRT_AllIn_NMEAOut Description Send UBX command CFG_PRT to the TSMW with the given TSMW ID The confi...

Страница 98: ...d values 200 ms 250 ms 500 ms 1 s 2 s 4 s 8 s Return value s ErrorCode 0 if no error occures Corresponding C command B 22 TSMWGPSSendUBXCmd TSMWID UBXCmd Description Send UBX command to the TSMW with...

Страница 99: ...om the TSMW with the given TSMW ID over LAN Returns zero if successful otherwise error code Command syntax ErrorCode TSMWGPSStartTcpServer TSMWID IpPort Parameter s TSMWID ID of the TSMW IpPort Port u...

Страница 100: ...ee TSMW Matlab IQ Interface Documentary Return value s ErrorCode 0 if no error occures Corresponding C command Int ErrorCode TSMWGPSStopServer_c unsigned short TSMWID B 25 TSMWGPSSync Description The...

Страница 101: ...ed on the TSMW Command syntax ErrorText ErrorCode TSMWInitInterface Parameter s Return value s ErrorText If no error occurs an empty string is returned Otherwise the message text of the error is retur...

Страница 102: ...treamStatus B 28 TSMWIQDataAvailable Description The function returns the number of the available measurement results The value zero is returned when no data is available Command syntax ErrorCode NoOf...

Страница 103: ...0 get parameters of next available measurement data block with lowest measurement request ID TimeOut Defines the time in milliseconds to wait for the measurement response result NoOfSamples Defines th...

Страница 104: ...number of overflows that have occurred during the measurement Calibrated Array of 1 x NoOfChannels The array contains for each channel the calibration information 0 if corresponding measurement settin...

Страница 105: ...ing the measurement 0 if no overflow occurs Otherwise 1 pCalibration Pointer to a short array with NoOfChannels reserved elements The array receives for each channel the calibration information 0 if c...

Страница 106: ...nd 1 and 2 sub channels on frontend 2 mean NoOfChannels 3 Return value s ErrorCode 0 if successful Otherwise the error code is returned IQResultParam Measurement result parameters For information abou...

Страница 107: ...rst frontend The next NoOfSamples data samples correspond to the next sub channel if applicable of the first frontend etc pImag Quadrature data array Ordering as in pReal pScaling Pointer to a short a...

Страница 108: ...Overflow Calibrated TSMWIQGetDataInt32 TSMWID MeasRequestID TimeOut NoOfSamples NoOfChannels Parameter s See TSMWIQGetDataInt16 Return value s See TSMWIQGetDataInt16 Corresponding C command The param...

Страница 109: ...Scaling Overflow Calibrated TSMWIQGetDataSingle TSMWID MeasRequestID TimeOut NoOfSamples NoOfChannels Parameter s See TSMWIQGetDataInt16 Return value s See TSMWIQGetDataInt16 Corresponding C command...

Страница 110: ...QData Scaling Overflow Calibrated TSMWIQGetDataDouble TSMWID MeasRequestID TimeOut NoOfSamples NoOfChannels Parameter s See TSMWIQGetDataInt16 Return value s See TSMWIQGetDataInt16 Corresponding C co...

Страница 111: ...OfSamples NoOfChannels Parameter s See TSMWIQGetDataInt16 Return value s ErrorCode See TSMWIQGetDataInt16 IQResultParam See TSMWIQGetDataInt16 IQData Complex I Q data array Scaling See TSMWIQGetDataIn...

Страница 112: ...unction will delete the corresponding measurement result See also TSMWIQGetDataInt16 Command syntax ErrorCode IQResultParam IQData Scaling Overflow Calibrated TSMWIQGetDataDouble TSMWID MeasRequestID...

Страница 113: ...treaming measurement result into single precision floating point array format The function works for both online streaming and offline streaming Online streaming means processing stream data on the fl...

Страница 114: ...m NoOfChannels Specifies the number of expected channels This has to be equal to the total number of channels the corresponding measurement request covers I e Measuring only on frontend 1 with only 1...

Страница 115: ...nels Parameter s See TSMWIQGetStreamSingle Return value s See TSMWIQGetStreamSingle Corresponding C command int ErrorCode TSMWIQGetStreamDouble_c unsigned char StreamID unsigned int TimeOut TSMW_IQ_RE...

Страница 116: ...f expected samples This has to be equal to the number of samples specified in the measurement request TSMWIQStream NoOfChannels Specifies the number of expected channels This has to be equal to the to...

Страница 117: ...rmat The function works for both online streaming and offline streaming For more details about online and offline streaming see description of TSMWIQGetStreamSingle on page 96 Command syntax ErrorCode...

Страница 118: ...ram MeasRequestID TimeOut Parameter s MeasRequestID Specifies the measurement request ID of the measurement result to wait for If 0 get parameters of next available measurement data block with lowest...

Страница 119: ...he measurement as periodic task defines a trigger when to start and stop the measurement Command syntax ErrorCode MeasRequestID TSMWIQMeasure TSMWID StartTimes MeasCtrl Parameter s TSMWID Specifies th...

Страница 120: ...t64 pStartTimes long NoOfStartTimes TSMW_IQIF_MEAS_CTRL_t pMEAS_CTRL TSMW_IQIF_CH_CTRL_t pCHANNEL_CTRL1 TSMW_IQIF_CH_CTRL_t pCHANNEL_CTRL2 TSMW_IQIF_SCHEDULE_CTRL_t pSchedParam TSMW_IQIF_PERIOD_CTRL_t...

Страница 121: ...long pCoeff unsigned long NoOfCoeffs B 43 TSMWIQPeriodCtrl Description The function sets and modifies the parameters of a periodic measurement request Command syntax ErrorCode TSMWIQPeriodCtrl TSMWID...

Страница 122: ...pling on the R S TSMW an appropriate resampling filter has to be transmitted to the R S TSMW For filter design you might use the provided R S TSMW Filter Design Tool Command syntax ErrorCode TSMWIQSet...

Страница 123: ...channel 2 is performed A streaming measurement on both channels is performed if both fields are present For further information about the fields refer to chapter Structure MeasCtrl on page 27 and prov...

Страница 124: ...Flags B 46 TSMWIQStreamStatus Description The function returns current streaming status Command syntax ErrorCode StreamStatus TSMWIQStreamStatus StreamID Parameter s StreamID Stream ID this file was...

Страница 125: ...tream ID that was specified with function TSMWIQOpenStreamFile on page 103 Return value s ErrorCode 0 if successful Otherwise the error code is returned StreamStatus Streaming status after streaming h...

Страница 126: ..._c B 49 TSMWResourceRequest Description The function requests a receiver resource for a measurement task Therefore enter the resourceID of the resource The value will be entered automatically into the...

Страница 127: ...elds refer to chapter Structure MeasCtrl on page 27 Return value s ErrorCode 0 if successful Otherwise the error code is returned ResourceID Only relevant for IsRequest 0 Returns the resource ID if re...

Страница 128: ...s ErrorCode 0 if successful Otherwise the error code is returned Corresponding C command int ErrorCode TSMWSetDAC_c unsigned short TSMWID short Value B 51 TSMWShutdown Description The function shuts...

Страница 129: ...is returned Corresponding C command int ErrorCode TSMWTGEnable_c unsigned short TSMWID unsigned int Frontends B 53 TSMWTrigger Description The function set and read R S TSMW trigger I O data Command...

Страница 130: ...to high Return value s ErrorCode 0 if successful Otherwise the error code is returned TriggerIn1 Returns the current value of trigger line 1 only if it is if used as input 0 low 1 high TriggerIn2 Ret...

Страница 131: ...t ID to use for measurement Enable 1 Enable subscription 0 Disable subscription Return value s ErrorCode 0 if successful Otherwise the error code is returned Corresponding C command int ErrorCode TSMW...

Страница 132: ...erved for later use 3 Connection successful RxMultiChanSupport 0 Target device supports only 1 channel or multiple channel mode is not compatible with TSMW 1 Targetdevicesupportsacompatiblemultiplecha...

Страница 133: ...tion 44 Installation path 12 Interface 7 MATLAB Component Runtime 11 MATLAB functions 21 MATLAB path environment 13 MCR 11 M functions 21 Offline streaming 96 Online streaming 96 R S TSMW 5 R S TSMW B...

Отзывы: