Rohde & Schwarz SMM-K507 Скачать руководство пользователя страница 44

I/Q over Ethernet (QSFP+) protocol

R&S

®

SMM-K507

44

User Manual 1179.5718.02 ─ 02

A.4

 

Waveform upload command sequences

APPL command

Use the application layer (APPL) command 

APPL-Command (CmdCode= ‚3‘)

 to

send text-based command sequences to the SMW ARB application. For example, use
the APPL command 

„STOP_ARB_AND_SET_ARB_PARAMS:”

.

After this string, insert the waveform header of a waveform file. For example, insert the
following:

"STOP_ARB_AND_SET_ARB_PARAMS:{TYPE:SMU-WV}{COMMENT:
"5G_signal_01.wv"}{SAMPLES:300000000}{CLOCK:7.0e+07}{LEVEL OFFS:
0,0}"

You can set the level offset RMS value and peak value 

LEVEL OFFS: [RMS, PEAK]

.

For more information, see chapter "Tags for waveforms, data and control lists" in the
R&S

 

SMM100A user manual.

The following sections provide examples for waveform upload command sequences in
tables:

"WV transfer with meta data and upload check and ARB restart"

 

on page 44

"WV transfer with meta data and upload check and no ARB restart"

 

on page 44

"WV play stop and start via protocol"

 

on page 45

WV transfer with meta data and upload check and ARB restart

The table shows a command sequence for transferring waveforms with meta data,
checking the waveform upload check and restarting the ARB application.

Seq. No.

Command / frame

Description

(1,1)

APPL command (CmdCode= ‚3‘):

"STOP_ARB_AND_SET_ARB_PARAMS:"

Stops the ARB generator, configures waveform
parameter. Replies with ACK/NAK.

If errors occur, repeat this command.

(1,2)

Ctrl frame

Starts waveform transfer:

"START_WV_TRANSFER"

(1,3)

Data frames

Transfer waveform data.

(1,4)

Ctrl frame

Terminates waveform transfer:

"TRANSFER_FINISHED"

(1,5)

APPL-Command (CmdCode= ‚3‘):

"CHECK_STATE_AND_RESTART_ARB"

If no errors occurred during transfer, the ARB
application restarts and ACK is sent.

If errors occur, the ARB application does not
restart and NAK is sent. Repeat the transfer with
sequence number (1,2) and following.

WV transfer with meta data and upload check and no ARB restart

The table shows a command sequence for transferring waveforms with meta data,
checking the waveform upload check and no restart of the ARB application.

Waveform upload command sequences

Содержание SMM-K507

Страница 1: ...R S SMM K507 ARB Ethernet Upload User Manual 1179571802 Version 02 B2...

Страница 2: ...9 0 Email info rohde schwarz com Internet www rohde schwarz com Subject to change data without tolerance limits is not binding R S is a registered trademark of Rohde Schwarz GmbH Co KG All other trade...

Страница 3: ...s and open source acknowledgment OSA 8 1 4 8 Application notes application cards white papers etc 8 1 5 Scope 8 1 6 Notes on screenshots 8 2 About the ARB ethernet upload option 10 2 1 Required option...

Страница 4: ...ol 38 A 1 UDP IP protocol stack 38 A 1 1 Main specifications 38 A 1 2 OSI model 39 A 1 3 I Q frame and UDP subheader 39 A 1 4 ACK frame 40 A 1 5 Control and data frame types 40 A 2 Waveform file trans...

Страница 5: ...data transfer from a host PC to the R S SMM100A 10 Gbit Ethernet Up to 100 times faster data transfer at up to 9 Gbit s transfer rate 40 Gbit Ethernet Up to 400 times faster data transfer at up to 36...

Страница 6: ...he host PC see Chapter 3 2 Configuring the host PC on page 13 Detailed I Q over Ethernet protocol information including protocol specification and waveform upload flow diagram and upload sequences see...

Страница 7: ...the base unit and the software options All user manuals are also available for download or for immediate display on the Inter net 1 4 3 Service manual Describes the performance test for checking compl...

Страница 8: ...cation smm100a 1 5 Scope Tasks in manual or remote operation that are also performed in the base unit in the same way are not described here In particular it includes Managing settings and data lists...

Страница 9: ...07 9 User Manual 1179 5718 02 02 The screenshots usually show a fully equipped product that is with all options instal led Thus some functions shown in the screenshots may not be available in your par...

Страница 10: ...r compared to waveform upload via the USB or the other I Q connectors I Q and Dig I Q Test setup Figure 2 1 shows a typical test setup including a personal computer PC as waveform source and the R S S...

