Huwb

SCPI Commands :

[SOURce<HW>]:BB:HUWB:ASL
[SOURce<HW>]:BB:HUWB:ASN
[SOURce<HW>]:BB:HUWB:BWIDth
[SOURce<HW>]:BB:HUWB:CCCL
[SOURce<HW>]:BB:HUWB:CNUMber
[SOURce<HW>]:BB:HUWB:F2MS
[SOURce<HW>]:BB:HUWB:IINTerval
[SOURce<HW>]:BB:HUWB:OBANd
[SOURce<HW>]:BB:HUWB:PRESet
[SOURce<HW>]:BB:HUWB:SLENgth
[SOURce<HW>]:BB:HUWB:STATe
[SOURce<HW>]:BB:HUWB:STD
class HuwbCls[source]

Huwb commands group definition. 156 total commands, 14 Subgroups, 12 group commands

get_asl() HrpUwbActSegmentLength[source]
# SCPI: [SOURce<HW>]:BB:HUWB:ASL
value: enums.HrpUwbActSegmentLength = driver.source.bb.huwb.get_asl()

Sets the active segment length.

return:

act_seg_length: ASL_16| ASL_32| ASL_64| ASL_128| ASL_256| ASL_512| ASL_1024| ASL_2048

get_asn() HrpUwbActSegmentNum[source]
# SCPI: [SOURce<HW>]:BB:HUWB:ASN
value: enums.HrpUwbActSegmentNum = driver.source.bb.huwb.get_asn()

Sets the number of active segments.

return:

acg_seg_number: ASN_1| ASN_2| ASN_3| ASN_4

get_bandwidth() float[source]
# SCPI: [SOURce<HW>]:BB:HUWB:BWIDth
value: float = driver.source.bb.huwb.get_bandwidth()

Queries the channel bandwidth.

return:

hrp_uwb_band_width: No help available

get_cccl() HrpUwbConvConsLen[source]
# SCPI: [SOURce<HW>]:BB:HUWB:CCCL
value: enums.HrpUwbConvConsLen = driver.source.bb.huwb.get_cccl()

Sets the constraint length of the convolutional code.

return:

cccl: CL3| CL7

get_cnumber() int[source]
# SCPI: [SOURce<HW>]:BB:HUWB:CNUMber
value: int = driver.source.bb.huwb.get_cnumber()

Sets the channel number.

return:

channel_number: integer Range: 0 to 15

get_f_2_ms() bool[source]
# SCPI: [SOURce<HW>]:BB:HUWB:F2MS
value: bool = driver.source.bb.huwb.get_f_2_ms()

Sets the frame length of a generated waveform shorter than 2 ms to a fixed value of 2 ms. If activated, the idle interval is set to 0.0 us by default.

return:

fixed_2_ms_frame: 1| ON| 0| OFF

get_iinterval() float[source]
# SCPI: [SOURce<HW>]:BB:HUWB:IINTerval
value: float = driver.source.bb.huwb.get_iinterval()

Sets the time of the interval separating two frames.

return:

iinterval: float Range: 0 to 1000000, Unit: us

get_oband() ZigbeeOperatingBand[source]
# SCPI: [SOURce<HW>]:BB:HUWB:OBANd
value: enums.ZigbeeOperatingBand = driver.source.bb.huwb.get_oband()

Requires R&S SMW-K180. Sets the operating band for 802.15.4 with O-QPSK modulation.

return:

oper_band: OB780| OB868| OB915| OB2380| OB2450| OB5800| OB6200

get_slength() int[source]
# SCPI: [SOURce<HW>]:BB:HUWB:SLENgth
value: int = driver.source.bb.huwb.get_slength()

Sets the sequence length of the signal in number of frames. The signal is calculated in advance and output in the arbitrary waveform generator. The maximum number of frames is calculated as follows: Max. No. of Frames = Arbitrary waveform memory size/(sampling rate x 10 ms) .

return:

slength: integer Range: 1 to 1024

get_state() bool[source]
# SCPI: [SOURce<HW>]:BB:HUWB:STATe
value: bool = driver.source.bb.huwb.get_state()

Activates the standard and deactivates all the other digital standards and digital modulation modes in the same path.

return:

hrp_uwb_state: 1| ON| 0| OFF

get_std() HrpUwbMode[source]
# SCPI: [SOURce<HW>]:BB:HUWB:STD
value: enums.HrpUwbMode = driver.source.bb.huwb.get_std()

Sets the 802.15.4 mode.

return:

mode: NONHRP| BPRF| HPRF| OQPSK| SYNSFD NONHRP Enables HRP non-ERDEV mode. BPRF Enables HRP-ERDEV base pulse repetition frequency (BPRF) mode. HPRF Enables HRP-ERDEV higher pulse repetition frequency (HPRF) mode. OQPSK Requires R&S SMW-K180. Enables 802.15.4 with O-QPSK modulation mode. SYNSFD Enables SYN+SFD mode. The SYN packet and the SFD packet without the DATA part is sent.

