Hfb

SCPI Commands :

[SOURce<HW>]:BB:NR5G:HFB:ADJCmd
[SOURce<HW>]:BB:NR5G:HFB:BASeband
[SOURce<HW>]:BB:NR5G:HFB:CONNector
[SOURce<HW>]:BB:NR5G:HFB:CSRate
[SOURce<HW>]:BB:NR5G:HFB:DELay
[SOURce<HW>]:BB:NR5G:HFB:HPNMode
[SOURce<HW>]:BB:NR5G:HFB:LOGPath
[SOURce<HW>]:BB:NR5G:HFB:LOGState
[SOURce<HW>]:BB:NR5G:HFB:MODE
[SOURce<HW>]:BB:NR5G:HFB:PDELay
[SOURce<HW>]:BB:NR5G:HFB:SRATe
[SOURce<HW>]:BB:NR5G:HFB:TAMode
class HfbCls[source]

Hfb commands group definition. 18 total commands, 1 Subgroups, 12 group commands

get_adj_cmd() int[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:ADJCmd
value: int = driver.source.bb.nr5G.hfb.get_adj_cmd()

No command help available

return

init_timing_adj_cm: No help available

get_baseband() int[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:BASeband
value: int = driver.source.bb.nr5G.hfb.get_baseband()

In serial mode, required for multiplexing serial commands for different basebands to one feedback line. See also Example ‘Configuring the ‘Baseband Selector’ for the 2 Tx antenna ports test cases’.

return

fb_baseband: integer Range: 0 to 3

get_connector() RsSmw.enums.FeedbackConnectorAll[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:CONNector
value: enums.FeedbackConnectorAll = driver.source.bb.nr5G.hfb.get_connector()

Sets the feedback line connector.

return

fb_connector: LOCal LOCal T/M 3 connector

get_cs_rate() int[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:CSRate
value: int = driver.source.bb.nr5G.hfb.get_cs_rate()
Defines a custom serial rate.

INTRO_CMD_HELP: Prerequisites for this command

  • Select a custom serial rate ([:SOURce<hw>]:BB:NR5G:HFB:SRATe) .

If you have defined one of the predefined serial rates, the command queries the selected serial rate.

return

custom_ser_rate: No help available

get_delay() float[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:DELay
value: float = driver.source.bb.nr5G.hfb.get_delay()

Sets the point in time when the feedback can be sent to the instrument.

return

fb_user_delay: float Range: -20 to -1.0

get_hpn_mode() bool[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:HPNMode
value: bool = driver.source.bb.nr5G.hfb.get_hpn_mode()

Enables or disables the HARQ process number (HPN) mode. When the ‘HPN Mode’ is set to active, the additional user delay is set to -1.00 Slots and made unchangeable. An additional ‘HARQ Process Number’parameter is accessible in the PUSCH settings (‘PDSCH and PUSCH scheduling commands’) .

return

hpn_mode: 1| ON| 0| OFF

get_log_path() str[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:LOGPath
value: str = driver.source.bb.nr5G.hfb.get_log_path()

Defines the output folder on the device for the log files.

return

log_gen_output_path: string

get_log_state() bool[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:LOGState
value: bool = driver.source.bb.nr5G.hfb.get_log_state()
Enables the R&S SMW to create and store debug reports, i.e. log files with detailed information on the real-time feedback.

INTRO_CMD_HELP: The instrument generates two types of reports:

  • Transmission report

Table Header:

  • This file contains information about what is sent (e.g. redundancy versions) during the first 100 slots after triggering.

  • File is created after the 100 slots are sent.

  • Reception report

Table Header:

  • This file contains information about the first 100 received serial commands.

  • File is created after 100 commands are successfully received.

Use these debug files for troubleshooting of complex real-time feedback tests.

return

log_gen_state: 1| ON| 0| OFF

get_mode() RsSmw.enums.FeedbackModeWithEthernet[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:MODE
value: enums.FeedbackModeWithEthernet = driver.source.bb.nr5G.hfb.get_mode()

Enables real-time feedback and determines the mode of the feedback line.

return

fb_mode: OFF| SERial| S3X8

get_pdelay() float[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:PDELay
value: float = driver.source.bb.nr5G.hfb.get_pdelay()

Sets a delay to the slot to which the timing adjustment command (TA) is applied. For example, if ‘Processing Delay’ is set to -2.00 and the TA is received in slot number 6, after processing, the TA is transmitted in slot number 8. If ‘TA State’ > ‘Off’, the value set for ‘Feedback Delay’ is used for ‘Processing Delay’.

return

processing_delay: float Range: -20 to -1

get_symbol_rate() RsSmw.enums.FeedbackRateAll[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:SRATe
value: enums.FeedbackRateAll = driver.source.bb.nr5G.hfb.get_symbol_rate()

Sets the bit rate of the serial transmission. For test cases with high subcarrier spacing (SCS) and short slot duration, a serial rate of 115.2 kbps is insufficient. We recommend that you use higher serial rate so that at least one feedback command per slot is received.

return

fb_serial_rate: No help available

get_ta_mode() bool[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:TAMode
value: bool = driver.source.bb.nr5G.hfb.get_ta_mode()

Enables timing advance (TA) adjustment for the selected feedback mode. The TA adjustment uses the ‘Processing Delay’ to define a new timing advance value for advancing or delaying the UL transmission.

return

ta_mode: 1| ON| 0| OFF

set_adj_cmd(init_timing_adj_cm: int) None[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:ADJCmd
driver.source.bb.nr5G.hfb.set_adj_cmd(init_timing_adj_cm = 1)

No command help available

param init_timing_adj_cm

No help available

set_baseband(fb_baseband: int) None[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:BASeband
driver.source.bb.nr5G.hfb.set_baseband(fb_baseband = 1)

In serial mode, required for multiplexing serial commands for different basebands to one feedback line. See also Example ‘Configuring the ‘Baseband Selector’ for the 2 Tx antenna ports test cases’.

param fb_baseband

integer Range: 0 to 3

set_connector(fb_connector: RsSmw.enums.FeedbackConnectorAll) None[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:CONNector
driver.source.bb.nr5G.hfb.set_connector(fb_connector = enums.FeedbackConnectorAll.LOCal)

Sets the feedback line connector.

param fb_connector

No help available

set_cs_rate(custom_ser_rate: int) None[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:CSRate
driver.source.bb.nr5G.hfb.set_cs_rate(custom_ser_rate = 1)
Defines a custom serial rate.

INTRO_CMD_HELP: Prerequisites for this command

  • Select a custom serial rate ([:SOURce<hw>]:BB:NR5G:HFB:SRATe) .

If you have defined one of the predefined serial rates, the command queries the selected serial rate.

param custom_ser_rate

integer Range: 1E5 to 25E5

set_delay(fb_user_delay: float) None[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:DELay
driver.source.bb.nr5G.hfb.set_delay(fb_user_delay = 1.0)

Sets the point in time when the feedback can be sent to the instrument.

param fb_user_delay

float Range: -20 to -1.0

set_hpn_mode(hpn_mode: bool) None[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:HPNMode
driver.source.bb.nr5G.hfb.set_hpn_mode(hpn_mode = False)

Enables or disables the HARQ process number (HPN) mode. When the ‘HPN Mode’ is set to active, the additional user delay is set to -1.00 Slots and made unchangeable. An additional ‘HARQ Process Number’parameter is accessible in the PUSCH settings (‘PDSCH and PUSCH scheduling commands’) .

param hpn_mode

1| ON| 0| OFF

set_log_path(log_gen_output_path: str) None[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:LOGPath
driver.source.bb.nr5G.hfb.set_log_path(log_gen_output_path = 'abc')

Defines the output folder on the device for the log files.

param log_gen_output_path

string

set_log_state(log_gen_state: bool) None[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:LOGState
driver.source.bb.nr5G.hfb.set_log_state(log_gen_state = False)
Enables the R&S SMW to create and store debug reports, i.e. log files with detailed information on the real-time feedback.

INTRO_CMD_HELP: The instrument generates two types of reports:

  • Transmission report

Table Header:

  • This file contains information about what is sent (e.g. redundancy versions) during the first 100 slots after triggering.

  • File is created after the 100 slots are sent.

  • Reception report

Table Header:

  • This file contains information about the first 100 received serial commands.

  • File is created after 100 commands are successfully received.

Use these debug files for troubleshooting of complex real-time feedback tests.

param log_gen_state

1| ON| 0| OFF

set_mode(fb_mode: RsSmw.enums.FeedbackModeWithEthernet) None[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:MODE
driver.source.bb.nr5G.hfb.set_mode(fb_mode = enums.FeedbackModeWithEthernet.ETH)

Enables real-time feedback and determines the mode of the feedback line.

param fb_mode

OFF| SERial| S3X8

set_pdelay(processing_delay: float) None[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:PDELay
driver.source.bb.nr5G.hfb.set_pdelay(processing_delay = 1.0)

Sets a delay to the slot to which the timing adjustment command (TA) is applied. For example, if ‘Processing Delay’ is set to -2.00 and the TA is received in slot number 6, after processing, the TA is transmitted in slot number 8. If ‘TA State’ > ‘Off’, the value set for ‘Feedback Delay’ is used for ‘Processing Delay’.

param processing_delay

float Range: -20 to -1

set_symbol_rate(fb_serial_rate: RsSmw.enums.FeedbackRateAll) None[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:SRATe
driver.source.bb.nr5G.hfb.set_symbol_rate(fb_serial_rate = enums.FeedbackRateAll.CUST)

Sets the bit rate of the serial transmission. For test cases with high subcarrier spacing (SCS) and short slot duration, a serial rate of 115.2 kbps is insufficient. We recommend that you use higher serial rate so that at least one feedback command per slot is received.

param fb_serial_rate

R115 | R1M6 | R1M9 115.2 kbps, 1.6 Mbps, 1.92 Mbps CUST Custom serial rate. You can define the serial rate with [:SOURcehw]:BB:NR5G:HFB:CSRate.

set_ta_mode(ta_mode: bool) None[source]
# SCPI: [SOURce<HW>]:BB:NR5G:HFB:TAMode
driver.source.bb.nr5G.hfb.set_ta_mode(ta_mode = False)

Enables timing advance (TA) adjustment for the selected feedback mode. The TA adjustment uses the ‘Processing Delay’ to define a new timing advance value for advancing or delaying the UL transmission.

param ta_mode

1| ON| 0| OFF

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.source.bb.nr5G.hfb.clone()

Subgroups