Страница 11: ...form data sink 8 9 Acknowledgement frames Table 2 1 describes the corresponding sequence of frames sent between the PC to the R S SMM100A The application control frames for sequence event 1 and sequen...

Страница 12: ...hree interface types of the Ethernet card at the host PC to the QSFP interface HS Dig I Q of the R S SMM100A 1 For connection use high quality cables and adapters depending on the interface that you a...

Страница 13: ...r RF SFP RJ45 QSFP RF LAN HS DigIQ LAN Figure 3 1 Test setup with host PC and R S SMM100A For a detailed description of the test setup see Test setup on page 10 3 2 Configuring the host PC This chapte...

Страница 14: ...rger than 500 Msample split the waveform file into waveform sample blocks of about 100 Msample Splitting optimizes the upload performance to read and send waveform data at the same time Note Uploading...

Страница 15: ...tical select Ethernet Mode 40 GbE To connect to the QSFP network The R S SMM100A is configured for ARB Ethernet upload as described in To enable ARB Ethernet upload on page 15 The ARB state is deactiv...

Страница 16: ...he R S SMM100A runs with activated waveform upload as described in To activate waveform upload on page 16 1 In the General tab monitor the status waveform count and additional information on the curre...

Страница 17: ...Uploading waveform files R S SMM K507 17 User Manual 1179 5718 02 02 Activating and monitoring waveform upload...

Страница 18: ...or characteristics of the ARB Ethernet upload The remote commands required to define these settings are described in Chapter 6 Remote control commands on page 26 Settings General settings 18 Statistic...

Страница 19: ...e Sets the mode of the ARB application Standard Standard ARB mode for playing waveform files using the internal baseband source Ethernet Upload Requires R S SMM K507 ARB mode for uploading waveform fi...

Страница 20: ...t Remote command SOURce hw BB ARBitrary ETHernet MODE on page 28 Waveform Info Accesses a dialog that displays further information on uploaded waveforms For information on waveform tags see chapter Ho...

Страница 21: ...X Upload Segments Displays the number of received upload segments Remote command SOURce hw BB ARBitrary ETHernet STATistics RXUSegments on page 33 RX Control Frames Displays the number of received con...

Страница 22: ...etails open the Info Notifications dialog Select System Config Info Notifications History Remote command SOURce hw BB ARBitrary ETHernet STATistics ERRors on page 32 4 3 Local QSFP network settings Ac...

Страница 23: ...n assigned hostname a logical name which can be used instead of the IP address With the default network settings the IP address is allocated by the DHCP server This address can change each time the in...

Страница 24: ...Media Access Control address a unique identifier of the network adapter in the R S SMM100A Remote command SYSTem COMMunicate BB hw QSFP NETWork MACaddress on page 36 Protocol Displays the communicati...

Страница 25: ...rticular the difference of these settings compared to the standard ARB functionality is described Trigger settings For trigger mode Single signal duration is fixed to one sequence length Signal Durati...

Страница 26: ...e baseband signals Only SOURce1 possible if the keyword ENTity is used Programming examples This description provides simple programming examples The purpose of the examples is to present all commands...

Страница 27: ...B Ethernet upload SOURce1 BB ARB STATe 1 Optionally configure trigger settings to specify the start of waveform upload SOURce1 BB ARB TRIGger MODE Response UNCH Marker mode unchanged is set Optionally...

Страница 28: ...et MODE Mode Sets the Ethernet mode for the waveform data upload via the Ethernet connection Parameters Mode M10G M40G M10G 10 Gbit Ethernet mode M40G 40 Gbit Ethernet mode RST M10G Example See Exampl...

Страница 29: ...m Counter on page 20 SOURce hw BB ARBitrary ETHernet WAVeform INFO Queries information about the currently played waveform in a comma separated list The table below list all parameters that are querie...

Страница 30: ...on R S SMM100A PC Example Monitoring ARB Ethernet upload characteristics Query ARB Ethernet upload characteristics in Rx direction SOURce1 BB ARBitrary ETHernet STATistics RXUSegments Response 15790 T...

Страница 31: ...trary ETHernet STATistics RXDFrames 33 SOURce hw BB ARBitrary ETHernet STATistics RXUSegments 33 SOURce hw BB ARBitrary ETHernet STATistics TXRFrames 33 SOURce hw BB ARBitrary ETHernet STATistics ALL...

Страница 32: ...aracteristics on page 30 Usage Query only Manual operation See Occurred Errors on page 22 SOURce hw BB ARBitrary ETHernet STATistics RXCFrames Queries the number of Rx control frames that the R S SMM1...