preset() None[source]
# SCPI: [SOURce<HW>]:BB:HUWB:PRESet
driver.source.bb.huwb.preset()

Sets the parameters of the digital standard to their default values (*RST values specified for the commands) . Not affected is the state set with the command SOURce<hw>:BB:HUWB:STATe.

preset_with_opc(opc_timeout_ms: int = -1) None[source]
# SCPI: [SOURce<HW>]:BB:HUWB:PRESet
driver.source.bb.huwb.preset_with_opc()

Sets the parameters of the digital standard to their default values (*RST values specified for the commands) . Not affected is the state set with the command SOURce<hw>:BB:HUWB:STATe.

Same as preset, but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout_set() to set the timeout value.

param opc_timeout_ms:

Maximum time to wait in milliseconds, valid only for this call.

set_asl(act_seg_length: HrpUwbActSegmentLength) None[source]
# SCPI: [SOURce<HW>]:BB:HUWB:ASL
driver.source.bb.huwb.set_asl(act_seg_length = enums.HrpUwbActSegmentLength.ASL_1024)

Sets the active segment length.

param act_seg_length:

ASL_16| ASL_32| ASL_64| ASL_128| ASL_256| ASL_512| ASL_1024| ASL_2048

set_asn(acg_seg_number: HrpUwbActSegmentNum) None[source]
# SCPI: [SOURce<HW>]:BB:HUWB:ASN
driver.source.bb.huwb.set_asn(acg_seg_number = enums.HrpUwbActSegmentNum.ASN_1)

Sets the number of active segments.

param acg_seg_number:

ASN_1| ASN_2| ASN_3| ASN_4

set_cccl(cccl: HrpUwbConvConsLen) None[source]
# SCPI: [SOURce<HW>]:BB:HUWB:CCCL
driver.source.bb.huwb.set_cccl(cccl = enums.HrpUwbConvConsLen.CL3)

Sets the constraint length of the convolutional code.

param cccl:

CL3| CL7

set_cnumber(channel_number: int) None[source]
# SCPI: [SOURce<HW>]:BB:HUWB:CNUMber
driver.source.bb.huwb.set_cnumber(channel_number = 1)

Sets the channel number.

param channel_number:

integer Range: 0 to 15

set_f_2_ms(fixed_2_ms_frame: bool) None[source]
# SCPI: [SOURce<HW>]:BB:HUWB:F2MS
driver.source.bb.huwb.set_f_2_ms(fixed_2_ms_frame = False)

Sets the frame length of a generated waveform shorter than 2 ms to a fixed value of 2 ms. If activated, the idle interval is set to 0.0 us by default.

param fixed_2_ms_frame:

1| ON| 0| OFF

set_iinterval(iinterval: float) None[source]
# SCPI: [SOURce<HW>]:BB:HUWB:IINTerval
driver.source.bb.huwb.set_iinterval(iinterval = 1.0)

Sets the time of the interval separating two frames.

param iinterval:

float Range: 0 to 1000000, Unit: us

set_oband(oper_band: ZigbeeOperatingBand) None[source]
# SCPI: [SOURce<HW>]:BB:HUWB:OBANd
driver.source.bb.huwb.set_oband(oper_band = enums.ZigbeeOperatingBand.OB2380)

Requires R&S SMW-K180. Sets the operating band for 802.15.4 with O-QPSK modulation.

param oper_band:

OB780| OB868| OB915| OB2380| OB2450| OB5800| OB6200

set_slength(slength: int) None[source]
# SCPI: [SOURce<HW>]:BB:HUWB:SLENgth
driver.source.bb.huwb.set_slength(slength = 1)

Sets the sequence length of the signal in number of frames. The signal is calculated in advance and output in the arbitrary waveform generator. The maximum number of frames is calculated as follows: Max. No. of Frames = Arbitrary waveform memory size/(sampling rate x 10 ms) .

param slength:

integer Range: 1 to 1024

set_state(hrp_uwb_state: bool) None[source]
# SCPI: [SOURce<HW>]:BB:HUWB:STATe
driver.source.bb.huwb.set_state(hrp_uwb_state = False)

Activates the standard and deactivates all the other digital standards and digital modulation modes in the same path.

param hrp_uwb_state:

1| ON| 0| OFF

set_std(mode: HrpUwbMode) None[source]
# SCPI: [SOURce<HW>]:BB:HUWB:STD
driver.source.bb.huwb.set_std(mode = enums.HrpUwbMode.BPRF)

Sets the 802.15.4 mode.

param mode:

NONHRP| BPRF| HPRF| OQPSK| SYNSFD NONHRP Enables HRP non-ERDEV mode. BPRF Enables HRP-ERDEV base pulse repetition frequency (BPRF) mode. HPRF Enables HRP-ERDEV higher pulse repetition frequency (HPRF) mode. OQPSK Requires R&S SMW-K180. Enables 802.15.4 with O-QPSK modulation mode. SYNSFD Enables SYN+SFD mode. The SYN packet and the SFD packet without the DATA part is sent.

Cloning the Group

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

Subgroups