Страница 33: ...RBitrary ETHernet STATistics RXUSegments Queries the number of Rx upload segments that the R S SMM100A receives from the PC Return values UploadSegments integer RST 0 Example See Example Monitoring AR...

Страница 34: ...NETWork HOSTname Returns the hostname consisting of the R S SMM100A short name the serial number and the connector HS DIG IQx SYSTem COMMunicate BB1 QSFP NETWork IPADdress MODE Response STATic SYSTem...

Страница 35: ...Running Application on page 23 SYSTem COMMunicate BB hw QSFP NETWork COMMon HOSTname Queries an individual hostname for the vector signal generator Note We recommend that you do not change the hostna...

Страница 36: ...e 34 Manual operation See Subnet Mask on page 24 SYSTem COMMunicate BB hw QSFP NETWork MACaddress Queries the MAC address of the network adapter This is a password protected function Unlock the protec...

Страница 37: ...ortNumber integer Range 0 to 65536 RST n a factory preset 49152 Example See Example Configuring the QSFP network on page 34 Manual operation See UDP Port on page 24 6 4 Trigger marker and clock comman...

Страница 38: ...protocol stack offers the following main characteristics Protocol User Datagram Protocol UDP with IP version 4 IPv4 IP addresses Static Primary device client Host PC with 10G 40G Ethernet network card...

Страница 39: ...for upload 3 Network transport UDP IP 2 Data link Ethernet IEEE802 3 1 Physical QSFP 10GbE 40GbE Optical or copper A 1 3 I Q frame and UDP subheader The I Q frame carries 64 bit information divided in...

Страница 40: ...er and ACK frame field Bit number ACK frame fields 0 15 Reserved Default value 0x0200 16 31 Error code OK 0x0000 32 63 Additional state info field The UDP payload is 18 bytes in total This implementat...

Страница 41: ...ates the end of data transfer Use this frame type for example to indicate the end of waveform data transfer C_APPL_DATA 3 8 to 4096 ACK Use this frame type for data exchange in the application layer S...

Страница 42: ...nd Payload code 6 Bits Payload D_WV_SAMPLES 1 n x 32 bits waveform I Q samples 16 bit I value 16 bit Q value n payload size 4 Samples per frame A 2 Waveform file transfer Waveform file and UDP frames...

Страница 43: ...I Q over Ethernet QSFP protocol R S SMM K507 43 User Manual 1179 5718 02 02 A 3 ARB upload flow diagram ARB upload flow diagram...

Страница 44: ...e 44 WV play stop and start via protocol on page 45 WV transfer with meta data and upload check and ARB restart The table shows a command sequence for transferring waveforms with meta data checking th...

Страница 45: ...stop and start via protocol The table shows a command sequence for arbitrary playing waveforms via the protocol without reconfiguring or transferring waveform data again Seq No Command frame Descripti...

Страница 46: ...Frm_t Structure _fields_ frm_cnt c_uint16 flow cntrl counter reserved c_uint8 frm_type c_uint8 frame type command data pld_sz c_uint16 frame payload without header in prt_ver c_uint16 protocol version...

Страница 47: ...read file close sHdr str wvPos wvPosSmpl wv find b WAVEFORM if wvPos 1 empPos wv find b EMPTYTAG if empPos 1 wvPos empPos wvPos wv rfind b 0 wvPos if wvPos 1 sHdr str wv wvPos 1 UTF 8 print HDR sHdr s...

Страница 48: ...mpl samples_128 smplPerFrmMax frm_size 2 while leftSmpl 0 toSend smplPerFrmMax if leftSmpl smplPerFrmMax else leftSmpl leftSmpl toSend frm_cnt 1 dataFrm txFrm_t frm_cnt 0 0x80 toSend 4 0x0100 dataFrm...

Страница 49: ...Glossary Abbreviations R S SMM K507 49 User Manual 1179 5718 02 02 Glossary Abbreviations A ARB Arbitrary waveform generator Q QSFP Quad Small Form factor Pluggable S SFP Small Form factor Pluggable...

Страница 50: ...MMunicate BB hw QSFP NETWork IPADdress SUBNet MASK 36 SOURce hw BB ARBitrary ETHernet MODE 28 SOURce hw BB ARBitrary ETHernet STATistics ALL 31 SOURce hw BB ARBitrary ETHernet STATistics ERRors 32 SOU...

Страница 51: ...mic 24 Zeroconf 24 O Open source acknowledgment OSA 8 Q QSFP network commands Remote control commands 34 QSFP network settings Hostname 23 IP address mode 23 Network IP address 24 Network Mac address...

Отзывы: